public class TopCatalogGroupAddCmdImpl extends ControllerCommandImpl implements TopCatalogGroupAddCmd
TopCatalogGroupAddCmd is a URL and controller command that adds a relationship between a catalog and a
catalog group for the top category.
Parameters:
CatalogCatalogGroupRelationAccessBean
AddCattogrpCmd | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.TopCatalogGroupAddCmdImpl
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
TopCatalogGroupAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog to catalog group relationship
|
java.lang.Long |
getCatgroupId()
Get the Catalog Group Id for the catalog to catalog group relationship
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
TopCatalogGroupAdd command. |
void |
reset()
This method reset all the variables used in
TopCatalogGroupAdd command |
void |
setCatalogId(java.lang.Long anCatalogId)
Set a catalog Id for the catalog to top catalog group relationship
|
void |
setCatgroupId(java.lang.Long anCatgroupId)
Set a catalog group Id for the catalog to top catalog group relationship
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
TopCatalogGroupAdd command |
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
TopCatalogGroupAdd command |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getCatalogId()
getCatalogId in interface TopCatalogGroupAddCmdpublic java.lang.Long getCatgroupId()
getCatgroupId in interface TopCatalogGroupAddCmdpublic java.lang.String getURL()
public void performExecute()
throws ECException
TopCatalogGroupAdd command.
This method first calls the AddCattogrpCmd task command, and then sets the catalog ID and catalog group ID in the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
TopCatalogGroupAdd commandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface TopCatalogGroupAddCmdanCatalogId - jav.lang.Longpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId in interface TopCatalogGroupAddCmdanCatgroupId - java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
TopCatalogGroupAdd commandsetRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void setURL(java.lang.String astrURL)
setURL in interface TopCatalogGroupAddCmdastrURL - java.lang.Stringpublic void validateParameters()
throws ECException
TopCatalogGroupAdd commandvalidateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException