Package org.nuxeo.ecm.platform.task
Class TaskImpl
java.lang.Object
org.nuxeo.ecm.platform.task.TaskImpl
- All Implemented Interfaces:
Serializable,Task
- Since:
- 5.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.task.Task
Task.TaskVariableName -
Field Summary
Fields inherited from interface org.nuxeo.ecm.platform.task.Task
TASK_PROVIDER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComment(String author, String text) voidcancel(CoreSession coreSession) voidend(CoreSession coreSession) protected voidfollowTransition(CoreSession coreSession, String transition) protected DategetDatePropertyValue(String propertyName) getId()getName()protected <T> TgetPropertyValue(String propertyName) getType()getVariable(String key) hasEnded()isOpened()voidsetAccepted(Boolean accepted) voidvoidsetCreated(Date created) voidsetDelegatedActors(List<String> delegatedActors) voidsetDescription(String description) voidsetDirective(String directive) voidsetDueDate(Date dueDate) voidsetInitiator(String initiator) voidvoidsetProcessId(String processId) voidsetProcessName(String processName) protected voidsetPropertyValue(String propertyName, Object value) voidsetTargetDocumentsIds(List<String> ids) The first id on the list is also set as 'targetDocumentId'voidvoidsetVariable(String key, String value) voidsetVariables(Map<String, String> variables)
-
Constructor Details
-
TaskImpl
-
-
Method Details
-
addComment
- Specified by:
addCommentin interfaceTask
-
cancel
-
end
-
followTransition
protected void followTransition(CoreSession coreSession, String transition) throws LifeCycleException - Throws:
LifeCycleException
-
getActors
-
getComments
- Specified by:
getCommentsin interfaceTask
-
getCreated
- Specified by:
getCreatedin interfaceTask
-
getDatePropertyValue
-
getDelegatedActors
- Specified by:
getDelegatedActorsin interfaceTask
-
getDescription
- Specified by:
getDescriptionin interfaceTask
-
getDirective
- Specified by:
getDirectivein interfaceTask
-
getDocument
- Specified by:
getDocumentin interfaceTask
-
getDueDate
- Specified by:
getDueDatein interfaceTask
-
getId
-
getInitiator
- Specified by:
getInitiatorin interfaceTask
-
getName
-
getProcessId
- Specified by:
getProcessIdin interfaceTask
-
getProcessName
- Specified by:
getProcessNamein interfaceTask- Since:
- 7.4
-
getPropertyValue
-
getTargetDocumentsIds
- Specified by:
getTargetDocumentsIdsin interfaceTask
-
getType
-
getVariable
- Specified by:
getVariablein interfaceTask
-
getVariables
- Specified by:
getVariablesin interfaceTask
-
hasEnded
-
isAccepted
- Specified by:
isAcceptedin interfaceTask
-
isCancelled
- Specified by:
isCancelledin interfaceTask
-
isOpened
-
setAccepted
- Specified by:
setAcceptedin interfaceTask
-
setActors
-
setCreated
- Specified by:
setCreatedin interfaceTask
-
setDelegatedActors
- Specified by:
setDelegatedActorsin interfaceTask
-
setDescription
- Specified by:
setDescriptionin interfaceTask
-
setDirective
- Specified by:
setDirectivein interfaceTask
-
setDueDate
- Specified by:
setDueDatein interfaceTask
-
setInitiator
- Specified by:
setInitiatorin interfaceTask
-
setName
-
setProcessId
- Specified by:
setProcessIdin interfaceTask
-
setProcessName
- Specified by:
setProcessNamein interfaceTask- Since:
- 7.4
-
setPropertyValue
-
setTargetDocumentsIds
Description copied from interface:TaskThe first id on the list is also set as 'targetDocumentId'- Specified by:
setTargetDocumentsIdsin interfaceTask
-
setType
-
setVariable
- Specified by:
setVariablein interfaceTask
-
setVariables
- Specified by:
setVariablesin interfaceTask
-