public class PolicyDescriptionDeleteCmdImpl extends com.ibm.commerce.command.ControllerCommandImpl implements PolicyDescriptionDeleteCmd
PolicyDescriptionDeleteCmd
controller command.
| Name | Description |
|---|---|
LanguageId |
The ID of the language of the description to be deleted. Mandatory. |
PolicyId |
The ID of the business policy which the description belongs to. Mandatory. |
RequestProperties |
The request properties. Possible values include: policyId, langId. Optional. |
| Name | Description |
|---|---|
Resources |
The access vector accessed by this command. |
BusinessPolicyAccessBeanPolicyDescriptionAccessBean| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
PolicyDescriptionDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.accesscontrol.AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setLanguageId(java.lang.Integer langId)
Sets ID of the language of the description to be deleted
|
void |
setPolicyId(java.lang.Long policyId)
Sets ID of the business policy which the description belongs to
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void |
validateParameters()
Checks the input parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, 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, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiescheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public com.ibm.commerce.accesscontrol.AccessVector getResources()
throws com.ibm.commerce.exception.ECException
getResources in interface com.ibm.commerce.command.ECCommandgetResources in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECExceptionAbstractECTargetableCommand.getResources()public void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECExceptionAbstractECTargetableCommand.performExecute()public void setLanguageId(java.lang.Integer langId)
setLanguageId in interface PolicyDescriptionDeleteCmdlangId - the language IDpublic void setPolicyId(java.lang.Long policyId)
setPolicyId in interface PolicyDescriptionDeleteCmdpolicyId - the business policy IDpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperties)
throws com.ibm.commerce.exception.ECApplicationException
setRequestProperties in interface com.ibm.commerce.command.ControllerCommandsetRequestProperties in class com.ibm.commerce.command.ControllerCommandImplaRequestProperties - An TypedProperty object contains the input parameters.
For this default implementation, the following parameter are required parameters: policyId, langId.com.ibm.commerce.exception.ECApplicationException - Raised with message _ERR_MISSING_CMD_PARAMETER if one of the these required parameters are missing.ControllerCommandImpl.setRequestProperties(TypedProperty)public void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException - Raised with message _ERR_BUSINESS_POLICY_OBJECT_NOT_FOUND if the provided policy ID cannot be found.AbstractECTargetableCommand.validateParameters()