public class DeleteAuctionStyleCmdImpl extends ToolsControllerCommandImpl implements DeleteAuctionStyleCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
DeleteAuctionStyleCmdImpl()
DeleteAuctionStyleCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getAuctionStyleList()
Gets the list of auction styles.
|
java.util.Hashtable |
getErrorContent()
Returns a hashtable of error codes.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
Loops through the list of auction styles and deletes them.
|
void |
setAuctionStyleList(java.util.Vector newAuctionStyleList)
Sets the list of auction styles.
|
void |
setErrorContent(java.util.Hashtable newErrorContent)
Stores the hashtable of error codes.
|
void |
setRequestProperties(TypedProperty prop)
Copies key-value input data into member fields.
|
getViewInputProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, 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, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public DeleteAuctionStyleCmdImpl()
public java.util.Vector getAuctionStyleList()
public java.util.Hashtable getErrorContent()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if any errors are encountered.public void setAuctionStyleList(java.util.Vector newAuctionStyleList)
setAuctionStyleList
in interface DeleteAuctionStyleCmd
newAuctionStyleList
- A vector containing the list of auction styles.public void setErrorContent(java.util.Hashtable newErrorContent)
newErrorContent
- The hashtable of error codes.public void setRequestProperties(TypedProperty prop) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ToolsControllerCommandImpl
ECApplicationException
- is raises with message ERR_TOOLS_BAD_AUCTION_STYLE_LIST when the auction style is not valid.ECApplicationException
- if any error are encountered.public AccessVector getResources() throws ECException
The default implementation returns null indicating that no protectable resource is accessed by this command. It is the responsibilities of the command writer to return the protectable primary resource(s) and the corresponding actions accessed by this command.
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- if any problems are encountered.