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 class
Task.TaskPriority
Priority of a taskstatic class
Task.TaskStatus
Status 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 taskUserIdentity
getAuthor()
Get the creator of the taskDate
getCreationDate()
Get the post's creation date.RichText
getDescription()
The description of the taskDate
getEndDate()
The ending date of the taskDouble
getInitialLoad()
Get the initial load estimated for this taskString
getLabel()
The title of the taskDate
getLastModified()
Get the post's last modification date.Task.TaskPriority
getPriority()
Get the task priorityDouble
getProgress()
Get the progress of the taskDate
getStartDate()
The starting date of the taskTask.TaskStatus
getStatus()
The status of the taskList<UserIdentity>
getSubscribers()
Get the list of user subscribed to this taskString
getTaskId()
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.
-
-