public class WorkflowAdminServiceImpl extends Object implements WorkflowAdminService
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED |
static String |
ENGINE |
static String |
NAME |
static String |
VISIBLE |
Constructor and Description |
---|
WorkflowAdminServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getEnabledEngines() |
Set<String> |
getVisibleEngines() |
boolean |
isEngineEnabled(String engineId)
Determines whether the engine with the given id is enabled.
|
boolean |
isEngineVisible(String engineId)
Determines whether the workflow definitions are visible
for the engine with the given id.
|
void |
setEnabledEngines(Collection<String> engines)
Setter for Spring
|
void |
setEngineEnabled(String engineId,
boolean isEnabled)
Enables/disables the engine with the given id.
|
void |
setEngineVisibility(String engineId,
boolean isVisible)
Sets the visiblity of workflow definitions
for the engine with the given id.
|
void |
setVisibleEngines(Collection<String> engines)
Setter for Spring.
|
void |
setWorkflowEngineConfigurations(List<Properties> props) |
public static final String NAME
public static final String ENGINE
public static final String ENABLED
public static final String VISIBLE
public boolean isEngineEnabled(String engineId)
isEngineEnabled
in interface WorkflowAdminService
engineId
- The id of a workflow enginepublic void setEngineEnabled(String engineId, boolean isEnabled)
setEngineEnabled
in interface WorkflowAdminService
engineId
- The id of a workflow engineisEnabled
- true to enable the engine, false to disablepublic boolean isEngineVisible(String engineId)
isEngineVisible
in interface WorkflowAdminService
engineId
- The id of a workflow enginepublic void setEngineVisibility(String engineId, boolean isVisible)
setEngineVisibility
in interface WorkflowAdminService
engineId
- The id of a workflow engineisVisible
- true if the definitions are visiblepublic void setEnabledEngines(Collection<String> engines)
engines
- All engine Ids to enable.public void setVisibleEngines(Collection<String> engines)
engines
- All engineIds to set visible.public void setWorkflowEngineConfigurations(List<Properties> props)
Copyright © 2005–2017 Alfresco Software. All rights reserved.