Interface ModifiableTask

All Superinterfaces:
AmetysObject, ModifiableAmetysObject, RemovableAmetysObject, Task
All Known Implementing Classes:
JCRTask

Explorer task that can be modified
  • Method Details

    • setTaskId

      void setTaskId(String taskId)
      Set the identifier of a task
      Parameters:
      taskId - The id
    • setLabel

      void setLabel(String title)
      Set the title of the task
      Parameters:
      title - The title
    • getDescription

      Description copied from interface: Task
      The description of the task
      Specified by:
      getDescription in interface Task
      Returns:
      The description
    • setAuthor

      void setAuthor(UserIdentity author)
      Set the author of this task.
      Parameters:
      author - the author
    • setStartDate

      void setStartDate(Date startDate)
      Set the starting date of the task
      Parameters:
      startDate - The start date
    • setEndDate

      void setEndDate(Date endDate)
      Set the ending date of the task
      Parameters:
      endDate - The end date
    • setStatus

      void setStatus(Task.TaskStatus status)
      Set the status of the task
      Parameters:
      status - The status
    • setPriority

      Set the task priority
      Parameters:
      priority - the priority
    • setInitialLoad

      void setInitialLoad(Double initialLoad)
      Set the initial load estimated for this task
      Parameters:
      initialLoad - The initial load
    • setProgress

      void setProgress(Double progress)
      Set the progress of the task
      Parameters:
      progress - The progress, in percentage
    • setAssignment

      void setAssignment(List<UserIdentity> assignment)
      Set the list of user assigned to this task
      Parameters:
      assignment - The assignment list
    • setSubscribers

      void setSubscribers(List<UserIdentity> subscribers)
      Set the list of user subscribed to this task
      Parameters:
      subscribers - The list of subscribers
    • setCreationDate

      void setCreationDate(Date startDate)
      Set the post's creation date.
      Parameters:
      startDate - the post's creation date.
    • setLastModified

      void setLastModified(Date date)
      Set the post's modification date.
      Parameters:
      date - the last modification date to set.