mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added tests to ensure multi-tenancy works and fixed several multi-tenancy issues in workflow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,7 +33,7 @@ public interface WorkflowAdminService
|
||||
* @param engineId The id of a workflow engine
|
||||
* @return true if the engine id is valid and is enabled
|
||||
*/
|
||||
public boolean isEngineEnabled(String engineId);
|
||||
boolean isEngineEnabled(String engineId);
|
||||
|
||||
/**
|
||||
* Determines whether the JBPM workflow definitions are visible
|
||||
@@ -42,7 +42,8 @@ public interface WorkflowAdminService
|
||||
* NOTE: Workflow definitions can always be retrieved directly
|
||||
* i.e. via name or id
|
||||
*
|
||||
* @param engineId The id of a workflow engine
|
||||
* @return true if the definitions are visible
|
||||
*/
|
||||
public boolean isJBPMWorkflowDefinitionsVisible();
|
||||
boolean isEngineVisible(String engineId);
|
||||
}
|
||||
|
@@ -197,12 +197,14 @@ public class WorkflowTaskQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link WorkflowTaskQuery#setWorkflowDefinitionName(String)} instead.
|
||||
* Filters on the {@link WorkflowDefinition} name. When using Activiti,
|
||||
* the method {@link #setWorkflowDefinitionName(String)} should be used
|
||||
* instead of this method.
|
||||
*
|
||||
* @param processName
|
||||
*/
|
||||
@Deprecated
|
||||
public void setProcessName(QName processName)
|
||||
{
|
||||
this.processName = processName;
|
||||
|
Reference in New Issue
Block a user