com.ibm.commerce.contentmanagement.commands

Class TaskGroupUpdateCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, TaskGroupUpdateCmd, Protectable, 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 TaskGroupUpdateCmdImpl
    extends ControllerCommandImpl
    implements TaskGroupUpdateCmd
    The TaskGroupUpdateCmd is a URL and controller command that:
    • Updates a Task Group
    • Updates Task Group Approvers
    • Updates Task Group Descriptions
    Parameters:
    Access Beans:
    • TaskAccessBean
    • TaskMemberRelAccessBean
    Task Commands:
    • UpdateTaskGroupCmd,
    • AddTaskGroupCommentCmd,
    • AddTaskMembersCmd,
    • RemoveTaskMembersCmd,
    • AddTaskGroupDescriptionCmd,
    • UpdateTaskGroupDescriptionCmd,
    • RemoveTaskGroupDescriptionCmd,
    • AddTaskCmd
    Other Controller Commands: Mandatory Parameters: taskGroupId
    Additional Parameters:
    Optional Parameters: dueDate, promotionDate, quickPublishType, persistentType, postedBy, strComments, approvers, descriptions
    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

      • TaskGroupUpdateCmdImpl

        public TaskGroupUpdateCmdImpl()
    • Method Detail

      • getTaskGroupId

        public java.lang.Long getTaskGroupId()
        Gets the Task Group Id.
        Specified by:
        getTaskGroupId in interface TaskGroupUpdateCmd
        Returns:
        the Task Group Id
      • getDescriptions

        public java.util.Hashtable getDescriptions()
        Gets the descriptions.
        Specified by:
        getDescriptions in interface TaskGroupUpdateCmd
        Returns:
        description
      • getDueDate

        public java.sql.Timestamp getDueDate()
        Returns the Task Group due date. A null value means that there is no due date.
        Specified by:
        getDueDate in interface TaskGroupUpdateCmd
        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 TaskGroupUpdateCmd
        Returns:
        the promotion date 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. A null value indicates that this value does not need to be updated.
        Specified by:
        getQuickPublishType in interface TaskGroupUpdateCmd
        Returns:
        the Quick Publish type
      • 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. A null value indicates that this value does not need to be updated.
        Specified by:
        getPersistentType in interface TaskGroupUpdateCmd
        Returns:
        the persistent type of the Task Group
      • getComments

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

        public java.lang.Long getPostedBy()
        Gets the member id who posted the comment
        Specified by:
        getPostedBy in interface TaskGroupUpdateCmd
        Returns:
        member id
      • getApprovers

        public java.util.Vector getApprovers()
        Gets the approvers
        Specified by:
        getApprovers in interface TaskGroupUpdateCmd
        Returns:
        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
      • setTaskGroupId

        public void setTaskGroupId(java.lang.Long anTaskGroupId)
        Sets the Task Group Id
        Specified by:
        setTaskGroupId in interface TaskGroupUpdateCmd
        Parameters:
        anTaskGroupId - Task Group Id
      • 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. A null value indicates that this value does not need to be updated.
        Specified by:
        setQuickPublishType in interface TaskGroupUpdateCmd
        Parameters:
        quickPublish - The quick publish type of the Task Group.
      • setPersistentType

        public void setPersistentType(java.lang.Integer argPersistentType)
        Sets the persistent type of the Task Group. A persistent Task Group is remains available for reuse once the Task Group is promoted. A null value indicates that this value does not need to be updated.
        Specified by:
        setPersistentType in interface TaskGroupUpdateCmd
        Parameters:
        argPersistentType - The persistent type of the Task Group.
      • setDescriptions

        public void setDescriptions(java.util.Hashtable argDescriptions)
        Sets the descriptions. A null value indicates that the descriptions do not need to be updated.
        Specified by:
        setDescriptions in interface TaskGroupUpdateCmd
        Parameters:
        argDescriptions - descriptions
      • setDueDate

        public void setDueDate(java.sql.Timestamp aDueDate)
        Sets the due date of the Task Group. A null value means that there is no due date.
        Specified by:
        setDueDate in interface TaskGroupUpdateCmd
        Parameters:
        aDueDate - 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 TaskGroupUpdateCmd
        Parameters:
        dPromotionDate - The promotion date of the Task Group.
      • setComments

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

        public void setPostedBy(java.lang.Long iPostedBy)
        Sets the poster's member id. If the comments field has a value, this cannot be null.
        Specified by:
        setPostedBy in interface TaskGroupUpdateCmd
        Parameters:
        iPostedBy - Posted By
      • setApprovers

        public void setApprovers(java.util.Vector theApprovers)
        Sets the approvers. A null value indicates that the Approvers list does not need to be updated.
        Specified by:
        setApprovers in interface TaskGroupUpdateCmd
        Parameters:
        theApprovers -