Package org.nuxeo.ecm.automation.task
Class CreateTask
- java.lang.Object
-
- org.nuxeo.ecm.automation.task.CreateTask
-
public class CreateTask extends Object
Creates a task- Since:
- 5.5
- Author:
- Anahide Tchertchian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateTask.OperationTaskVariableName
-
Field Summary
Fields Modifier and Type Field Description protected String
acceptOperationChain
protected StringList
additionalPrefixedActors
protected String
comment
protected CoreSession
coreSession
protected boolean
createOneTaskPerActor
protected OperationContext
ctx
protected String
directive
protected Date
dueDate
static String
ID
protected String
keyForActors
protected String
rejectOperationChain
protected String
taskName
protected TaskService
TaskService
-
Constructor Summary
Constructors Constructor Description CreateTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel document)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
coreSession
protected CoreSession coreSession
-
TaskService
protected TaskService TaskService
-
taskName
protected String taskName
-
dueDate
protected Date dueDate
-
directive
protected String directive
-
comment
protected String comment
-
acceptOperationChain
protected String acceptOperationChain
-
rejectOperationChain
protected String rejectOperationChain
-
keyForActors
protected String keyForActors
-
additionalPrefixedActors
protected StringList additionalPrefixedActors
-
createOneTaskPerActor
protected boolean createOneTaskPerActor
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel document) throws OperationException
- Throws:
OperationException
-
-