com.ibm.commerce.contentmanagement.commands

Interface AddWorkspaceCmd

  • 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:
    AddWorkspaceCmdImpl


    public interface AddWorkspaceCmd
    extends TaskCommand
    The AddWorkspaceCmd is a task command that:
    • Adds a Workspace.
    • Adds Workspace descriptions
    Parameters:
    • workspaceId
    • descriptions
    • ownerId
    • lockingPolicy
    • promotionPolicy
    • persistentType
    Access Beans:
    • WorkspaceAccessBean
    Task Commands:
    Other Controller commands:
    Mandatory Parameters: ownerId
    Additional Parameters: none
    Optional Parameters: descriptions, 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
      • getDescriptions

        java.util.Vector getDescriptions()
        Gets the descriptions.
        Returns:
        the descriptions
      • 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:
        locking policy
      • getPromotionPolicy

        java.lang.Integer getPromotionPolicy()
        Gets the promotion policy of the Workspace.
        Returns:
        the promotion policy
      • getOwnerId

        java.lang.Long getOwnerId()
        Gets the owner of the Workspace
        Returns:
        the workspace owner
      • getIdentifier

        java.lang.String getIdentifier()
        Gets the identifier of the Workspace. This is set when the Workspace is created.
        Returns:
        the identifier
      • setDescriptions

        void setDescriptions(java.util.Vector argDescriptions)
        Sets the Workspace Descriptions. This is a Vector of WorkspaceDescription objects
        See Also:
        WorkspaceDescription
      • setOwnerId

        void setOwnerId(java.lang.Long owner)
        Sets the owner of the Workspace. This is the memberId of the user who created the Workspace.
        Parameters:
        owner - The member id of the Workspace owner.
      • 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