com.adobe.idp.taskmanager.dsc.client.query
Class ProcessSearchFilter

java.lang.Object
  extended by com.adobe.idp.dsc.filter.DefaultPropertyFilter
      extended by com.adobe.idp.taskmanager.dsc.client.query.ProcessSearchFilter
All Implemented Interfaces:
com.adobe.idp.dsc.filter.PagingFilter, com.adobe.idp.dsc.filter.PropertyFilter, java.io.Serializable

public class ProcessSearchFilter
extends com.adobe.idp.dsc.filter.DefaultPropertyFilter

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:

See Also:
Serialized Form

Constructor Summary
ProcessSearchFilter()
          The default constructor.
 
Method Summary
 ProcessSearchingUtil getPropertyUtil()
          Deprecated. 

Retrieves a ProcessSearchingUtil object containing the attribute definitions used to filter queries and build result sets.

 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

ProcessSearchFilter

public ProcessSearchFilter()
The default constructor.

Method Detail

getPropertyUtil

public ProcessSearchingUtil getPropertyUtil()
Deprecated. 

Retrieves a ProcessSearchingUtil object containing the attribute definitions used to filter queries and build result sets.

For internal use only. Do not use.

Returns:
The process attribute mapping class.

setPropertyUtil

public void setPropertyUtil(ProcessSearchingUtil aUtil)
Deprecated. For internal use only. Do not use.


getServiceName

public java.lang.String getServiceName()
Retrieves the service name.

Returns:
The service name.

setServiceName

public void setServiceName(java.lang.String serviceName)
Sets the service name.

Parameters:
serviceName - The service name.


[an error occurred while processing this directive] [an error occurred while processing this directive]