Package | Description |
---|---|
org.nuxeo.ecm.platform.jbpm | |
org.nuxeo.ecm.platform.jbpm.core.service | |
org.nuxeo.ecm.platform.jbpm.operations | |
org.nuxeo.ecm.platform.jbpm.web |
Modifier and Type | Method and Description |
---|---|
void |
JbpmTaskService.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_COMPLETED and marking the task as
validated. |
boolean |
JbpmTaskService.canEndTask(NuxeoPrincipal principal,
TaskInstance task)
Returns true if user is an administrator, the initiator of the task, or
an actor of the task.
|
ProcessInstance |
JbpmService.createProcessInstance(NuxeoPrincipal user,
String processInstanceName,
DocumentModel dm,
Map<String,Serializable> variables,
Map<String,Serializable> transientVariables)
Returns the created and started process instance.
|
void |
JbpmTaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,Serializable> taskVariables)
Creates a task and starts it.
|
void |
JbpmService.deleteProcessInstance(NuxeoPrincipal principal,
Long processId)
Deletes the process instance and related tasks.
|
void |
JbpmService.deleteTaskInstance(NuxeoPrincipal principal,
Long taskId)
Deletes a task instance (attached to a process or not)
|
void |
JbpmService.endProcessInstance(Long processId)
Terminates this process and all the tokens in it.
|
void |
JbpmTaskService.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
void |
JbpmService.endTask(Long taskInstanceId,
String transition,
Map<String,Serializable> taskVariables,
Map<String,Serializable> variables,
Map<String,Serializable> transientVariables,
NuxeoPrincipal principal)
Ends the task following the transition.
|
Serializable |
JbpmService.executeJbpmOperation(JbpmOperation operation)
Executes a JbpmOperation.
|
List<String> |
JbpmService.getAvailableTransitions(Long taskInstanceId,
NuxeoPrincipal principal)
Returns a list of of possible transition for this user.
|
List<ProcessInstance> |
JbpmService.getCurrentProcessInstances(List<String> actors,
JbpmActorsListFilter filter)
Returns a list of all current process instances that has been started by
one of the actors in the list.
|
List<ProcessInstance> |
JbpmService.getCurrentProcessInstances(NuxeoPrincipal principal,
JbpmListFilter filter)
Returns a list of all current process instances this user has started.
|
List<TaskInstance> |
JbpmService.getCurrentTaskInstances(List<String> actors,
JbpmActorsListFilter filter)
Returns a list of task instances assigned to one of the actors in the
list or to its pool.
|
List<TaskInstance> |
JbpmService.getCurrentTaskInstances(NuxeoPrincipal currentUser,
JbpmListFilter filter)
Returns a list of task instances assigned to this user or one of its
group.
|
DocumentModel |
JbpmService.getDocumentModel(ProcessInstance pi,
NuxeoPrincipal user)
Returns the document used in this process.
|
DocumentModel |
JbpmService.getDocumentModel(TaskInstance ti,
NuxeoPrincipal user)
Returns the document used in this task.
|
Boolean |
JbpmService.getPermission(ProcessInstance pi,
JbpmSecurityPolicy.Action action,
DocumentModel dm,
NuxeoPrincipal principal)
Returns true if this user has this permission for this process instance
and document.
|
ProcessDefinition |
JbpmService.getProcessDefinitionByName(String name)
Returns the latest process definition with this name.
|
List<ProcessDefinition> |
JbpmService.getProcessDefinitions(NuxeoPrincipal user,
DocumentModel dm,
JbpmListFilter filter)
Returns a list of available Process Definition Name available for this
document and user.
|
List<ProcessDefinition> |
JbpmService.getProcessDefinitionsByType(String type)
Returns the latest process definitions attached to a type.
|
ProcessInstance |
JbpmService.getProcessInstance(Long processInstanceId)
Return the process instance.
|
List<ProcessInstance> |
JbpmService.getProcessInstances(DocumentModel dm,
NuxeoPrincipal user,
JbpmListFilter jbpmListFilter)
Returns the list of process instances associated with this document.
|
List<TaskInstance> |
JbpmService.getTaskInstances(DocumentModel dm,
List<String> actors,
JbpmActorsListFilter jbpmActorsListFilter)
Returns the list of task instances associated with this document assigned
to one of the actor in the list or its pool.
|
List<TaskInstance> |
JbpmService.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
JbpmListFilter jbpmListFilter)
Returns the list of task instances associated with this document for
which the user is the actor or belongs to the pooled actor list.
|
List<TaskInstance> |
JbpmService.getTaskInstances(Long processInstanceId,
NuxeoPrincipal principal,
JbpmListFilter filter)
Returns a list of task instance for this process instance.
|
ProcessInstance |
JbpmService.persistProcessInstance(ProcessInstance pi)
Persists a process instance.
|
void |
JbpmTaskService.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_REJECTED and marking the task as
not validated. |
Serializable |
JbpmOperation.run(JbpmContext context) |
void |
JbpmService.saveTaskInstances(List<TaskInstance> taskInstances)
Saves the task instances.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
GetRecipientsForTaskOperation.run(JbpmContext context) |
Serializable |
AddCommentOperation.run(JbpmContext context) |
Modifier and Type | Method and Description |
---|---|
String |
JbpmHelper.updateProcessVariable(ProcessInstance pi,
String variableName,
Object variableValue) |
Copyright © 2013 Nuxeo SA. All Rights Reserved.