Interface Task

    • Method Detail

      • setTasksListId

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

        Long 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

        String getLabel()
        The title of the task
        Returns:
        The title
      • setLabel

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

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

        void setStartDate​(LocalDate startDate)
        Set the starting date of the task
        Parameters:
        startDate - The start 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
      • getCloseDate

        LocalDate 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
      • setAuthor

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

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

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

        void setLastModified​(ZonedDateTime date)
        Set the post's modification date.
        Parameters:
        date - the last modification date to set.
      • setAttachments

        void setAttachments​(List<Binary> attachments)
        Set the task's attachments list
        Parameters:
        attachments - the task's attachments list