public class AttributeValueDeleteCmdImpl extends ControllerCommandImpl implements AttributeValueDeleteCmd
AttributeValueDeleteCmd
is a URL and Controller Command that:
CatalogEntryDeleteCmd
for all the items associated with the deleting attribute value.
CatalogEntryDeleteCmd
to delete the item
AttributeValue
DeleteAttributeValueCmd
attrvalueId
, or catentryId
descLangId
, URLModifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.AttributeValueDeleteCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Constructor and Description |
---|
AttributeValueDeleteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAttributeId()
Get the attribute Id
|
java.lang.Long |
getAttrvalueId()
Get the attribute value Id
|
java.lang.Long |
getCatentryId()
Get the catalog entry Id
|
java.lang.Integer |
getDescLanguage()
Get the description language for the attribute value
|
java.lang.Integer |
getForce()
Get the force delete option for the attribute value.
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
AttributeValueDelete command. |
void |
reset()
This method reset all the variables used in
AttributeValueDelete command |
void |
setAttributeId(java.lang.Long anAttributeId)
Set the attribute Id
|
void |
setAttrvalueId(java.lang.Long anAttrvalueId)
Set the attribute value Id
|
void |
setCatentryId(java.lang.Long anCatentryId)
Set a catalog entry Id
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Set the language Id of the attribute value
|
void |
setForce(java.lang.Integer anForce)
Set the force delete option for the attribute value.
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
AttributeValueDelete command |
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
AttributeValueDelete 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 java.lang.Long getAttributeId()
getAttributeId
in interface AttributeValueDeleteCmd
public java.lang.Long getAttrvalueId()
getAttrvalueId
in interface AttributeValueDeleteCmd
public java.lang.Long getCatentryId()
getCatentryId
in interface AttributeValueDeleteCmd
public java.lang.Integer getDescLanguage()
public java.lang.Integer getForce()
public java.lang.String getURL()
public void performExecute() throws ECException
AttributeValueDelete
command.
This method calls the DeleteAttributeValueCmd
task command and then sets the attribute value ID, attribute ID, and language in the response properties.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AttributeValueDelete
commandreset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAttributeId(java.lang.Long anAttributeId)
setAttributeId
in interface AttributeValueDeleteCmd
anAttributeId
- java.lang.Longpublic void setAttrvalueId(java.lang.Long anAttrvalueId)
setAttrvalueId
in interface AttributeValueDeleteCmd
anAttrvalueId
- java.lang.Longpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface AttributeValueDeleteCmd
anCatentryId
- java.lang.Longpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface AttributeValueDeleteCmd
anDescLanguage
- java.lang.Integerpublic void setForce(java.lang.Integer anForce)
setForce
in interface AttributeValueDeleteCmd
anForce
- java.lang.Integerpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
AttributeValueDelete
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 AttributeValueDeleteCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
AttributeValueDelete
commandvalidateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException