Interface Task
-
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
ModifiableTask
- All Known Implementing Classes:
JCRTask
public interface Task extends AmetysObject
Task interface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTask.TaskPriorityPriority of a taskstatic classTask.TaskStatusStatus of a task
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<UserIdentity>getAssignment()Get the list of user assigned to this taskUserIdentitygetAuthor()Get the creator of the taskDategetCreationDate()Get the post's creation date.RichTextgetDescription()The description of the taskDategetEndDate()The ending date of the taskDoublegetInitialLoad()Get the initial load estimated for this taskStringgetLabel()The title of the taskDategetLastModified()Get the post's last modification date.Task.TaskPrioritygetPriority()Get the task priorityDoublegetProgress()Get the progress of the taskDategetStartDate()The starting date of the taskTask.TaskStatusgetStatus()The status of the taskList<UserIdentity>getSubscribers()Get the list of user subscribed to this taskStringgetTaskId()The identifier of a task-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
-
-
-
Method Detail
-
getDescription
RichText getDescription()
The description of the task- Returns:
- The description
-
getStartDate
Date getStartDate()
The starting date of the task- Returns:
- The start date
-
getEndDate
Date getEndDate()
The ending date of the task- Returns:
- The end date
-
getStatus
Task.TaskStatus getStatus()
The status of the task- Returns:
- The status
-
getPriority
Task.TaskPriority getPriority()
Get the task priority- Returns:
- the priority
-
getInitialLoad
Double getInitialLoad()
Get the initial load estimated for this task- Returns:
- The initial load
-
getProgress
Double getProgress()
Get the progress of the task- Returns:
- The progress, in percentage
-
getAuthor
UserIdentity getAuthor()
Get the creator of the task- Returns:
- the creator
-
getAssignment
List<UserIdentity> getAssignment()
Get the list of user assigned to this task- Returns:
- The assignment list
-
getSubscribers
List<UserIdentity> getSubscribers()
Get the list of user subscribed to this task- Returns:
- The list of subscribers
-
getCreationDate
Date getCreationDate()
Get the post's creation date.- Returns:
- the post's creation date.
-
getLastModified
Date getLastModified()
Get the post's last modification date.- Returns:
- the post's last modification date.
-
-