public class CatGroupRelDeleteCmdImpl extends ControllerCommandImpl implements CatGroupRelDeleteCmd
CatGroupRelDeleteCmd is a URL and controller command that:
synchronizeProductSet parameter is true (default).
CatalogId, CatGroupIdParent, CatGroupIdChild
CatalogId, CatGroupIdParent=*, CatGroupIdChild
CatalogId, CatGroupIdParent, CatGroupIdChild=*
CatalogGroupRelationshipAccessBean
CatalogGroupRelationshipAccessBean
CatalogGroupRelationshipAccessBean
DeleteCatgrprelCmd catalogId, catgroupIdParent, catgroupIdChild, masterCatalog. | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatGroupRelDeleteCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
java.lang.Boolean |
GENERIC_CATGROUP_ID_CHILD |
java.lang.Boolean |
GENERIC_CATGROUP_ID_PARENT |
static java.lang.String |
GENERIC_SYMBOL |
defaultCommandClassName| Constructor and Description |
|---|
CatGroupRelDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog group to catalog group relationship
|
java.lang.Long |
getCatgroupIdChild()
Get the child catalog group Id for the catalog group to catalog group relationship
|
java.lang.Long |
getCatgroupIdParent()
Get the parent catalog group Id for the catalog group to catalog group relationship
|
boolean |
getSynchronizeProductSets()
Get the synchronize attribute
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
CatGroupRelDelete command. |
void |
reset()
This method reset all the variables used in
CatGroupRelDelete command. |
void |
setCatalogId(java.lang.Long anCatalogId)
Set a catalog Id for the catalog group to catalog group relationship
|
void |
setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
Set a child catalog group Id for the catalog group to catalog group relationship
|
void |
setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
Set a parent catalog group Id for the catalog group to catalog group relationship
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
CatGroupRelDelete command. |
void |
setSynchronizeProductSets(boolean synchronizeProductSets)
Set the synchronize attribute
|
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
CatGroupRelDelete 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 static final java.lang.String GENERIC_SYMBOL
public java.lang.Boolean GENERIC_CATGROUP_ID_PARENT
public java.lang.Boolean GENERIC_CATGROUP_ID_CHILD
public java.lang.Long getCatalogId()
getCatalogId in interface CatGroupRelDeleteCmdpublic java.lang.Long getCatgroupIdChild()
getCatgroupIdChild in interface CatGroupRelDeleteCmdpublic java.lang.Long getCatgroupIdParent()
getCatgroupIdParent in interface CatGroupRelDeleteCmdpublic java.lang.String getURL()
public boolean getSynchronizeProductSets()
getSynchronizeProductSets in interface CatGroupRelDeleteCmdpublic void performExecute()
throws ECException
CatGroupRelDelete command.
This method calls the DeleteCatgrprelCmd task command, and then sets the catalog ID, catalog group parent ID, and catalog group child ID in the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
CatGroupRelDelete command.reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface CatGroupRelDeleteCmdanCatalogId - java.lang.Longpublic void setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
setCatgroupIdChild in interface CatGroupRelDeleteCmdanCatgroupIdChild - java.lang.Longpublic void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
setCatgroupIdParent in interface CatGroupRelDeleteCmdanCatgroupIdParent - java.lang.Longpublic void setURL(java.lang.String astrURL)
setURL in interface CatGroupRelDeleteCmdastrURL - java.lang.Stringpublic void setSynchronizeProductSets(boolean synchronizeProductSets)
setSynchronizeProductSets in interface CatGroupRelDeleteCmdsynchronize - booleanpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
CatGroupRelDelete command.setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void validateParameters()
throws ECException
CatGroupRelDelete command.validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException