Interface ModifiableTask
- All Superinterfaces:
AmetysObject
,ModifiableAmetysObject
,RemovableAmetysObject
,Task
- All Known Implementing Classes:
JCRTask
Explorer task that can be modified
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.explorer.tasks.Task
Task.TaskPriority, Task.TaskStatus
-
Method Summary
Modifier and TypeMethodDescriptionThe description of the taskvoid
setAssignment
(List<UserIdentity> assignment) Set the list of user assigned to this taskvoid
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 taskvoid
setInitialLoad
(Double initialLoad) Set the initial load estimated for this taskvoid
Set the title of the taskvoid
setLastModified
(Date date) Set the post's modification date.void
setPriority
(Task.TaskPriority priority) Set the task priorityvoid
setProgress
(Double progress) Set the progress of the taskvoid
setStartDate
(Date startDate) Set the starting date of the taskvoid
setStatus
(Task.TaskStatus status) Set the status of the taskvoid
setSubscribers
(List<UserIdentity> subscribers) Set the list of user subscribed to this taskvoid
Set the identifier of a taskMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
Methods inherited from interface org.ametys.plugins.explorer.tasks.Task
getAssignment, getAuthor, getCreationDate, getEndDate, getInitialLoad, getLabel, getLastModified, getPriority, getProgress, getStartDate, getStatus, getSubscribers, getTaskId
-
Method Details
-
setTaskId
Set the identifier of a task- Parameters:
taskId
- The id
-
setLabel
Set the title of the task- Parameters:
title
- The title
-
getDescription
Description copied from interface:Task
The description of the task- Specified by:
getDescription
in interfaceTask
- Returns:
- The description
-
setAuthor
Set the author of this task.- Parameters:
author
- the author
-
setStartDate
Set the starting date of the task- Parameters:
startDate
- The start date
-
setEndDate
Set the ending date of the task- Parameters:
endDate
- The end date
-
setStatus
Set the status of the task- Parameters:
status
- The status
-
setPriority
Set the task priority- Parameters:
priority
- the priority
-
setInitialLoad
Set the initial load estimated for this task- Parameters:
initialLoad
- The initial load
-
setProgress
Set the progress of the task- Parameters:
progress
- The progress, in percentage
-
setAssignment
Set the list of user assigned to this task- Parameters:
assignment
- The assignment list
-
setSubscribers
Set the list of user subscribed to this task- Parameters:
subscribers
- The list of subscribers
-
setCreationDate
Set the post's creation date.- Parameters:
startDate
- the post's creation date.
-
setLastModified
Set the post's modification date.- Parameters:
date
- the last modification date to set.
-