mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge of BRANCHES/DEV/4.2_ENT_DEV/ADMIN_CONSOLE2 - Admin Console 46775:47636
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,7 +34,15 @@ public interface WorkflowAdminService
|
||||
* @return true if the engine id is valid and is enabled
|
||||
*/
|
||||
boolean isEngineEnabled(String engineId);
|
||||
|
||||
|
||||
/**
|
||||
* Enables/disables the engine with the given id.
|
||||
*
|
||||
* @param engineId The id of a workflow engine
|
||||
* @param isEnabled true to enable the engine, false to disable
|
||||
*/
|
||||
public void setEngineEnabled(String engineId, boolean isEnabled);
|
||||
|
||||
/**
|
||||
* Determines whether the workflow definitions are visible
|
||||
* for the engine with the given id.
|
||||
@@ -46,4 +54,16 @@ public interface WorkflowAdminService
|
||||
* @return true if the definitions are visible
|
||||
*/
|
||||
boolean isEngineVisible(String engineId);
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* @param engineId The id of a workflow engine
|
||||
* @param isVisible true if the definitions are visible
|
||||
*/
|
||||
public void setEngineVisibility(String engineId, boolean isVisible);
|
||||
}
|
||||
|
Reference in New Issue
Block a user