public class AddWorkspaceCmdImpl extends TaskCommandImpl implements AddWorkspaceCmd
AddWorkspaceCmd
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 |
---|
AddWorkspaceCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getDescriptions()
Gets the descriptions.
|
java.lang.String |
getIdentifier()
Gets the identifier of the Workspace.
|
java.lang.Integer |
getLockingPolicy()
Gets the locking policy of the Workspace.
|
java.lang.Long |
getOwnerId()
Gets the owner 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.
|
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 |
setDescriptions(java.util.Vector argDescriptions)
Sets the Workspace Descriptions.
|
void |
setLockingPolicy(java.lang.Integer aLockingPolicy)
Sets the locking policy of the Workspace.
|
void |
setOwnerId(java.lang.Long owner)
Sets the owner 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 |
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 AddWorkspaceCmd
public java.util.Vector getDescriptions()
getDescriptions
in interface AddWorkspaceCmd
public java.lang.String getIdentifier()
getIdentifier
in interface AddWorkspaceCmd
public java.lang.Integer getPersistentType()
getPersistentType
in interface AddWorkspaceCmd
public java.lang.Integer getLockingPolicy()
getLockingPolicy
in interface AddWorkspaceCmd
public java.lang.Integer getPromotionPolicy()
getPromotionPolicy
in interface AddWorkspaceCmd
public java.lang.Long getOwnerId()
getOwnerId
in interface AddWorkspaceCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setDescriptions(java.util.Vector argDescriptions)
setDescriptions
in interface AddWorkspaceCmd
WorkspaceDescription
public void setOwnerId(java.lang.Long owner)
setOwnerId
in interface AddWorkspaceCmd
owner
- The member id of the Workspace owner.public void setPersistentType(java.lang.Integer aPersistentType)
setPersistentType
in interface AddWorkspaceCmd
aPersistentType
- the persistent type of the workspacepublic void setLockingPolicy(java.lang.Integer aLockingPolicy)
setLockingPolicy
in interface AddWorkspaceCmd
aLockingPolicy
- the locking policy of the workspacepublic void setPromotionPolicy(java.lang.Integer aPromotionPolicy)
setPromotionPolicy
in interface AddWorkspaceCmd
aPromotionPolicy
- the promotion policy of the workspacepublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException