Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.jbpm.web
Interface JbpmActions

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JbpmActionsBean

public interface JbpmActions
extends java.io.Serializable

Author:
Anahide Tchertchian

Method Summary
 java.lang.String abandonCurrentProcess()
           
 java.lang.String addNewVirtualTask()
           
 java.lang.String createProcessInstance(NuxeoPrincipal principal, java.lang.String pd, DocumentModel dm, java.lang.String endLifeCycle)
           
 java.util.List<java.lang.String> getAllowedStateTransitions(DocumentRef ref)
          Returns the list of allowed life cycle state transitions for given document.
 boolean getCanCreateProcess()
           
 boolean getCanEndTask(TaskInstance taskInstance)
           
 boolean getCanManageParticipants()
           
 boolean getCanManageProcess()
           
 ProcessInstance getCurrentProcess()
           
 java.lang.String getCurrentProcessInitiator()
           
 java.util.List<TaskInstance> getCurrentTasks(java.lang.String... taskNames)
           
 java.util.ArrayList<VirtualTaskInstance> getCurrentVirtualTasks()
           
 VirtualTaskInstance getNewVirtualTask()
           
 boolean getShowAddVirtualTaskForm()
           
 java.lang.String getUserComment()
           
 boolean isProcessStarted(java.lang.String startTaskName)
           
 java.lang.String moveDownVirtualTask(int index)
           
 java.lang.String moveUpVirtualTask(int index)
           
 java.lang.String rejectTask(TaskInstance taskInstance, java.lang.String transition)
           
 java.lang.String removeVirtualTask(int index)
           
 void resetCurrentData()
           
 void setUserComment(java.lang.String comment)
           
 java.lang.String startProcess(java.lang.String startTaskName)
           
 void toggleShowAddVirtualTaskForm(javax.faces.event.ActionEvent event)
           
 java.lang.String validateTask(TaskInstance taskInstance, java.lang.String transition)
           
 void validateTaskDueDate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 

Method Detail

getCanCreateProcess

boolean getCanCreateProcess()
                            throws ClientException
Throws:
ClientException

getCanManageProcess

boolean getCanManageProcess()
                            throws ClientException
Throws:
ClientException

getCanManageParticipants

boolean getCanManageParticipants()
                                 throws ClientException
Throws:
ClientException

getCanEndTask

boolean getCanEndTask(TaskInstance taskInstance)
                      throws ClientException
Throws:
ClientException

createProcessInstance

java.lang.String createProcessInstance(NuxeoPrincipal principal,
                                       java.lang.String pd,
                                       DocumentModel dm,
                                       java.lang.String endLifeCycle)
                                       throws ClientException
Throws:
ClientException

getCurrentProcess

ProcessInstance getCurrentProcess()
                                  throws ClientException
Throws:
ClientException

getCurrentProcessInitiator

java.lang.String getCurrentProcessInitiator()
                                            throws ClientException
Throws:
ClientException

getCurrentTasks

java.util.List<TaskInstance> getCurrentTasks(java.lang.String... taskNames)
                                             throws ClientException
Throws:
ClientException

getCurrentVirtualTasks

java.util.ArrayList<VirtualTaskInstance> getCurrentVirtualTasks()
                                                                throws ClientException
Throws:
ClientException

getShowAddVirtualTaskForm

boolean getShowAddVirtualTaskForm()
                                  throws ClientException
Throws:
ClientException

toggleShowAddVirtualTaskForm

void toggleShowAddVirtualTaskForm(javax.faces.event.ActionEvent event)
                                  throws ClientException
Throws:
ClientException

getNewVirtualTask

VirtualTaskInstance getNewVirtualTask()

addNewVirtualTask

java.lang.String addNewVirtualTask()
                                   throws ClientException
Throws:
ClientException

removeVirtualTask

java.lang.String removeVirtualTask(int index)
                                   throws ClientException
Throws:
ClientException

moveUpVirtualTask

java.lang.String moveUpVirtualTask(int index)
                                   throws ClientException
Throws:
ClientException

moveDownVirtualTask

java.lang.String moveDownVirtualTask(int index)
                                     throws ClientException
Throws:
ClientException

getAllowedStateTransitions

java.util.List<java.lang.String> getAllowedStateTransitions(DocumentRef ref)
                                                            throws ClientException
Returns the list of allowed life cycle state transitions for given document.

Throws:
ClientException

getUserComment

java.lang.String getUserComment()

setUserComment

void setUserComment(java.lang.String comment)

validateTaskDueDate

void validateTaskDueDate(javax.faces.context.FacesContext context,
                         javax.faces.component.UIComponent component,
                         java.lang.Object value)

isProcessStarted

boolean isProcessStarted(java.lang.String startTaskName)
                         throws ClientException
Throws:
ClientException

startProcess

java.lang.String startProcess(java.lang.String startTaskName)
                              throws ClientException
Throws:
ClientException

validateTask

java.lang.String validateTask(TaskInstance taskInstance,
                              java.lang.String transition)
                              throws ClientException
Throws:
ClientException

rejectTask

java.lang.String rejectTask(TaskInstance taskInstance,
                            java.lang.String transition)
                            throws ClientException
Throws:
ClientException

abandonCurrentProcess

java.lang.String abandonCurrentProcess()
                                       throws ClientException
Throws:
ClientException

resetCurrentData

void resetCurrentData()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.