public interface ModifiableTask extends Task, ModifiableAmetysObject, RemovableAmetysObject
Task.TaskPriority, Task.TaskStatus
Modifier and Type | Method and Description |
---|---|
ModifiableRichText |
getDescription()
The description of the task
|
void |
setAssignment(List<UserIdentity> assignment)
Set the list of user assigned to this task
|
void |
setAuthor(UserIdentity author)
Set the author of this task.
|
void |
setCreationDate(Date startDate)
Set the post's creation date.
|
void |
setEndDate(Date endDate)
Set the ending date of the task
|
void |
setInitialLoad(Double initialLoad)
Set the initial load estimated for this task
|
void |
setLabel(String title)
Set the title of the task
|
void |
setLastModified(Date date)
Set the post's modification date.
|
void |
setPriority(Task.TaskPriority priority)
Set the task priority
|
void |
setProgress(Double progress)
Set the progress of the task
|
void |
setStartDate(Date startDate)
Set the starting date of the task
|
void |
setStatus(Task.TaskStatus status)
Set the status of the task
|
void |
setSubscribers(List<UserIdentity> subscribers)
Set the list of user subscribed to this task
|
void |
setTaskId(String taskId)
Set the identifier of a task
|
getAssignment, getAuthor, getCreationDate, getEndDate, getInitialLoad, getLabel, getLastModified, getPriority, getProgress, getStartDate, getStatus, getSubscribers, getTaskId
needsSave, rename, revertChanges, saveChanges
remove
equals, getId, getName, getParent, getParentPath, getPath, hashCode
ModifiableRichText getDescription()
Task
getDescription
in interface Task
void setAuthor(UserIdentity author)
author
- the authorvoid setStartDate(Date startDate)
startDate
- The start datevoid setEndDate(Date endDate)
endDate
- The end datevoid setStatus(Task.TaskStatus status)
status
- The statusvoid setPriority(Task.TaskPriority priority)
priority
- the priorityvoid setInitialLoad(Double initialLoad)
initialLoad
- The initial loadvoid setProgress(Double progress)
progress
- The progress, in percentagevoid setAssignment(List<UserIdentity> assignment)
assignment
- The assignment listvoid setSubscribers(List<UserIdentity> subscribers)
subscribers
- The list of subscribersvoid setCreationDate(Date startDate)
startDate
- the post's creation date.void setLastModified(Date date)
date
- the last modification date to set.