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:
N Smith
2011-09-16 09:34:02 +00:00
parent 8e9f5be725
commit 6d46ef90ec
29 changed files with 1047 additions and 403 deletions

View File

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

View File

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