public class ToutaticeWorkflowServiceImpl extends org.nuxeo.runtime.model.DefaultComponent implements ToutaticeWorkflowService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
WF_EXT_POINT
Workflows extension point contribution.
|
VALIDATION_WF_CATEGORY, VALIDATION_WF_RUNNING_INFOS_KEY| Constructor and Description |
|---|
ToutaticeWorkflowServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.nuxeo.runtime.model.ComponentContext context) |
List<String> |
getWfnamesByCategory(String category) |
boolean |
hasContributions()
Indicates if ToutaticeWorkflowService has contributions.
|
boolean |
isWorkflowOfCategoryRunning(String category,
org.nuxeo.ecm.core.api.DocumentModel document) |
void |
registerContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor) |
void |
setWfContribs(Map<String,List<String>> wfContribs) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor) |
protected static final String WF_EXT_POINT
public boolean hasContributions()
hasContributions in interface ToutaticeWorkflowServicepublic void setWfContribs(Map<String,List<String>> wfContribs)
wfContribs - the wfContribs to setpublic void activate(org.nuxeo.runtime.model.ComponentContext context)
throws Exception
activate in interface org.nuxeo.runtime.model.Componentactivate in class org.nuxeo.runtime.model.DefaultComponentExceptionpublic void registerContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor) throws Exception
registerContribution in class org.nuxeo.runtime.model.DefaultComponentExceptionpublic void unregisterContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor) throws Exception
unregisterContribution in class org.nuxeo.runtime.model.DefaultComponentExceptionpublic List<String> getWfnamesByCategory(String category)
category - category of workflowspublic boolean isWorkflowOfCategoryRunning(String category, org.nuxeo.ecm.core.api.DocumentModel document)
isWorkflowOfCategoryRunning in interface ToutaticeWorkflowServicecategory - category of workflow(s)document - studied documentCopyright © 2019. All rights reserved.