Package org.nuxeo.ecm.platform.task
Interface Task
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TaskImpl
- Since:
- 5.5
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComment
(String author, String text) void
cancel
(CoreSession coreSession) void
end
(CoreSession coreSession) getId()
getName()
getType()
getVariable
(String key) hasEnded()
isOpened()
void
setAccepted
(Boolean accepted) void
void
setCreated
(Date created) void
setDelegatedActors
(List<String> delegatedActors) void
setDescription
(String description) void
setDirective
(String directive) void
setDueDate
(Date dueDate) void
setInitiator
(String initiator) void
void
setProcessId
(String processId) void
setProcessName
(String processName) void
setTargetDocumentsIds
(List<String> ids) The first id on the list is also set as 'targetDocumentId'void
void
setVariable
(String key, String value) void
setVariables
(Map<String, String> variables)
-
Field Details
-
TASK_PROVIDER_KEY
- Since:
- 5.6
- See Also:
-
-
Method Details
-
getDocument
DocumentModel getDocument() -
getId
String getId() -
getActors
-
getInitiator
String getInitiator() -
getName
String getName() -
getType
String getType()- Since:
- 5.6
-
getProcessId
String getProcessId()- Since:
- 5.6
-
getProcessName
String getProcessName()- Since:
- 7.4
-
getDescription
String getDescription() -
getDirective
String getDirective() -
getComments
List<TaskComment> getComments() -
getVariable
-
getDueDate
Date getDueDate() -
getCreated
Date getCreated() -
isCancelled
Boolean isCancelled() -
isOpened
Boolean isOpened() -
hasEnded
Boolean hasEnded() -
isAccepted
Boolean isAccepted() -
getVariables
-
setActors
-
setInitiator
-
setName
-
setType
- Since:
- 5.6
-
setProcessId
- Since:
- 5.6
-
setProcessName
- Since:
- 7.4
-
setDescription
-
setDirective
-
setVariable
-
setDueDate
-
setCreated
-
setAccepted
-
setVariables
-
addComment
-
cancel
-
end
-
getDelegatedActors
- Since:
- 5.8
-
setDelegatedActors
- Since:
- 5.8
-
getTargetDocumentsIds
- Since:
- 5.8
-
setTargetDocumentsIds
The first id on the list is also set as 'targetDocumentId'- Since:
- 5.8
-