public class RestartTaskGroupCmdImpl extends TaskCommandImpl implements RestartTaskGroupCmd
RestartTaskGroupCmd
is a task command that:
TaskAccessBean
TaskGroupAccessBean
TaskDescriptionAccessBean
TaskGroupDescriptionAccessBean
ActivateTaskGroupCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
RestartTaskGroupCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getNewTaskGroupId()
Returns the new instance Task Group ID.
|
java.lang.Long |
getTaskGroupId()
Returns the Task Group ID.
|
java.lang.Long |
getWorkspaceId()
Returns the Workspace ID.
|
void |
performExecute()
Performs the execution of the command.
|
void |
reset()
Resets all the values to null
|
void |
setTaskGroupId(java.lang.Long aTaskGroupId)
Sets the Task Group ID
|
void |
setWorkspaceId(java.lang.Long aWorkspaceId)
Sets the Workspace ID
|
void |
validateParameters()
Validates the input parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getWorkspaceId()
getWorkspaceId
in interface RestartTaskGroupCmd
public java.lang.Long getTaskGroupId()
getTaskGroupId
in interface RestartTaskGroupCmd
public java.lang.Long getNewTaskGroupId()
getNewTaskGroupId
in interface RestartTaskGroupCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setTaskGroupId(java.lang.Long aTaskGroupId)
setTaskGroupId
in interface RestartTaskGroupCmd
aTaskGroupId
- The ID of the Task Group.public void setWorkspaceId(java.lang.Long aWorkspaceId)
setWorkspaceId
in interface RestartTaskGroupCmd
aWorkspaceId
- The ID of the Workspace.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException