com.ibm.commerce.contentmanagement.commands

Interface UpdateWorkspaceCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    UpdateWorkspaceCmdImpl


    public interface UpdateWorkspaceCmd
    extends TaskCommand
    The UpdateWorkspaceCmd is a task command that:
    • Updates a Workspace.
    Parameters:
    • workspaceId
    • lockingPolicy
    • promotionPolicy
    • persistentType
    Access Beans:
    • WorkspaceAccessBean
    Task Commands:
    Other Controller commands:
    Mandatory Parameters: workspaceId
    Additional Parameters: none
    Optional Parameters: lockingPolicy, promotionPolicy, persistentType
    • 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
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • getWorkspaceId

        java.lang.Long getWorkspaceId()
        Get the Workspace Id
        Returns:
        the Workspace Id
      • getPersistentType

        java.lang.Integer getPersistentType()
        Gets the persistent type of the Workspace.
        Returns:
        the persistent type
      • 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 - The ID of the Workspace.
      • setPersistentType

        void setPersistentType(java.lang.Integer aPersistentType)
        Sets the persistent type of the Workspace. If a Workspace is persistent, it remains active even when all the Task Groups are complete or cancelled.
        Parameters:
        aPersistentType - the persistent type of the workspace
      • 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