public class BPMEngineRegistry extends Object
Constructor and Description |
---|
BPMEngineRegistry()
Construct
|
Modifier and Type | Method and Description |
---|---|
static String |
createGlobalId(String engineId,
String localId)
Construct a global Id
|
static String |
getEngineId(String globalId)
Get the engine id from a global id
|
static String[] |
getGlobalIdParts(String globalId)
Break apart a global id into its engine and local ids
|
static String |
getLocalId(String globalId)
Get the local id from a global id
|
TaskComponent |
getTaskComponent(String engineId)
Gets a specific BPM Engine Task Component
|
String[] |
getTaskComponents()
Gets all registered Task Components
|
WorkflowComponent |
getWorkflowComponent(String engineId)
Gets a specific BPM Engine Workflow Component
|
String[] |
getWorkflowComponents()
Gets all registered Workflow Components
|
static boolean |
isGlobalId(String globalId,
String engineId)
Returns
true if the globalId parameter is a valid global Id
for the given engineId. |
void |
registerTaskComponent(String engineId,
TaskComponent engine)
Register a BPM Engine Task Component
|
void |
registerWorkflowComponent(String engineId,
WorkflowComponent engine)
Register a BPM Engine Workflow Component
|
void |
setWorkflowAdminService(WorkflowAdminService workflowAdminService)
Sets the workflow admin service
|
public void setWorkflowAdminService(WorkflowAdminService workflowAdminService)
workflowAdminService
- the workflow admin servicepublic void registerWorkflowComponent(String engineId, WorkflowComponent engine)
engineId
- engine idengine
- implementing enginepublic String[] getWorkflowComponents()
public WorkflowComponent getWorkflowComponent(String engineId)
engineId
- engine idpublic void registerTaskComponent(String engineId, TaskComponent engine)
engineId
- engine idengine
- implementing enginepublic String[] getTaskComponents()
public TaskComponent getTaskComponent(String engineId)
engineId
- engine idpublic static String createGlobalId(String engineId, String localId)
engineId
- engine idlocalId
- engine local idpublic static String[] getGlobalIdParts(String globalId)
globalId
- the global idpublic static String getEngineId(String globalId)
globalId
- the global idpublic static String getLocalId(String globalId)
globalId
- the global idCopyright © 2005–2017 Alfresco Software. All rights reserved.