public class UpdateWorkspaceCmdImpl extends TaskCommandImpl implements UpdateWorkspaceCmd
UpdateWorkspaceCmd is a task command that:
| 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 |
|---|
UpdateWorkspaceCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getLockingPolicy()
Gets the locking policy of the Workspace.
|
java.lang.Integer |
getPersistentType()
Gets the persistent type of the Workspace.
|
java.lang.Integer |
getPromotionPolicy()
Gets the promotion policy of the Workspace.
|
AccessVector |
getResources()
Gets the resources accessed by this command.
|
java.lang.Long |
getWorkspaceId()
Get the Workspace Id
|
void |
performExecute()
Performs the execution of the command.
|
void |
reset()
Resets all the values to null
|
void |
setLockingPolicy(java.lang.Integer aLockingPolicy)
Sets the locking policy of the Workspace.
|
void |
setPersistentType(java.lang.Integer aPersistentType)
Sets the persistent type of the Workspace.
|
void |
setPromotionPolicy(java.lang.Integer aPromotionPolicy)
Sets the promotion policy of the Workspace.
|
void |
setWorkspaceId(java.lang.Long anWorkspaceId)
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, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getWorkspaceId()
getWorkspaceId in interface UpdateWorkspaceCmdpublic java.lang.Integer getPersistentType()
getPersistentType in interface UpdateWorkspaceCmdpublic java.lang.Integer getLockingPolicy()
getLockingPolicy in interface UpdateWorkspaceCmdpublic java.lang.Integer getPromotionPolicy()
getPromotionPolicy in interface UpdateWorkspaceCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setWorkspaceId(java.lang.Long anWorkspaceId)
setWorkspaceId in interface UpdateWorkspaceCmdanWorkspaceId - The ID of the Workspace.public void setPersistentType(java.lang.Integer aPersistentType)
setPersistentType in interface UpdateWorkspaceCmdaPersistentType - the persistent type of the workspacepublic void setLockingPolicy(java.lang.Integer aLockingPolicy)
setLockingPolicy in interface UpdateWorkspaceCmdaLockingPolicy - the locking policy of the workspacepublic void setPromotionPolicy(java.lang.Integer aPromotionPolicy)
setPromotionPolicy in interface UpdateWorkspaceCmdaPromotionPolicy - the promotion policy of the workspacepublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException