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