com.ibm.commerce.contentmanagement.commands

Interface CreateTaskFromTemplateCmd

  • 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:
    CreateTaskFromTemplateCmdImpl


    public interface CreateTaskFromTemplateCmd
    extends TaskCommand
    The CreateTaskFromTemplateCmd is a task command that:
    • Creates a Task by copying Task Template information. A task object is created and the information defined in the task template object is copied.
    Parameters:
    • taskTemplateId
    • taskGroupId
    Access Beans:
    • TaskAccessBean,
    • TaskMemberRelAccessBean,
    • TaskGroupAccessBean,
    • TaskDescriptionAccessBean.
    Task Commands:
    Other Controller commands:
    Mandatory Parameters: taskTemplateId, taskGroupId
    Additional Parameters: none
    Optional Parameters: none
    • Field Detail

      • COPYRIGHT

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

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

      • getTaskGroupId

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

        void setTaskGroupId(java.lang.Long anTaskGroupId)
        Sets the Task Group ID which the Task is associated with
        Parameters:
        anTaskGroupId - The ID of the Task Group.
      • getTaskTemplateId

        java.lang.Long getTaskTemplateId()
        Returns the Task ID of the Task Template from which the Task will be created.
        Returns:
        The ID of the Task Template
      • setTaskTemplateId

        void setTaskTemplateId(java.lang.Long anTaskTemplateId)
        Sets the Task Template ID
        Parameters:
        anTaskTemplateId - The ID of the Task Template.
      • getTaskId

        java.lang.Long getTaskId()
        Returns the Task ID.
        Returns:
        The ID of the Task.