Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.automation.jbpm
Class CreateTask

java.lang.Object
  extended by org.nuxeo.ecm.automation.jbpm.CreateTask

public class CreateTask
extends Object

Creates a task

Author:
Anahide Tchertchian

Nested Class Summary
static class CreateTask.OperationTaskVariableName
           
 
Field Summary
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  JbpmTaskService jbpmTaskService
           
protected  String keyForActors
           
protected  String rejectOperationChain
           
protected  String taskName
           
 
Constructor Summary
CreateTask()
           
 
Method Summary
 DocumentModel run(DocumentModel document)
           
 DocumentModelList run(DocumentModelList docs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

ctx

protected OperationContext ctx

coreSession

protected CoreSession coreSession

jbpmTaskService

protected JbpmTaskService jbpmTaskService

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
Constructor Detail

CreateTask

public CreateTask()
Method Detail

run

public DocumentModelList run(DocumentModelList docs)
                      throws Exception
Throws:
Exception

run

public DocumentModel run(DocumentModel document)
                  throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.