com.ibm.commerce.contentmanagement.commands

Class UpdateTaskGroupCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, UpdateTaskGroupCmd, 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 UpdateTaskGroupCmdImpl
    extends TaskCommandImpl
    implements UpdateTaskGroupCmd
    The UpdateTaskGroupCmd is a task command that:
    • Updates a Task Group
    Parameters:
    • taskGroupId
    • dueDate
    • persistentType
    • quickPublishType
    • promotionDate
    Access Beans:
    • TaskGroupAccessBean
    Task Commands:
    Controller commands:
    Mandatory Parameters: taskGroupId
    Additional Parameters: none
    Optional Parameters: dueDate, persistentType, quickPublishType, 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

      • UpdateTaskGroupCmdImpl

        public UpdateTaskGroupCmdImpl()
    • Method Detail

      • getTaskGroupId

        public java.lang.Long getTaskGroupId()
        Returns the Task Group ID.
        Specified by:
        getTaskGroupId in interface UpdateTaskGroupCmd
        Returns:
        the unique ID of the Task Group
      • 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 UpdateTaskGroupCmd
        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 UpdateTaskGroupCmd
        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. A null value indicates that this value does not need to be updated.
        Specified by:
        getPersistentType in interface UpdateTaskGroupCmd
        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. A null value indicates that this value does not need to be updated.
        Specified by:
        getQuickPublishType in interface UpdateTaskGroupCmd
        Returns:
        the Quick Publish type
      • 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 UpdateTaskGroupCmd
        Parameters:
        anTaskGroupId - The ID of the Task Group.
      • setDueDate

        public void setDueDate(java.sql.Timestamp dDueDate)
        Sets the due date of the Task Group. A null value means that there is no due date.
        Specified by:
        setDueDate in interface UpdateTaskGroupCmd
        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 UpdateTaskGroupCmd
        Parameters:
        dPromotionDate - The promotion date 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. A null value indicates that this value does not need to be updated.
        Specified by:
        setPersistentType in interface UpdateTaskGroupCmd
        Parameters:
        argPersistent - The persistent type of the Task Group.
      • setQuickPublishType

        public void setQuickPublishType(java.lang.Integer argQuickPublish)
        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 UpdateTaskGroupCmd
        Parameters:
        argQuickPublish - The quick publish type of the Task Group.