com.ibm.commerce.contentmanagement.commands

Class AddTaskGroupCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AddTaskGroupCmd, 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 AddTaskGroupCmdImpl
    extends TaskCommandImpl
    implements AddTaskGroupCmd
    The AddTaskGroupCmd is a task command that:
    • Adds a Task Group
    • Adds Task Group approvers
    • Adds Task Group comments
    • Adds Task Group descriptions
    • Adds a Workspace - Task Group relationship
    Parameters:
    • taskGroupId
    • descriptions
    • dueDate
    • approvers
    • workspaceId
    • comments
    • postedBy
    • promotionDate
    • persistentType
    • quickPublishType
    Access Beans:
    Task Commands:
    Other Controller commands:
    Mandatory Parameters: workspaceId, persistentType, quickPublishType
    Additional Parameters: none
    Optional Parameters: descriptions, dueDate, approvers, comments, postedBy, promotionDate
    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

      • AddTaskGroupCmdImpl

        public AddTaskGroupCmdImpl()
    • Method Detail

      • getTaskGroupId

        public java.lang.Long getTaskGroupId()
        Returns the Task Group ID.
        Specified by:
        getTaskGroupId in interface AddTaskGroupCmd
        Returns:
        the unique ID of the Task Group
      • getWorkspaceId

        public java.lang.Long getWorkspaceId()
        Returns the Workspace ID of the Workspace that is associated with this Task Group.
        Specified by:
        getWorkspaceId in interface AddTaskGroupCmd
        Returns:
        the unique ID of the Workspace
      • getDescriptions

        public java.util.Vector getDescriptions()
        Returns the Task Group descriptions. This is a Vector of TaskGroupDescription objects
        Specified by:
        getDescriptions in interface AddTaskGroupCmd
        Returns:
        the Task Group descriptions
        See Also:
        TaskDescription
      • getDueDate

        public java.sql.Timestamp getDueDate()
        Returns the Task Group due date.
        Specified by:
        getDueDate in interface AddTaskGroupCmd
        Returns:
        the due date of the Task Group
      • getPromotionDate

        public java.sql.Timestamp getPromotionDate()
        Returns the Task Group promotion date. A null value means that there is no scheduled promotion.
        Specified by:
        getPromotionDate in interface AddTaskGroupCmd
        Returns:
        the promotion date of the Task Group
      • getPersistentType

        public java.lang.Integer getPersistentType()
        Returns the Task Group persistent type. A persistent Task Group is remains available for reuse once the Task Group is promoted.
        Specified by:
        getPersistentType in interface AddTaskGroupCmd
        Returns:
        the persistent type of the Task Group
      • getQuickPublishType

        public java.lang.Integer getQuickPublishType()
        Returns the Quick Publish type. If a Task group has Quick Publish enabled, the content will be published to production at the same time as it is promoted.
        Specified by:
        getQuickPublishType in interface AddTaskGroupCmd
        Returns:
        the Quick Publish type
      • getComments

        public java.lang.String getComments()
        Returns the Task Group comments.
        Specified by:
        getComments in interface AddTaskGroupCmd
        Returns:
        the comments
      • getPostedBy

        public java.lang.Long getPostedBy()
        Returns the member ID of the person who posted the comment.
        Specified by:
        getPostedBy in interface AddTaskGroupCmd
        Returns:
        the member ID
      • getApprovers

        public java.util.Vector getApprovers()
        Returns the member IDs of the task group approvers. The member IDs are stored in a Vector of Long objects.
        Specified by:
        getApprovers in interface AddTaskGroupCmd
        Returns:
        the approvers
      • 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
      • setWorkspaceId

        public void setWorkspaceId(java.lang.Long anWorkspaceId)
        Sets the workspace id of the workspace that this task group is associated with.
        Specified by:
        setWorkspaceId in interface AddTaskGroupCmd
        Parameters:
        anWorkspaceId -
      • setDescriptions

        public void setDescriptions(java.util.Vector argDescriptions)
        Sets the Task Group descriptions. This is a Vector of TaskGroupDescription objects.
        Specified by:
        setDescriptions in interface AddTaskGroupCmd
        Parameters:
        argDescriptions - This is a Vector of TaskGroupDescription objects.
        See Also:
        TaskDescription
      • setDueDate

        public void setDueDate(java.sql.Timestamp dDueDate)
        Sets the due date of the Task Group
        Specified by:
        setDueDate in interface AddTaskGroupCmd
        Parameters:
        dDueDate - The due date of the Task Group.
      • setPromotionDate

        public void setPromotionDate(java.sql.Timestamp dPromotionDate)
        Sets the promotion date of the Task Group. A null value means that there is no scheduled promotion.
        Specified by:
        setPromotionDate in interface AddTaskGroupCmd
        Parameters:
        dPromotionDate - The promotion date of the Task Group.
      • setQuickPublishType

        public void setQuickPublishType(java.lang.Integer quickPublish)
        Sets the quick publish type of the Task Group. If a Task group has Quick Publish enabled, the content will be published to production at the same time as it is promoted.
        Specified by:
        setQuickPublishType in interface AddTaskGroupCmd
        Parameters:
        quickPublish - The quick publish type of the Task Group.
      • setPersistentType

        public void setPersistentType(java.lang.Integer argPersistent)
        Sets the persistent type of the Task Group. A persistent Task Group is remains available for reuse once the Task Group is promoted.
        Specified by:
        setPersistentType in interface AddTaskGroupCmd
        Parameters:
        argPersistent - The persistent type of the Task Group.
      • setComments

        public void setComments(java.lang.String astrComments)
        Sets the comments
        Specified by:
        setComments in interface AddTaskGroupCmd
        Parameters:
        astrComments - comments
      • setPostedBy

        public void setPostedBy(java.lang.Long iPostedBy)
        Sets the poster's member id
        Specified by:
        setPostedBy in interface AddTaskGroupCmd
        Parameters:
        iPostedBy - Posted By
      • setApprovers

        public void setApprovers(java.util.Vector theApprovers)
        Sets the member ids of the approvers. The member IDs are stored in Long objects.
        Specified by:
        setApprovers in interface AddTaskGroupCmd
        Parameters:
        theApprovers -