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:
Kevin Roast
2013-03-07 11:36:01 +00:00
parent 0831ef655a
commit b86cd5e5b2
8 changed files with 242 additions and 154 deletions

View File

@@ -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);
}