com.ibm.commerce.contentmanagement.commands
Interface WorkspaceUpdateCmd
-
- All Superinterfaces:
- AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
- All Known Implementing Classes:
- WorkspaceUpdateCmdImpl
public interface WorkspaceUpdateCmd extends ControllerCommand
TheWorkspaceUpdateCmd
is a URL and controller command that:- Updates a workspace
- Updates workspace descriptions
- workspaceId
- lockingPolicy
- promotionPolicy
- persistentType
- descriptions
UpdateWorkspaceCmd
UpdateWorkspaceDescriptionCmd
AddWorkspaceDescriptionCmd
RemoveWorkspaceDescriptionCmd
Other Controller Commands:
Mandatory Parameters: workspaceId
Additional Parameters:
Optional Parameters: lockingPolicy, promotionPolicy, persistentType, descriptions
Default Value:
-
-
Field Summary
Fields
Modifier and Type
Field and Description
static java.lang.String
CLASSNAME
Defines the CLASSNAME.
static java.lang.String
COPYRIGHT
The internal copyright field.
-
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
java.util.Hashtable
getDescriptions()
Gets the descriptions of the Workspace.
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.
java.lang.Long
getWorkspaceId()
Gets the Workspace Id.
void
setDescriptions(java.util.Hashtable argDescriptions)
Sets the descriptions of the Workspace
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
-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The internal copyright field.
- See Also:
- Constant Field Values
-
CLASSNAME
static final java.lang.String CLASSNAME
Defines the CLASSNAME.
- See Also:
- Constant Field Values
-
Method Detail
-
getWorkspaceId
java.lang.Long getWorkspaceId()
Gets the Workspace Id.
- Returns:
- the Workspace Id
-
getDescriptions
java.util.Hashtable getDescriptions()
Gets the descriptions of the Workspace.
- Returns:
- Workspace descriptions
-
getPersistentType
java.lang.Integer getPersistentType()
Gets the Persistent Type of the Workspace.
- Returns:
- Workspace persistentType
-
getLockingPolicy
java.lang.Integer getLockingPolicy()
Gets the locking policy of the Workspace.
- Returns:
- Workspace locking policy
-
getPromotionPolicy
java.lang.Integer getPromotionPolicy()
Gets the promotion policy of the Workspace.
- Returns:
- Workspace promotion policy
-
setWorkspaceId
void setWorkspaceId(java.lang.Long anWorkspaceId)
Sets the Workspace Id
- Parameters:
anWorkspaceId
- Workspace Id
-
setDescriptions
void setDescriptions(java.util.Hashtable argDescriptions)
Sets the descriptions of the Workspace
- Parameters:
argDescriptions
- Workspace descriptions
-
setPersistentType
void setPersistentType(java.lang.Integer aPersistentType)
Sets the persistent type of the Workspace
- Parameters:
aPersistentType
- Workspace persistent type
-
setLockingPolicy
void setLockingPolicy(java.lang.Integer aLockingPolicy)
Sets the locking policy of the Workspace.
- Parameters:
aLockingPolicy
- the locking policy of the workspace
-
setPromotionPolicy
void setPromotionPolicy(java.lang.Integer aPromotionPolicy)
Sets the promotion policy of the Workspace.
- Parameters:
aPromotionPolicy
- the promotion policy of the workspace