com.ibm.commerce.contentmanagement.commands

Class AddWorkspaceCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AddWorkspaceCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class AddWorkspaceCmdImpl
    extends TaskCommandImpl
    implements AddWorkspaceCmd
    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
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        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
        Returns:
        the Workspace Id
      • getDescriptions

        public java.util.Vector getDescriptions()
        Gets the descriptions.
        Specified by:
        getDescriptions in interface AddWorkspaceCmd
        Returns:
        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
        Returns:
        the identifier
      • getPersistentType

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

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

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

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

        public void reset()
        Resets all the values to null
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        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:
        WorkspaceDescription
      • 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
        Parameters:
        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
        Parameters:
        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
        Parameters:
        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
        Parameters:
        aPromotionPolicy - the promotion policy of the workspace