Interface Task

All Superinterfaces:
AmetysObject, AttachableAmetysObject, CommentableAmetysObject<Comment>, DataAwareAmetysObject, DataHolder, IndexableDataHolder, ModelAwareDataAwareAmetysObject, ModelAwareDataAwareAmetysObject, ModelAwareDataHolder, ModifiableAmetysObject, ModifiableDataHolder, ModifiableIndexableDataHolder, ModifiableModelAwareDataAwareAmetysObject, ModifiableModelAwareDataAwareAmetysObject, ModifiableModelAwareDataHolder, RemovableAmetysObject, TagAwareAmetysObject, TaggableAmetysObject
All Known Implementing Classes:
JCRTask

Task interface
  • Method Details

    • getTaskListId

      The identifier of a task list
      Returns:
      The id
    • setTasksListId

      void setTasksListId(String tasksListId)
      Set the identifier of a tasks list
      Parameters:
      tasksListId - The tasks list id
    • getPosition

      The position into the task list
      Returns:
      The position
    • setPosition

      void setPosition(Long position)
      Set the position into the task list
      Parameters:
      position - The position into the task list
    • getLabel

      The title of the task
      Returns:
      The title
    • setLabel

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

      The description of the task
      Returns:
      The description
    • setDescription

      void setDescription(String description)
      Set the description of the task
      Parameters:
      description - The description
    • getStartDate

      The starting date of the task
      Returns:
      The start date
    • setStartDate

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

      The due date of the task
      Returns:
      The due date
    • setDueDate

      void setDueDate(LocalDate dueDate)
      Set the due date of the task
      Parameters:
      dueDate - The due date
    • isClosed

      boolean isClosed()
      True if the task is closed
      Returns:
      true if the task is closed
    • close

      void close(boolean isClosed)
      Close the task
      Parameters:
      isClosed - true to close the task
    • getCloseAuthor

      Get the author who close the task
      Returns:
      the author who close the task
    • setCloseAuthor

      Set the author who close the task.
      Parameters:
      author - the author
    • getCloseDate

      Get the task's date of closure
      Returns:
      the task's date of closure
    • setCloseDate

      void setCloseDate(LocalDate closedDate)
      Set the task's date of closure
      Parameters:
      closedDate - The date of closure
    • getAuthor

      Get the author of the task
      Returns:
      the author
    • setAuthor

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

      Get the list of user assigned to this task
      Returns:
      The assignment list
    • setAssignments

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

      Get the task's creation date.
      Returns:
      the task's creation date.
    • setCreationDate

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

      Get the task's last modification date.
      Returns:
      the task's last modification date.
    • setLastModified

      Set the post's modification date.
      Parameters:
      date - the last modification date to set.
    • getCheckList

      Get the task's check list
      Returns:
      the task's check list
    • setCheckListItem

      Set the list of check item
      Parameters:
      checkItems - the list of check item