com.ibm.commerce.contentmanagement.commands

Interface AddTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    AddTaskCmdImpl


    public interface AddTaskCmd
    extends TaskCommand
    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
    Parameters:
    • 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
    • Field Detail

      • COPYRIGHT

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

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

      • getTaskId

        java.lang.Long getTaskId()
        Returns the Task ID.
        Returns:
        The ID of the Task. This is generated when the Task is created.
      • getTaskGroupId

        java.lang.Long getTaskGroupId()
        Returns the Task Group ID.
        Returns:
        The ID of the Task Group that is associated with the Task.
      • getDescriptions

        java.util.Vector getDescriptions()
        Returns the Task Descriptions.
        Returns:
        The Task descriptions.
      • getDueDate

        java.sql.Timestamp getDueDate()
        Returns the Task Due Date.
        Returns:
        The Task Due Date.
      • getUsage

        java.lang.Integer getUsage()
        Returns the Task usage.
        Returns:
        The Task usage.
      • getType

        java.lang.Integer getType()
        Returns the Task Type.
        Returns:
        The Task Type.
      • getMembers

        java.util.Vector getMembers()
        Returns the Task Members. This is a Vector of Long values that are the member IDs
        Returns:
        The Task Members.
      • getTaskGroupStatus

        java.lang.Integer getTaskGroupStatus()
        Returns the status of the Task Group with which this task is associated
        Returns:
        task group status
      • setTaskGroupId

        void setTaskGroupId(java.lang.Long anTaskGroupInstId)
        Sets the Task Group ID
        Parameters:
        anTaskGroupInstId - The ID of the Task Group.
      • setUsage

        void setUsage(java.lang.Integer aUsage)
        Sets the Task Usage
        Parameters:
        aUsage - The usage of the Task.
      • setDescriptions

        void setDescriptions(java.util.Vector argDescriptions)
        Sets the Task Descriptions
        Parameters:
        argDescriptions - The Descriptions of the Task.
      • setType

        void setType(java.lang.Integer type)
        Sets the Task Type
        Parameters:
        type - The type of the Task.
      • setDueDate

        void setDueDate(java.sql.Timestamp dDueDate)
        Sets the Task Due Date
        Parameters:
        dDueDate - The due date of the Task.
      • setMembers

        void setMembers(java.util.Vector theMembers)
        Sets the Task Members
        Parameters:
        theMembers - The members of the Task.