java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.AttributeValueDeleteCmdImpl
Implementation for AttributeValueDelete command which is the URL command for deleting an Attribute Value
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME |
static java.lang.String |
COPYRIGHT |
protected
java.lang.Long |
inAttributeId |
protected
java.lang.Long |
inAttrvalueId |
protected
java.lang.Long |
inCatentryId |
protected
java.lang.Integer |
inDescLanguage |
protected
java.lang.Integer |
inForce |
protected
java.lang.String |
istrURL |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
AttributeValueDeleteCmdImpl() |
Method Summary | |
---|---|
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 The force delete option is used to determine if the catalog entry associated with the attribute value is to be deleted or marked for deletion. |
void |
setRequestProperties(
TypedProperty reqParms) This method obtain 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 |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected java.lang.Long inAttributeId
protected java.lang.Long inAttrvalueId
protected java.lang.Long inCatentryId
protected java.lang.Integer inDescLanguage
protected java.lang.Integer inForce
Constructor Detail |
---|
public AttributeValueDeleteCmdImpl()
Method Detail |
---|
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
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
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
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void setURL(java.lang.String astrURL)
setURL
in interface
AttributeValueDeleteCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException