public interface WorkflowProvider
String getKey()
List<WorkflowDefinition> getAvailableWorkflows(Locale uiLocale)
WorkflowDefinition getWorkflowDefinitionByKey(String key, Locale uiLocale)
List<Workflow> getActiveWorkflowsInformations(List<String> processIds, Locale uiLocale)
String startProcess(String processKey, Map<String,Object> args)
processKey - args - void abortProcess(String processId)
Set<WorkflowAction> getAvailableActions(String processId, Locale uiLocale)
processId - uiLocale - current UI display localeList<WorkflowTask> getTasksForUser(JahiaUser user, Locale uiLocale)
List<Workflow> getWorkflowsForDefinition(String definition, Locale uiLocale)
void completeTask(String taskId, JahiaUser jahiaUser, String outcome, Map<String,Object> args)
WorkflowTask getWorkflowTask(String taskId, Locale uiLocale)
List<HistoryWorkflow> getHistoryWorkflowsForNode(String nodeId, Locale uiLocale)
List<HistoryWorkflow> getHistoryWorkflowsForPath(String path, Locale uiLocale)
List<HistoryWorkflow> getHistoryWorkflows(List<String> processIds, Locale uiLocale)
processIds - list of process IDs to retrieve history records foruiLocale - the UI localeList<HistoryWorkflowTask> getHistoryWorkflowTasks(String processId, Locale uiLocale)
processId - the process instance IDuiLocale - the UI localevoid deleteProcess(String processId)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.