public class CatalogGroupDeleteCmdImpl extends ControllerCommandImpl implements CatalogGroupDeleteCmd
CatalogGroupDeleteCmd is a URL and controller command that:
CatGroupId, or MemberId and Identifier
CatGroupId, or MemberId and Identifier
CatalogGroupAccessBean, CatalogGroupDescrptionAccessBean
CatalogGroupAccessBean, CatalogGroupDescriptionAccessBean
DeleteCatalogGroupCmd.catgroupId, or identifier.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogGroupDeleteCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
CatalogGroupDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatgroupId()
Get the catalog group Id
|
java.lang.Integer |
getForce()
Get the force delete option for the catalog group
|
java.lang.String |
getIdentifier()
Get the identifier for the catalog group
|
java.sql.Timestamp |
getLastupdate()
Get last update time of the catalog group
|
java.lang.Integer |
getMarkfordelete()
Get the mark for delete value for the catalog group
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
CatalogGroupDelete command. |
void |
productSetSynchronization()
This method synchronize the product set
|
void |
reset()
This method reset all the variables used in
CatalogGroupDelete command |
void |
setCatgroupId(java.lang.Long anCatgroupId)
Set catalog group Id
|
void |
setForce(java.lang.Integer anForce)
Set the force delete option for the catalog group
|
void |
setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog group
|
void |
setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
|
void |
setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag for the catalog group
0 = catalog group not mark for delete
1 = catalog group marked for delete
|
void |
setMemberId(java.lang.Long anMemberId)
Set the owner Id of the catalog group
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
CatalogGroupDelete command. |
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
CatalogGroupDelete 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 getCatgroupId()
getCatgroupId in interface CatalogGroupDeleteCmdpublic java.lang.Integer getForce()
public java.lang.String getIdentifier()
getIdentifier in interface CatalogGroupDeleteCmdpublic java.sql.Timestamp getLastupdate()
public java.lang.Integer getMarkfordelete()
public java.lang.String getURL()
public void performExecute()
throws ECException
CatalogGroupDelete command.
This method calls the DeleteCatalogGroupCmd task command, and then the sets the catalog group ID in the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void productSetSynchronization()
throws ECException
ECExceptionpublic void reset()
CatalogGroupDelete commandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId in interface CatalogGroupDeleteCmdanCatgroupId - java.lang.Longpublic void setForce(java.lang.Integer anForce)
setForce in interface CatalogGroupDeleteCmdanForce - java.lang.Integerpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier in interface CatalogGroupDeleteCmdastrIdentifier - java.lang.Stringpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
setLastupdate in interface CatalogGroupDeleteCmdatmLastupdate - java.sql.Timestamppublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete in interface CatalogGroupDeleteCmdanMarkfordelete - java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId in interface CatalogGroupDeleteCmdanMemberId - java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
CatalogGroupDelete command.setRequestProperties 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 CatalogGroupDeleteCmdastrURL - java.lang.Stringpublic void validateParameters()
throws ECException
CatalogGroupDelete commandvalidateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException