Package org.alfresco.repo.workflow
Class WorkflowAdminServiceImpl
java.lang.Object
org.alfresco.repo.workflow.WorkflowAdminServiceImpl
- All Implemented Interfaces:
WorkflowAdminService
Default implementation of the workflow admin service.
- Since:
- 4.0
- Author:
- Gavin Cornwell, Nick Smith
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEngineEnabled(String engineId) Determines whether the engine with the given id is enabled.booleanisEngineVisible(String engineId) Determines whether the workflow definitions are visible for the engine with the given id.voidsetEnabledEngines(Collection<String> engines) Setter for SpringvoidsetEngineEnabled(String engineId, boolean isEnabled) Enables/disables the engine with the given id.voidsetEngineVisibility(String engineId, boolean isVisible) Sets the visiblity of workflow definitions for the engine with the given id.voidsetVisibleEngines(Collection<String> engines) Setter for Spring.void
-
Field Details
-
NAME
- See Also:
-
ENGINE
- See Also:
-
ENABLED
- See Also:
-
VISIBLE
- See Also:
-
-
Constructor Details
-
WorkflowAdminServiceImpl
public WorkflowAdminServiceImpl()
-
-
Method Details
-
isEngineEnabled
Determines whether the engine with the given id is enabled.- Specified by:
isEngineEnabledin interfaceWorkflowAdminService- Parameters:
engineId- The id of a workflow engine- Returns:
- true if the engine id is valid and is enabled
-
setEngineEnabled
Enables/disables the engine with the given id.- Specified by:
setEngineEnabledin interfaceWorkflowAdminService- Parameters:
engineId- The id of a workflow engineisEnabled- true to enable the engine, false to disable
-
isEngineVisible
Determines whether the workflow definitions are visible for the engine with the given id. NOTE: Workflow definitions can always be retrieved directly i.e. via name or id- Specified by:
isEngineVisiblein interfaceWorkflowAdminService- Parameters:
engineId- The id of a workflow engine- Returns:
- true if the definitions are visible
-
setEngineVisibility
Sets the visiblity of workflow definitions for the engine with the given id. NOTE: Workflow definitions can always be retrieved directly i.e. via name or id- Specified by:
setEngineVisibilityin interfaceWorkflowAdminService- Parameters:
engineId- The id of a workflow engineisVisible- true if the definitions are visible
-
setEnabledEngines
Setter for Spring- Parameters:
engines- All engine Ids to enable.
-
getEnabledEngines
- Returns:
- the enabledEngines
-
setVisibleEngines
Setter for Spring.- Parameters:
engines- All engineIds to set visible.
-
getVisibleEngines
- Returns:
- the visibleEngines
-
setWorkflowEngineConfigurations
-