Class AddTaskCmdImpl

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

    public class AddTaskCmdImpl
    extends TaskCommandImpl
    implements AddTaskCmd
    The AddTaskCmd is a task command that:
    • Adds a Task
    • If the Task is added to a Task Group with Working status, and it is a Content Contributor Task, activates the Task
    • taskGroupId
    • identifier
    • descriptions
    • usage
    • dueDate
    • type
    • members
    Access Beans:
    • TaskAccessBean,
    • TaskGroupAccessBean.
    Task Commands:
    • ActivateTaskCmd
    Other Controller commands:
    Mandatory Parameters: taskGroupId, type
    Additional Parameters: none
    Optional Parameters: descriptions, usage, dueDate, members
    See Also:
    Serialized Form
    • Field Detail


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

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

      • AddTaskCmdImpl

        public AddTaskCmdImpl()
    • Method Detail

      • getTaskGroupStatus

        public java.lang.Integer getTaskGroupStatus()
        Returns the status of the Task Group with which this task is associated
        Specified by:
        getTaskGroupStatus in interface AddTaskCmd
        the Task Group status
      • getTaskId

        public java.lang.Long getTaskId()
        Returns the Task ID.
        Specified by:
        getTaskId in interface AddTaskCmd
        The ID of the Task. This is generated when the Task is created.
      • getTaskGroupId

        public java.lang.Long getTaskGroupId()
        Returns the Task Group ID.
        Specified by:
        getTaskGroupId in interface AddTaskCmd
        The ID of the Task Group that is associated with the Task.
      • getUsage

        public java.lang.Integer getUsage()
        Returns the Task usage.
        Specified by:
        getUsage in interface AddTaskCmd
        The Task usage.
      • getDescriptions

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

        public java.sql.Timestamp getDueDate()
        Returns the Task Due Date.
        Specified by:
        getDueDate in interface AddTaskCmd
        The Task Due Date.
      • getType

        public java.lang.Integer getType()
        Returns the Task Type.
        Specified by:
        getType in interface AddTaskCmd
        The Task Type.
      • getMembers

        public java.util.Vector getMembers()
        Returns the Task Members.
        Specified by:
        getMembers in interface AddTaskCmd
        The Task Members.
      • reset

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

        public void setTaskGroupId(java.lang.Long anTaskGroupId)
        Sets the Task Group ID
        Specified by:
        setTaskGroupId in interface AddTaskCmd
        anTaskGroupId - The ID of the Task Group.
      • setUsage

        public void setUsage(java.lang.Integer aUsage)
        Sets the Task Usage
        Specified by:
        setUsage in interface AddTaskCmd
        aUsage - The usage of the Task.
      • setDescriptions

        public void setDescriptions(java.util.Vector argDescriptions)
        Sets the Task Descriptions. This is a Vector of TaskDescription objects.
        Specified by:
        setDescriptions in interface AddTaskCmd
        argDescriptions - The Descriptions of the Task.
        See Also:
      • setDueDate

        public void setDueDate(java.sql.Timestamp dDueDate)
        Sets the Task Due Date
        Specified by:
        setDueDate in interface AddTaskCmd
        dDueDate - The due date of the Task.
      • setType

        public void setType(java.lang.Integer aType)
        Sets the Task Type
        Specified by:
        setType in interface AddTaskCmd
        aType - The type of the Task.
      • setMembers

        public void setMembers(java.util.Vector theMembers)
        Sets the Task Members
        Specified by:
        setMembers in interface AddTaskCmd
        theMembers - The members of the Task.