public class CatalogDeleteCmdImpl extends ControllerCommandImpl implements CatalogDeleteCmd
CatalogDeleteCmd
is a URL and Controller Command that:
CatalogAccessBean
CatalogDescriptionAccessBean
DeleteCatalogCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogDeleteCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Constructor and Description |
---|
CatalogDeleteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatalogId()
Gets the catalog Id.
|
java.lang.String |
getIdentifier()
Gets the identifier of the catalog.
|
java.lang.String |
getURL()
Gets the redirect URL.
|
void |
performExecute()
Deletes a catalog.
|
void |
reset()
Reset all the variables.
|
void |
setCatalogId(java.lang.Long anCatalogId)
Sets the catalog Id.
|
void |
setIdentifier(java.lang.String astrIdentifier)
Sets the identifier of the catalog.
|
void |
setMemberId(java.lang.Long anMemberId)
Sets the owner Id of the catalog.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
void |
validateParameters()
Validates the input parameters.
|
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 java.lang.Long getCatalogId()
getCatalogId
in interface CatalogDeleteCmd
public java.lang.String getIdentifier()
getIdentifier
in interface CatalogDeleteCmd
public java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface CatalogDeleteCmd
anCatalogId
- java.lang.Longpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface CatalogDeleteCmd
astrIdentifier
- catalog identifierpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface CatalogDeleteCmd
anMemberId
- owner of the catalogpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
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 CatalogDeleteCmd
astrURL
- redirect URLpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException