public interface Task extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
Task.TaskVariableName |
Modifier and Type | Field and Description |
---|---|
static String |
TASK_PROVIDER_KEY |
static final String TASK_PROVIDER_KEY
DocumentModel getDocument()
String getId()
String getTargetDocumentId()
List<String> getActors() throws ClientException
ClientException
String getInitiator() throws ClientException
ClientException
String getName() throws ClientException
ClientException
String getType() throws ClientException
ClientException
String getProcessId() throws ClientException
ClientException
String getDescription() throws ClientException
ClientException
String getDirective() throws ClientException
ClientException
List<TaskComment> getComments() throws ClientException
ClientException
String getVariable(String key) throws ClientException
ClientException
Date getDueDate() throws ClientException
ClientException
Date getCreated() throws ClientException
ClientException
Boolean isCancelled() throws ClientException
ClientException
Boolean isOpened() throws ClientException
ClientException
Boolean hasEnded() throws ClientException
ClientException
Boolean isAccepted() throws ClientException
ClientException
Map<String,String> getVariables() throws ClientException
ClientException
void setActors(List<String> actors) throws ClientException
ClientException
void setInitiator(String initiator) throws ClientException
ClientException
void setTargetDocumentId(String targetDocumentId) throws ClientException
ClientException
void setName(String name) throws ClientException
ClientException
void setType(String type) throws ClientException
ClientException
void setProcessId(String processId) throws ClientException
ClientException
void setDescription(String description) throws ClientException
ClientException
void setDirective(String directive) throws ClientException
ClientException
void setVariable(String key, String value) throws ClientException
ClientException
void setDueDate(Date dueDate) throws ClientException
ClientException
void setCreated(Date created) throws ClientException
ClientException
void setAccepted(Boolean accepted) throws ClientException
ClientException
void setVariables(Map<String,String> variables) throws ClientException
ClientException
void addComment(String author, String text) throws ClientException
ClientException
void cancel(CoreSession coreSession) throws ClientException
ClientException
void end(CoreSession coreSession) throws ClientException
ClientException
List<String> getDelegatedActors() throws ClientException
ClientException
List<String> getTargetDocumentsIds() throws ClientException
ClientException
void setTargetDocumentsIds(List<String> ids) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.