java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.interestitems.commands.InterestItemDeleteCmdImpl
The InterestItemDelete command deletes items from one or more interest item lists.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The fully qualified name of this class. |
static java.lang.String |
COPYRIGHT The internal copyright field. |
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.interestitems.commands. InterestItemDeleteCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
InterestItemDeleteCmdImpl() No value constructor. |
Method Summary | |
---|---|
void |
checkIsAllowed(
AccessVector resource, java.lang.String action) Check to see if user can perform action on resource. |
java.lang.Long[] |
getResourceOwners() Returns all the organization unit that owns the resources accessed by this command.It will return null if no resource is being accessed by this command. |
boolean |
isReadyToCallExecute() This method is called by the Targettable Command frame work before the execution of the command. |
void |
performExecute() Contains the actual business logic of the command It should be implemented by all the command writer. |
void |
reset() This method should be called after a command has been executed to reset its states variables. |
void |
setCatEntryId(java.lang.String[] asaCatEntryId) Specifies either "*" or zero or more reference numbers of products or items (from the CATENTRY_ID column in the IITEM table, ) to delete from the interest list(s) specified by ListId. |
void |
setListId(java.lang.String[] asaListId) Specifies zero or more interest item lists from which to be deleted. |
void |
setListIdName(java.lang.String[] asaListIdName) Specifies the names of name-value pairs to be added to the redirection URL. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the request properties. |
void |
validateParameters() Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
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,
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,
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
Constructor Detail |
---|
public InterestItemDeleteCmdImpl()
Method Detail |
---|
public void checkIsAllowed(AccessVector resource, java.lang.String action) throws ECException
resource
- AccessVector - the resource to be acted onaction
- String - action to be performed on the resourceECException
public java.lang.Long[] getResourceOwners() throws ECException
AccCommand
getResourceOwners
in interface
AccCommand
getResourceOwners
in class
ControllerCommandImpl
ECException
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
ECCommand
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setCatEntryId(java.lang.String[] asaCatEntryId)
setCatEntryId
in interface
InterestItemDeleteCmd
asaCatEntryId
- the array of catalog entry
idpublic void setListId(java.lang.String[] asaListId)
setListId
in interface
InterestItemDeleteCmd
asaListId
- the ListIdpublic void setListIdName(java.lang.String[] asaListIdName)
setListIdName
in interface
InterestItemDeleteCmd
asaListIdName
- the array of namespublic void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
ControllerCommand
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
aRequestProperties
- request properties
ECApplicationException
public void validateParameters() throws ECException
ECCommand
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException