@Name(value="routingActions")
@Scope(value=CONVERSATION)
@Install(precedence=31)
public class ToutaticeDocumentRoutingActionsBean
extends org.nuxeo.ecm.platform.routing.web.DocumentRoutingActionsBean
currentUser, documentManager, documentsListsManager, docWithAttachedRouteId, eventManager, facesMessages, hiddenDocOrder, hiddenSourceDocId, lockActions, navigationContext, relatedRouteAction, relatedRouteModelDocumentId, relatedRoutes, resourcesAccessor, ROUTE_DOCUMENT_REF, SOURCE_DOC_NAME, stepId, typeManager, typesTool, webActions| Constructor and Description |
|---|
ToutaticeDocumentRoutingActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
cancelOnlineWorkflow() |
String |
cancelRoute()
To allow to fire beforeWorkflowProcessCanceled event.
|
String |
cancelWorkflow(String wfName) |
org.nuxeo.ecm.platform.routing.api.DocumentRoute |
getOnlineWorkflow() |
String |
getPendingWorkflowName() |
org.nuxeo.ecm.platform.routing.api.DocumentRoute |
getRunningWorkflowByName(List<org.nuxeo.ecm.platform.routing.api.DocumentRoute> routes,
String workflowName) |
org.nuxeo.ecm.platform.task.Task |
getValidateTask(String wfName) |
boolean |
isCancelOnlineActionAuthorized()
Determine si l'action "workflow_online_cancel" de la vue 'summary' doit
être présentée.
|
boolean |
isDirectSetOnlineActionAuthorized()
Determine si l'action "direct_online" de la vue 'summary' doit être
présentée.
|
boolean |
isOnLineWfPending(org.nuxeo.ecm.core.api.DocumentModel document) |
boolean |
isOnLineWorkflowRunning() |
boolean |
isWorkflowRunning()
Check if a workflow is running on current document.
|
boolean |
isWorkflowRunningForDocument(org.nuxeo.ecm.core.api.DocumentModel document) |
boolean |
isWorkflowRunningForSelection()
Check if a process (DocumentRoute) is running on current selection list
of documents.
|
String |
startOnlineWorkflow() |
String |
startWorkflow(org.nuxeo.ecm.core.api.DocumentModel workflow,
String msgKey) |
canLockRoute, canUnlockRoute, computeRelatedRouteElements, computeRouteElements, createRouteElement, currentRouteModelIsDraft, editStep, getCanDuplicateRouteInstance, getChildWithPosition, getCurrentRouteAllTasks, getCurrentRouteCurrentUserTasks, getCurrentRouteLockDetails, getCurrentWorkflowInitiator, getDocumentModelConverter, getDocumentRoutingService, getDocWithAttachedRouteId, getElements, getFilteredRouteModels, getHiddenDocOrder, getHiddenSourceDocId, getOrderedChildren, getPositionForChild, getRelatedRoute, getRelatedRouteModelDocumentId, getRelatedRoutes, getRouteInstanceFor, getRouteModel, getTypeDescription, goBackToRoute, hasRelatedRoute, isCurrentRouteGraph, isCurrentRouteLocked, isCurrentRouteLockedByCurrentUser, isEditableRouteElement, isEditableStep, isEmptyFork, isRoutable, isRouteGraph, isStep, lockCurrentRoute, lockRoute, moveRouteElement, queryForRelatedRoutes, removeStep, resetCache, resetRelatedRouteDocumentId, routeRelatedToCurrentDocumentIsRunning, saveRouteAsNewInstance, saveRouteElement, saveSelectedRouteAsNewInstance, setDocWithAttachedRouteId, setHiddenDocOrder, setHiddenSourceDocId, setRelatedRouteModelDocumentId, startRoute, startRouteRelatedToCurrentDocument, unlockCurrentRoute, updateRouteElement, validateRouteModelpublic String startOnlineWorkflow() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String startWorkflow(org.nuxeo.ecm.core.api.DocumentModel workflow, String msgKey)
public org.nuxeo.ecm.platform.task.Task getValidateTask(String wfName) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean isWorkflowRunning()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean isWorkflowRunningForSelection()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean isWorkflowRunningForDocument(org.nuxeo.ecm.core.api.DocumentModel document)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean isCancelOnlineActionAuthorized()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean isOnLineWorkflowRunning()
public boolean isDirectSetOnlineActionAuthorized()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String getPendingWorkflowName() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String cancelOnlineWorkflow() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic String cancelRoute() throws org.nuxeo.ecm.core.api.ClientException
cancelRoute in class org.nuxeo.ecm.platform.routing.web.DocumentRoutingActionsBeanorg.nuxeo.ecm.core.api.ClientExceptionpublic String cancelWorkflow(String wfName) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic org.nuxeo.ecm.platform.routing.api.DocumentRoute getOnlineWorkflow()
public org.nuxeo.ecm.platform.routing.api.DocumentRoute getRunningWorkflowByName(List<org.nuxeo.ecm.platform.routing.api.DocumentRoute> routes, String workflowName)
public boolean isOnLineWfPending(org.nuxeo.ecm.core.api.DocumentModel document)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionCopyright © 2020. All rights reserved.