mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added method to find tasks based on workflow definition name (String instead of QName as in setProcessName)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,6 +42,7 @@ public class WorkflowTaskQuery
|
||||
// process predicates
|
||||
private String processId;
|
||||
private QName processName;
|
||||
private String workflowDefinitionName;
|
||||
private Boolean active = Boolean.TRUE;
|
||||
private Map<QName, Object> processCustomProps;
|
||||
|
||||
@@ -193,7 +194,10 @@ public class WorkflowTaskQuery
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters on the {@link WorkflowDefinition} name.
|
||||
* Filters on the {@link WorkflowDefinition} name. When using Activiti,
|
||||
* the method {@link #setWorkflowDefinitionName(String)} should be used
|
||||
* instead of this method.
|
||||
*
|
||||
* @param processName
|
||||
*/
|
||||
public void setProcessName(QName processName)
|
||||
@@ -201,6 +205,23 @@ public class WorkflowTaskQuery
|
||||
this.processName = processName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getWorkflowDefinitionName()
|
||||
{
|
||||
return workflowDefinitionName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters on the {@link WorkflowDefinition} name.
|
||||
* @param workflowDefinitionName
|
||||
*/
|
||||
public void setWorkflowDefinitionName(String workflowDefinitionName)
|
||||
{
|
||||
this.workflowDefinitionName = workflowDefinitionName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
|
Reference in New Issue
Block a user