Class AddWorkspaceCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AddWorkspaceCmd,,,,,,

    public class AddWorkspaceCmdImpl
    extends TaskCommandImpl
    implements AddWorkspaceCmd
    The AddWorkspaceCmd is a task command that:
    • Adds a Workspace.
    • Adds Workspace descriptions
    • 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
    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values

        public static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AddWorkspaceCmdImpl

        public AddWorkspaceCmdImpl()
    • Method Detail

      • getWorkspaceId

        public java.lang.Long getWorkspaceId()
        Get the Workspace Id
        Specified by:
        getWorkspaceId in interface AddWorkspaceCmd
        the Workspace Id
      • getDescriptions

        public java.util.Vector getDescriptions()
        Gets the descriptions.
        Specified by:
        getDescriptions in interface AddWorkspaceCmd
        the descriptions
      • getIdentifier

        public java.lang.String getIdentifier()
        Gets the identifier of the Workspace. This is set when the Workspace is created.
        Specified by:
        getIdentifier in interface AddWorkspaceCmd
        the identifier
      • getPersistentType

        public java.lang.Integer getPersistentType()
        Gets the persistent type of the Workspace.
        Specified by:
        getPersistentType in interface AddWorkspaceCmd
        the persistent type
      • getLockingPolicy

        public java.lang.Integer getLockingPolicy()
        Gets the locking policy of the Workspace.
        Specified by:
        getLockingPolicy in interface AddWorkspaceCmd
        locking policy
      • getPromotionPolicy

        public java.lang.Integer getPromotionPolicy()
        Gets the promotion policy of the Workspace.
        Specified by:
        getPromotionPolicy in interface AddWorkspaceCmd
        the promotion policy
      • getOwnerId

        public java.lang.Long getOwnerId()
        Gets the owner of the Workspace
        Specified by:
        getOwnerId in interface AddWorkspaceCmd
        the workspace owner
      • reset

        public void reset()
        Resets all the values to null
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setDescriptions

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

        public void setOwnerId(java.lang.Long owner)
        Sets the owner of the Workspace. This is the memberId of the user who created the Workspace.
        Specified by:
        setOwnerId in interface AddWorkspaceCmd
        owner - The member id of the Workspace owner.
      • setPersistentType

        public 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.
        Specified by:
        setPersistentType in interface AddWorkspaceCmd
        aPersistentType - the persistent type of the workspace
      • setLockingPolicy

        public void setLockingPolicy(java.lang.Integer aLockingPolicy)
        Sets the locking policy of the Workspace. *
        Specified by:
        setLockingPolicy in interface AddWorkspaceCmd
        aLockingPolicy - the locking policy of the workspace
      • setPromotionPolicy

        public void setPromotionPolicy(java.lang.Integer aPromotionPolicy)
        Sets the promotion policy of the Workspace. *
        Specified by:
        setPromotionPolicy in interface AddWorkspaceCmd
        aPromotionPolicy - the promotion policy of the workspace