public class TopCatalogGroupDeleteCmdImpl extends ControllerCommandImpl implements TopCatalogGroupDeleteCmd
TopCatalogGroupDeleteCmd
is a URL and controller command that:
CatalogId
, CatGroupId
CatalogId=*
, CatGroupId
CatalogId
, CatGroupId=*
CatalogCatalogGroupRelationAccessBean
CatalogCatalogGroupRelationAccessBean
CatalogCatalogGroupRelationAccessBean
DeleteCattogrpCmd
catalogId
, catgroupId
(one of the mandatory can be = *). Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.TopCatalogGroupDeleteCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
java.lang.Boolean |
GENERIC_CATALOG_ID
The generic catalog ID constant value
|
java.lang.Boolean |
GENERIC_CATGROUP_ID
The generic catgroup group ID constant value
|
static java.lang.String |
GENERIC_SYMBOL
The generic symbol constant value
|
defaultCommandClassName
Constructor and Description |
---|
TopCatalogGroupDeleteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog to top catalog group relationship
|
java.lang.Long |
getCatgroupId()
Get the catalog group Id for the catalog to top catalog group relationship
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
TopCatalogGroupDelete command. |
void |
reset()
This method reset all the variables used in
TopCatalogGroupDelete command |
void |
setCatalogId(java.lang.Long anCatalogId)
Set the catalog Id for the catalog to top catalog group relationship
|
void |
setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id for the catalog to top catalog group relationship
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
TopCatalogGroupDelete command |
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
TopCatalogGroupDelete command |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public 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_CATALOG_ID
public java.lang.Boolean GENERIC_CATGROUP_ID
public java.lang.Long getCatalogId()
getCatalogId
in interface TopCatalogGroupDeleteCmd
public java.lang.Long getCatgroupId()
getCatgroupId
in interface TopCatalogGroupDeleteCmd
public java.lang.String getURL()
public void performExecute() throws ECException
TopCatalogGroupDelete
command.
This method first calls the DeleteCattogrpCmd
task command, and then sets the catalog ID, and catalog group ID in the response properties.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
TopCatalogGroupDelete
commandreset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface TopCatalogGroupDeleteCmd
anCatalogId
- java.lang.Longpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId
in interface TopCatalogGroupDeleteCmd
anCatgroupId
- java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
TopCatalogGroupDelete
commandsetRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- This is an object that represents the request properties.ECApplicationException
public void setURL(java.lang.String astrURL)
setURL
in interface TopCatalogGroupDeleteCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
TopCatalogGroupDelete
commandvalidateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException