public class InterestItemListDeleteCmdImpl extends ControllerCommandImpl implements InterestItemListDeleteCmd
InterestItemListDelete
deletes the specified interest item lists
and all items in them.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The fully qualified name of this class.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
InterestItemListDeleteCmdImpl()
No value constructor.
|
Modifier and Type | Method and Description |
---|---|
AccessVector |
getResources()
This method gets the access vector accessed by this command.
|
boolean |
isReadyToCallExecute()
This method is called by the targetable command framework.
|
void |
performExecute()
The main program for
InterestItemListDelete command. |
void |
reset()
This method is called after a command has been executed.
|
void |
setListId(java.lang.String[] asaListId)
Specifies zero or more interest item lists 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)
This method sets the
requestProperties for the command. |
void |
validateParameters()
This method performs server side parameter checking.
|
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, getStoreId, getUser, getUserId, 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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public InterestItemListDeleteCmdImpl()
public AccessVector getResources() throws ECException
AbstractECTargetableCommand
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
AccessVector
object of resource/action pairs.ECException
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
true
.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
boolean
value; true
if we can execute the
command and false
otherwise. This default implementation will return true
.public void performExecute() throws ECException
InterestItemListDelete
command.
This method deletes interest item lists.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setListId(java.lang.String[] asaListId)
GetCurrentIILists
process task is
invoked to obtain the shopper's current interest item lists.
The command behaves as if the current interest item lists
were specified. If GetCurrentIILists
process task determines
that there are no current interest item lists; the most recently
updated item interest item list is used.
If "*" is specified, the command behaves as if all shopper's
interest item lists were specified.
If a specified interest item list no longer exists, it is not deleted.setListId
in interface InterestItemListDeleteCmd
asaListId
- the ListId
public void setListIdName(java.lang.String[] asaListIdName)
ListId
This is provided
to make it possible to obtain the reference numbers of the interest
lists when ListId
is not explicitly specified.setListIdName
in interface InterestItemListDeleteCmd
asaListIdName
- the array of namespublic void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
ControllerCommandImpl
requestProperties
for the command. The WebController
calls the setRequestProperties
method before invoking the execute method for this command.
It is the responsibility of the command writer to extract the
required input parameters from the requestProperties
object.setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperties
- This is an object that represents the request properties.ECApplicationException
public void validateParameters() throws ECException
AbstractECTargetableCommand
checkParameters()
method from version 5.1.
The default implementation of validateParameters()
is a no op
.
It is the responsibility of the command writers to implement this method if they want to perform
server side parameter checking.validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException