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
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()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.