|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.idp.dsc.filter.DefaultPropertyFilter
com.adobe.idp.taskmanager.dsc.client.query.ProcessSearchFilter
public class ProcessSearchFilter
A filter object to be used by the
TaskManagerQueryService.processSearch()
method.
The ProcessSearchFilter object can be used to add attributes with which to filter
results.
When searching for process variables or adding them to a result set, you must specify the service (process) name that you are searching against
using the ProcessSearchFilter object.
ProcessSearchFilter filter = new ProcessSearchFilter();
filter.setServiceName("procvar3");
After the service name is set, you can add process variables to a condition or to the result set. To do so, add the prefix
"procVar." to your process variable. If a process variable is called "one",
it will become "procVar.one" when used with the
TaskSearchFilter object.
filter.addCondition("procVar.two", Operator.EQUALS, new Long(28));
filter.addResultsetAttribute("procVar.one");
Only simple types of process variables are handled by query service methods. The supported process variable types are as follows:
booleanbytedatedate-timedecimaldoublefloatintlongshortstring
| Constructor Summary | |
|---|---|
ProcessSearchFilter()
The default constructor. |
|
| Method Summary | |
|---|---|
ProcessSearchingUtil |
getPropertyUtil()
Deprecated. Retrieves a |
java.lang.String |
getServiceName()
Retrieves the service name. |
void |
setPropertyUtil(ProcessSearchingUtil aUtil)
Deprecated. For internal use only. Do not use. |
void |
setServiceName(java.lang.String serviceName)
Sets the service name. |
| Methods inherited from class com.adobe.idp.dsc.filter.DefaultPropertyFilter |
|---|
addCondition, addCondition, addCondition, addCondition, addCondition, addCondition, addCondition, addCondition, addCondition, addCondition, addSortAsc, addSortDesc, getConditionList, getConditions, getMaxObjects, getOffset, getPagingFilter, getReturnSizeOfValue, getSortList, setConditionList, setConditions, setMaxObjects, setOffset, setPagingFilter, setReturnSizeOfValue, setSortList |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessSearchFilter()
| Method Detail |
|---|
public ProcessSearchingUtil getPropertyUtil()
Retrieves a ProcessSearchingUtil object containing the attribute definitions used to
filter queries and build result sets.
public void setPropertyUtil(ProcessSearchingUtil aUtil)
public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName - The service name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||