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:
@@ -43,14 +43,17 @@ public class WorkflowAdminServiceImpl implements WorkflowAdminService
|
||||
private Set<String> enabledEngines = new HashSet<String>();
|
||||
private Set<String> visibleEngines = new HashSet<String>();
|
||||
|
||||
/**
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
*/
|
||||
public boolean isEngineEnabled(String engineId)
|
||||
{
|
||||
return enabledEngines.contains(engineId);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void setEngineEnabled(String engineId, boolean isEnabled)
|
||||
{
|
||||
if(isEnabled)
|
||||
@@ -63,12 +66,17 @@ public class WorkflowAdminServiceImpl implements WorkflowAdminService
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean isEngineVisible(String engineId)
|
||||
{
|
||||
return isEngineEnabled(engineId) && visibleEngines.contains(engineId);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public void setEngineVisibility(String engineId, boolean isVisible)
|
||||
{
|
||||
if(isVisible)
|
||||
|
Reference in New Issue
Block a user