public class ProcessOnlineStoreCloseActionCmdImpl extends AbstractProcessCustomActionUsingBusinessObjectMediatorCmdImpl implements ProcessOnlineStoreActionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
ProcessOnlineStoreCloseActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
Verify the command is ready to call
|
void |
performExecute()
This method closes the store and refreshes the store registry.
|
void |
validate()
This method validates the supplied store noun to ensure that:
a valid store identifier is provided
the store is not already closed or suspended
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, reset, setActionExpression, setNoun, setPersistentObjects
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
isGeneric, setActionExpression, setNoun, setPersistentObjects
public static final java.lang.String COPYRIGHT
public ProcessOnlineStoreCloseActionCmdImpl()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractProcessNounActionCmdImpl
public void validate() throws AbstractApplicationException
validate
in interface AbstractProcessNounActionCmd
AbstractApplicationException
- The application exception from Storepublic void performExecute() throws AbstractApplicationException, com.ibm.websphere.command.CommandException
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
AbstractApplicationException
com.ibm.websphere.command.CommandException