|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.worklist.api.TaskSelector
public class TaskSelector
Deprecated: You should not use this class directly. Use TaskQuery instead. In a future release, this class will be removed.
TaskSelector is used to select tasks based on specific properties.
A value for querying can be set against interested properties. If the value is not null, it will be used to filter tasks. Null values and empty arrays (applicable in case of String and String[]) will not be used for filtering.
If multiple querying conditions are specified, only the tasks fulfilling all the conditions will be selected. This selector also allows the results to be sorted in ascending or descending order.
To search for tasks without assignees, use an Assignee object without user or group. Note that if Assignee is part of sorting criteria, only tasks with assignees will be returned.
For sorting the results, use the setSortByXXX(short order) methods. The order parameter indicates the precedence of the sort criteria as well as sorting in descending order or ascending order.
A negative order parameter will result in descending sort order, while a positive parameter will result in ascending sort order.
The absolute value of the order parameter denotes the relative precedence of the sort criteria. A smaller absolute value indicates that the criteria be sorted first.
The following example illustrates the usage:
This means that the tasks will be sorted first by priority in ascending order, followed by sorting on task names
in descending order. If the same order parameter is given to multiple criteria, the relative sort order among the
criteria is not guaranteed. If the order parameter given is Short.MAX_VALUE, then the criteria will not take effect at all.setSortByPriority((short)1);
setSortByTaskName((short)-2);
Some special criteria accept wildcard characters:
% stands for any sequence of characters, _ stands for any single character.
You can escape these characters using \. i.e. %a_b\%%
Deprecated: You should not use this class directly. Use TaskQuery instead. In a future release, this class will be removed.
Constructor Summary | |
---|---|
TaskSelector()
Construct a new empty task selector. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String[] propertyNames,
String[] propertyValues,
boolean[] isPropertyValuePattern)
Deprecated. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String[] propertyNames,
String[] propertyValues,
boolean[] isPropertyValuePattern,
boolean includeTaskRequest,
boolean includeTaskResponse)
Deprecated. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String[] propertyNames,
String[] propertyValues,
boolean[] isPropertyValuePattern,
boolean includeTaskRequest,
boolean includeTaskResponse,
boolean includeTaskProperties)
Deprecated. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String propertyName,
String propertyValue,
boolean isPropertyValuePattern)
Deprecated. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String propertyName,
String propertyValue,
boolean isPropertyValuePattern,
boolean includeTaskRequest,
boolean includeTaskResponse)
Deprecated. |
|
TaskSelector(String[] taskIds,
String taskName,
boolean isNamePattern,
String description,
boolean isDescriptionPattern,
String comment,
boolean isCommentPattern,
String[] owners,
String[] claimants,
Assignee assignee,
Integer minPriority,
Integer maxPriority,
StateType[] stateTypes,
String parentProcessUri,
boolean isParentProcessUriPattern,
String[] parentProcessIds,
String listeningProcessUri,
boolean isListeningProcessUriPattern,
String[] listeningProcessIds,
Date completionDueDateBefore,
Date completionDueDateAfter,
Date claimDueDateBefore,
Date claimDueDateAfter,
Date creationDateBefore,
Date creationDateAfter,
Boolean canBeReassigned,
Boolean canBeReturned,
Boolean canBeAborted,
String propertyName,
String propertyValue,
boolean isPropertyValuePattern,
boolean includeTaskRequest,
boolean includeTaskResponse,
boolean includeTaskProperties)
Deprecated. |
|
TaskSelector(TaskSelector selector)
Copy Constructor |
Method Summary | |
---|---|
void |
addProperties(String[] propertyNames,
String[] propertyValues,
boolean[] isPatternFlags)
|
void |
addProperty(String propertyName,
String[] propertyValues,
boolean isPattern)
|
void |
addProperty(String propertyName,
String propertyValue,
boolean isPattern)
|
Assignee |
getAssignee()
|
Boolean |
getCanBeAborted()
Deprecated. |
Boolean |
getCanBeReassigned()
Deprecated. |
Boolean |
getCanBeReturned()
Deprecated. |
String[] |
getClaimants()
|
Date |
getClaimDueDateAfter()
Deprecated. |
Date |
getClaimDueDateBefore()
Deprecated. |
String |
getComment()
|
Date |
getCompletedDateAfter()
|
Date |
getCompletedDateBefore()
|
Date |
getCompletionDueDateAfter()
|
Date |
getCompletionDueDateBefore()
|
Date |
getCreationDateAfter()
|
Date |
getCreationDateBefore()
|
String |
getDescription()
Deprecated. Description should be placed in the task plan. Use comment for per-task-instance comments. |
List<String> |
getIncludedPropertyNames()
|
boolean |
getIncludeTaskProperties()
|
boolean |
getIncludeTaskRequestMessage()
Deprecated. |
boolean |
getIncludeTaskResponseMessage()
Deprecated. |
String[] |
getListeningProcessIds()
Deprecated. |
String |
getListeningProcessUri()
Deprecated. |
Integer |
getMaxPriority()
|
int |
getMaxTasksReturned()
|
Integer |
getMinPriority()
|
String[] |
getOwners()
|
String[] |
getParentProcessIds()
Deprecated. |
String |
getParentProcessUri()
Deprecated. |
String |
getPropertyName()
Deprecated. Use getPropertyNames() instead. |
String[] |
getPropertyNames()
|
String |
getPropertyValue()
Deprecated. Use getPropertyValue(String propertyName) |
String |
getPropertyValue(String propertyName)
Deprecated. Use getPropertyValues(String propertyName) |
String[] |
getPropertyValues(String propertyName)
Get the property values for the given property. |
short |
getSortByAssignee()
|
short |
getSortByCanBeAborted()
Deprecated. |
short |
getSortByCanBeReassigned()
Deprecated. |
short |
getSortByCanBeReturned()
Deprecated. |
short |
getSortByClaimant()
|
short |
getSortByClaimDueDate()
Deprecated. |
short |
getSortByComment()
|
short |
getSortByCompletedDate()
|
short |
getSortByCompletionDueDate()
|
short |
getSortByCreationDate()
|
short |
getSortByDescription()
Deprecated. Description should be placed in the task plan. Use comment for per-task-instance comments. |
short |
getSortByListeningProcessId()
Deprecated. |
short |
getSortByListeningProcessUri()
Deprecated. |
short |
getSortByOwner()
|
short |
getSortByParentProcessId()
Deprecated. |
short |
getSortByParentProcessUri()
Deprecated. |
short |
getSortByPriority()
|
Map |
getSortByPropertyMap()
|
short |
getSortByPropertyValue()
Deprecated. use getSortByPropertyValue(String propertyName) |
short |
getSortByPropertyValue(String propertyName)
Get the sort value for a given property name, if previously specified. |
short |
getSortByStateType()
Deprecated. Use admin state, working state, and/or current step instead |
short |
getSortByTaskId()
|
short |
getSortByTaskName()
|
StateType[] |
getStateTypes()
Deprecated. Use admin state, working state, and/or current step instead. |
String[] |
getTaskIds()
|
String |
getTaskName()
|
boolean |
isCommentPattern()
|
boolean |
isDescriptionPattern()
Deprecated. Description should be placed in the task plan. Use comment for per-task-instance comments. |
boolean |
isListeningProcessUriPattern()
Deprecated. |
boolean |
isParentProcessUriPattern()
Deprecated. |
boolean |
isPropertyValuePattern()
Deprecated. Use isPropertyValuePattern(String propertyName) |
boolean |
isPropertyValuePattern(String propertyName)
To check if the property value is a pattern. |
boolean |
isSingleton()
|
boolean |
isTaskNamePattern()
|
void |
setAssignee(Assignee assignee)
To search for tasks without assignees, use an Assignee object without user or group. |
void |
setCanBeAborted(Boolean canBeAborted)
Deprecated. |
void |
setCanBeReassigned(Boolean canBeReassigned)
Deprecated. |
void |
setCanBeReturned(Boolean canBeReturned)
Deprecated. |
void |
setClaimants(String[] claimants)
|
void |
setClaimDueDateAfter(Date claimDueDateAfter)
Deprecated. |
void |
setClaimDueDateBefore(Date claimDueDateBefore)
Deprecated. |
void |
setComment(String comment,
boolean isPattern)
|
void |
setCompletedDateAfter(Date completedDateAfter)
|
void |
setCompletedDateBefore(Date completedDateBefore)
|
void |
setCompletionDueDateAfter(Date completionDueDateAfter)
|
void |
setCompletionDueDateBefore(Date completionDueDateBefore)
|
void |
setCreationDateAfter(Date creationDateAfter)
|
void |
setCreationDateBefore(Date creationDateBefore)
|
void |
setDescription(String description,
boolean isPattern)
Deprecated. Description should be placed in the task plan. Use comment for per-task-instance comments. |
void |
setIncludedPropertyNames(List<String> propNames)
|
void |
setIncludeTaskProperties(boolean include)
|
void |
setIncludeTaskRequestMessage(boolean include)
Deprecated. |
void |
setIncludeTaskResponseMessage(boolean include)
Deprecated. |
void |
setListeningProcessIds(String[] listeningProcessIds)
Deprecated. |
void |
setListeningProcessUri(String listeningProcessUri,
boolean isPattern)
Deprecated. |
void |
setMaxPriority(Integer maxPriority)
|
void |
setMaxTasksReturned(int count)
|
void |
setMinPriority(Integer minPriority)
|
void |
setOwners(String[] owners)
|
void |
setParentProcessIds(String[] parentProcessIds)
Deprecated. |
void |
setParentProcessUri(String parentProcessUri,
boolean isPattern)
Deprecated. |
void |
setPropertyName(String propertyName)
|
void |
setPropertyNames(String[] propertyNames)
|
void |
setPropertyValue(String propertyValue,
boolean isPattern)
Deprecated. Use setPropertyValue(String propertyName, String propertyValue, boolean isPattern) |
void |
setPropertyValue(String propertyName,
String propertyValue,
boolean isPattern)
Set the property to the new iarray of values. |
void |
setPropertyValues(String propertyName,
String[] propertyValues,
boolean isPattern)
Set the property to a group of values. |
void |
setSortByAssignee(short order)
If Assignee is part of sorting criteria, only tasks with assignees will be returned. |
void |
setSortByCanBeAborted(short order)
Deprecated. |
void |
setSortByCanBeReassigned(short order)
Deprecated. |
void |
setSortByCanBeReturned(short order)
Deprecated. |
void |
setSortByClaimant(short order)
|
void |
setSortByClaimDueDate(short order)
Deprecated. |
void |
setSortByComment(short order)
|
void |
setSortByCompletedDate(short order)
|
void |
setSortByCompletionDueDate(short order)
|
void |
setSortByCreationDate(short order)
|
void |
setSortByDescription(short order)
Deprecated. Description should be placed in the task plan. Use comment for per-task-instance comments. |
void |
setSortByListeningProcessId(short order)
Deprecated. |
void |
setSortByListeningProcessUri(short order)
Deprecated. |
void |
setSortByOwner(short order)
|
void |
setSortByParentProcessId(short order)
Deprecated. |
void |
setSortByParentProcessUri(short order)
Deprecated. |
void |
setSortByPriority(short order)
|
void |
setSortByPropertyValue(short order)
Deprecated. use setSortByPropertyValue(String propertyName, short order) |
void |
setSortByPropertyValue(String propertyName,
short order)
Request that returned tasks or task IDs be sorted by property |
void |
setSortByStateType(short order)
Deprecated. Use admin state, working state, and/or current step instead |
void |
setSortByTaskId(short order)
|
void |
setSortByTaskName(short order)
|
void |
setStateTypes(StateType[] stateTypes)
Deprecated. Use admin state, working state, and/or current step instead |
void |
setTaskIds(String[] taskIds)
|
void |
setTaskName(String taskName,
boolean isPattern)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskSelector()
public TaskSelector(TaskSelector selector)
public TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String propertyName, String propertyValue, boolean isPropertyValuePattern)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyName
- a task property namepropertyValue
- a task property valueisPropertyValuePattern
- true if property value is a pattern, else falsepublic TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String[] propertyNames, String[] propertyValues, boolean[] isPropertyValuePattern)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyNames
- an array of task property namespropertyValues
- an array of task property valuesisPropertyValuePattern
- an array of booleans declaring whether propertyValue is a patternpublic TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String propertyName, String propertyValue, boolean isPropertyValuePattern, boolean includeTaskRequest, boolean includeTaskResponse)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercreationDateBefore
- Task created beforecreationDateAfter
- Task created aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyName
- a property namepropertyValue
- a property valueisPropertyValuePattern
- an array of booleans declaring whether propertyValue is a patternincludeTaskRequest
- include the Task Request data in the query responseincludeTaskResponse
- include the Task Response data in the query responsepublic TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String[] propertyNames, String[] propertyValues, boolean[] isPropertyValuePattern, boolean includeTaskRequest, boolean includeTaskResponse)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercreationDateBefore
- Task created beforecreationDateAfter
- Task created aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyNames
- an array of task property namespropertyValues
- an array of task property valuesisPropertyValuePattern
- an array of booleans declaring whether propertyValue is a patternincludeTaskRequest
- include the Task Request data in the query responseincludeTaskResponse
- include the Task Response data in the query responsepublic TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String propertyName, String propertyValue, boolean isPropertyValuePattern, boolean includeTaskRequest, boolean includeTaskResponse, boolean includeTaskProperties)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercreationDateBefore
- Task created beforecreationDateAfter
- Task created aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyName
- a task property namepropertyValue
- a task property valueisPropertyValuePattern
- Do we use a pattern for the propertyValue?includeTaskRequest
- include the Task Request data in the query responseincludeTaskResponse
- include the Task Response data in the query responseincludeTaskProperties
- include the Task Properties data in the query responsepublic TaskSelector(String[] taskIds, String taskName, boolean isNamePattern, String description, boolean isDescriptionPattern, String comment, boolean isCommentPattern, String[] owners, String[] claimants, Assignee assignee, Integer minPriority, Integer maxPriority, StateType[] stateTypes, String parentProcessUri, boolean isParentProcessUriPattern, String[] parentProcessIds, String listeningProcessUri, boolean isListeningProcessUriPattern, String[] listeningProcessIds, Date completionDueDateBefore, Date completionDueDateAfter, Date claimDueDateBefore, Date claimDueDateAfter, Date creationDateBefore, Date creationDateAfter, Boolean canBeReassigned, Boolean canBeReturned, Boolean canBeAborted, String[] propertyNames, String[] propertyValues, boolean[] isPropertyValuePattern, boolean includeTaskRequest, boolean includeTaskResponse, boolean includeTaskProperties)
taskIds
- The unique Task identifierstaskName
- The task nameisNamePattern
- true if name is a pattern, else falsedescription
- the task descriptionisDescriptionPattern
- true if description is a pattern, else falsecomment
- the task commentisCommentPattern
- true if comment is a pattern, else falseowners
- The task ownerclaimants
- the task claimantassignee
- the task assigneeminPriority
- the minimum prioritymaxPriority
- the max prioritystateTypes
- the statesparentProcessUri
- The parent process.isParentProcessUriPattern
- true if parent process uri is a pattern, else falseparentProcessIds
- The parent process idlisteningProcessUri
- The listening processisListeningProcessUriPattern
- true if listening process uri is a pattern, else falselisteningProcessIds
- the listening process idscompletionDueDateBefore
- Completion due date beforecompletionDueDateAfter
- Completion due date afterclaimDueDateBefore
- Claim due date beforeclaimDueDateAfter
- Claim due date aftercreationDateBefore
- Task created beforecreationDateAfter
- Task created aftercanBeReassigned
- true if task can be re-assigned, else falsecanBeReturned
- true if task can be returned, else falsecanBeAborted
- true if task can be aborted, else falsepropertyNames
- an array of task property namespropertyValues
- an array of task property valuesisPropertyValuePattern
- an array of booleans declaring whether to use a pattern for the propertyValueincludeTaskRequest
- include the Task Request data in the query responseincludeTaskResponse
- include the Task Response data in the query responseincludeTaskProperties
- include the Task Properties data in the query responseMethod Detail |
---|
public int getMaxTasksReturned()
public void setMaxTasksReturned(int count)
public String[] getTaskIds()
public void setTaskIds(String[] taskIds)
public void setSortByTaskId(short order)
public short getSortByTaskId()
public String getTaskName()
public void setTaskName(String taskName, boolean isPattern)
public boolean isTaskNamePattern()
public void setSortByTaskName(short order)
public short getSortByTaskName()
public String getComment()
public void setComment(String comment, boolean isPattern)
public boolean isCommentPattern()
public void setSortByComment(short order)
public short getSortByComment()
public String getDescription()
public void setDescription(String description, boolean isPattern)
public boolean isDescriptionPattern()
public void setSortByDescription(short order)
public short getSortByDescription()
public String[] getOwners()
public void setOwners(String[] owners)
public void setSortByOwner(short order)
public short getSortByOwner()
public String[] getClaimants()
public void setClaimants(String[] claimants)
public void setSortByClaimant(short order)
public short getSortByClaimant()
public Assignee getAssignee()
public void setAssignee(Assignee assignee)
public void setSortByAssignee(short order)
order
- public short getSortByAssignee()
public StateType[] getStateTypes()
public void setStateTypes(StateType[] stateTypes)
stateTypes
- an array of state typespublic void setSortByStateType(short order)
order
- public short getSortByStateType()
public String getParentProcessUri()
public void setParentProcessUri(String parentProcessUri, boolean isPattern)
public boolean isParentProcessUriPattern()
public void setSortByParentProcessUri(short order)
public short getSortByParentProcessUri()
public String[] getParentProcessIds()
public void setParentProcessIds(String[] parentProcessIds)
public void setSortByParentProcessId(short order)
public short getSortByParentProcessId()
public String getListeningProcessUri()
public void setListeningProcessUri(String listeningProcessUri, boolean isPattern)
public boolean isListeningProcessUriPattern()
public void setSortByListeningProcessUri(short order)
public short getSortByListeningProcessUri()
public String[] getListeningProcessIds()
public void setListeningProcessIds(String[] listeningProcessIds)
public void setSortByListeningProcessId(short order)
public short getSortByListeningProcessId()
public Date getCompletionDueDateBefore()
public Date getCompletionDueDateAfter()
public void setCompletionDueDateBefore(Date completionDueDateBefore)
public void setCompletionDueDateAfter(Date completionDueDateAfter)
public void setSortByCompletionDueDate(short order)
public short getSortByCompletionDueDate()
public Date getClaimDueDateBefore()
public Date getClaimDueDateAfter()
public void setClaimDueDateBefore(Date claimDueDateBefore)
public void setClaimDueDateAfter(Date claimDueDateAfter)
public void setSortByClaimDueDate(short order)
public short getSortByClaimDueDate()
public Date getCreationDateBefore()
public Date getCreationDateAfter()
public void setCreationDateBefore(Date creationDateBefore)
public void setCreationDateAfter(Date creationDateAfter)
public void setSortByCreationDate(short order)
public short getSortByCreationDate()
public Boolean getCanBeReassigned()
public void setCanBeReassigned(Boolean canBeReassigned)
public void setSortByCanBeReassigned(short order)
public short getSortByCanBeReassigned()
public Boolean getCanBeReturned()
public void setCanBeReturned(Boolean canBeReturned)
public void setSortByCanBeReturned(short order)
public short getSortByCanBeReturned()
public Boolean getCanBeAborted()
public void setCanBeAborted(Boolean canBeAborted)
public void setSortByCanBeAborted(short order)
public short getSortByCanBeAborted()
public Integer getMinPriority()
public Integer getMaxPriority()
public void setMinPriority(Integer minPriority)
public void setMaxPriority(Integer maxPriority)
public void setSortByPriority(short order)
public short getSortByPriority()
public void addProperty(String propertyName, String propertyValue, boolean isPattern)
propertyName
- propertyValue
- isPattern
- public void addProperty(String propertyName, String[] propertyValues, boolean isPattern)
propertyName
- propertyValue
- isPattern
- public void addProperties(String[] propertyNames, String[] propertyValues, boolean[] isPatternFlags)
public String getPropertyValue()
getPropertyValue(String propertyName)
getPropertyValue(String)
public String getPropertyValue(String propertyName)
getPropertyValues(String propertyName)
propertyName
-
public String[] getPropertyValues(String propertyName)
propertyName
-
public void setPropertyValue(String propertyName, String propertyValue, boolean isPattern)
propertyName
- propertyValue
- isPattern
- public void setPropertyValues(String propertyName, String[] propertyValues, boolean isPattern)
propertyName
- propertyValues
- isPattern
- public void setPropertyValue(String propertyValue, boolean isPattern)
setPropertyValue(String propertyName, String propertyValue, boolean isPattern)
propertyValue
- isPattern
- setPropertyValue(String,String,boolean)
public String getPropertyName()
getPropertyNames()
instead.
getPropertyNames()
public String[] getPropertyNames()
public void setPropertyName(String propertyName)
public void setPropertyNames(String[] propertyNames)
public boolean isPropertyValuePattern()
isPropertyValuePattern(String propertyName)
isPropertyValuePattern(String)
public boolean isPropertyValuePattern(String propertyName)
public void setSortByPropertyValue(short order)
order
-
IllegalArgumentException
- if setSortByPropertyValue(String propertyName, short order)
has already been called.public short getSortByPropertyValue()
public void setSortByPropertyValue(String propertyName, short order)
propertyName
- the name of the propery to sort onorder
- the sort order for this property
IllegalArgumentException
- if setSortByPropertyValue(short order)
has already been called.public short getSortByPropertyValue(String propertyName)
propertyName
- the name of the propery to sort on
IllegalArgumentException
- if setSortByPropertyValue(short order)
has already been called.public Map getSortByPropertyMap()
public boolean getIncludeTaskRequestMessage()
public void setIncludeTaskRequestMessage(boolean include)
public boolean getIncludeTaskResponseMessage()
public void setIncludeTaskResponseMessage(boolean include)
public boolean getIncludeTaskProperties()
public void setIncludeTaskProperties(boolean include)
public List<String> getIncludedPropertyNames()
public void setIncludedPropertyNames(List<String> propNames)
public Date getCompletedDateBefore()
public Date getCompletedDateAfter()
public void setCompletedDateBefore(Date completedDateBefore)
completedDateBefore
- public void setCompletedDateAfter(Date completedDateAfter)
completedDateAfter
- public void setSortByCompletedDate(short order)
public short getSortByCompletedDate()
public boolean isSingleton()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |