public class ExecuteSpecifiedCommandForHostedStoresCmdImpl extends com.ibm.commerce.command.ControllerCommandImpl implements ExecuteSpecifiedCommandForHostedStoresCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ExecuteSpecifiedCommandForHostedStoresCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCmdName()
Returns the name of the command to execute.
|
java.util.Hashtable |
getInventoryCmdSet()
Returns the hashtable of accepted inventory commands.
|
java.lang.String[] |
getStoreType()
Returns the set of additional storeType.
|
java.util.Hashtable |
getStoreTypesSet()
Returns the set of accepted storeTypes.
|
boolean |
isValidCommand()
Test the validity of the command.
|
boolean |
isValidStoreType(java.lang.String inStoretype)
Test the validity of the storetype.
|
void |
performExecute()
Main logic of the command.
|
void |
setCmdName(java.lang.String commandName)
Sets the name of the command to execute.
|
void |
setInventoryCmdSet(java.util.Hashtable newInventoryCmdSet)
Sets the set of valid command names.
|
void |
setStoreType(java.lang.String[] inStoreType)
Sets the addtional storetypes.
|
void |
setStoreTypesSet(java.util.Hashtable newStoreTypesSet)
Sets the valid store types
|
void |
validateParameters()
Verify that all the required parameters are correct.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
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
public static final java.lang.String COPYRIGHT
public ExecuteSpecifiedCommandForHostedStoresCmdImpl()
public java.lang.String getCmdName()
public java.util.Hashtable getInventoryCmdSet()
public java.lang.String[] getStoreType()
public java.util.Hashtable getStoreTypesSet()
public boolean isValidCommand()
public boolean isValidStoreType(java.lang.String inStoretype)
storetype
- The storetype to check for.public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- The exception thrownpublic void setCmdName(java.lang.String commandName)
commandName
- The name of the command to execute.public void setInventoryCmdSet(java.util.Hashtable newInventoryCmdSet)
newInventoryCmdSet
- The set of commands to acceptpublic void setStoreType(java.lang.String[] inStoreType)
storeType
- The additional storetypespublic void setStoreTypesSet(java.util.Hashtable newStoreTypesSet)
storeTypesSet
- The set of valid store types.public void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- The exception thrown