Interface TasksList

All Superinterfaces:
AmetysObject, DataAwareAmetysObject, DataHolder, IndexableDataHolder, ModelAwareDataAwareAmetysObject, ModelAwareDataAwareAmetysObject, ModelAwareDataHolder, ModifiableAmetysObject, ModifiableDataHolder, ModifiableIndexableDataHolder, ModifiableModelAwareDataAwareAmetysObject, ModifiableModelAwareDataAwareAmetysObject, ModifiableModelAwareDataHolder, RemovableAmetysObject
All Known Implementing Classes:
JCRTasksList

Task list interface
  • Method Details

    • getListId

      The id of the task list
      Returns:
      The id
    • setListId

      void setListId(String id)
      Set the tasks list id
      Parameters:
      id - the id
    • getPosition

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

      void setPosition(Long position)
      Set the tasks list position
      Parameters:
      position - the position
    • getLabel

      The title of the task
      Returns:
      The title
    • setLabel

      void setLabel(String label)
      Set the tasks list label
      Parameters:
      label - the label
    • getColor

      Get the tasks list color
      Returns:
      the tasks list color
    • setColor

      void setColor(String colorId)
      Set the tasks list color
      Parameters:
      colorId - the color id
    • getIcon

      Get the tasks list icon
      Returns:
      the tasks list icon
    • setIcon

      void setIcon(String iconId)
      Set the tasks list icon
      Parameters:
      iconId - the icon id
    • getTasks

      Get the list of tasks
      Returns:
      The list of tasks
    • addTask

      void addTask(Task task)
      Add a task
      Parameters:
      task - The task
    • 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
    • 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.