com.webmethods.caf.portalclient.task.task
Class TaskSearchQueryV2

java.lang.Object
  extended by com.webmethods.caf.portalclient.task.task.TaskSearchQuery
      extended by com.webmethods.caf.portalclient.task.task.TaskSearchQueryV2
All Implemented Interfaces:
Serializable

public class TaskSearchQueryV2
extends TaskSearchQuery

An extended TaskSearchQuery to support paging search queries

See Also:
Serialized Form

Field Summary
 int fromIndex
          The index within the search results to begin the page with.
 String sortBy
          The task field to sort the results by.
 String sortOrder
          The sort order of the query results.
 int toIndex
          The index within the search results to end the page with.
 
Fields inherited from class com.webmethods.caf.portalclient.task.task.TaskSearchQuery
doNotShowAcceptedByOthers, maxResults, showNonActiveTasks, terms
 
Constructor Summary
TaskSearchQueryV2()
           
 
Method Summary
 int getFromIndex()
           
 long getInvocationID()
           
 String getPrincipalID()
           
 String getSortBy()
           
 String getSortOrder()
           
 int getToIndex()
           
 boolean isCheckPermissions()
           
 void setCheckPermissions(boolean value)
           
 void setFromIndex(int value)
           
 void setInvocationID(long value)
           
 void setPrincipalID(String value)
           
 void setSortBy(String value)
           
 void setSortOrder(String value)
           
 void setToIndex(int value)
           
 
Methods inherited from class com.webmethods.caf.portalclient.task.task.TaskSearchQuery
getMaxResults, getTerms, isDoNotShowAcceptedByOthers, isShowNonActiveTasks, setDoNotShowAcceptedByOthers, setMaxResults, setShowNonActiveTasks, setTerms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sortBy

public String sortBy
The task field to sort the results by. If using a indexed query, this is the name of the task field, otherwise it is a binding expression to resolve against the task to match


sortOrder

public String sortOrder
The sort order of the query results. Possible values include "asc" or "desc"


fromIndex

public int fromIndex
The index within the search results to begin the page with. Defaults to 0.


toIndex

public int toIndex
The index within the search results to end the page with. Defaults to the last index of the result set.

Constructor Detail

TaskSearchQueryV2

public TaskSearchQueryV2()
Method Detail

isCheckPermissions

public boolean isCheckPermissions()

setCheckPermissions

public void setCheckPermissions(boolean value)

getFromIndex

public int getFromIndex()

setFromIndex

public void setFromIndex(int value)

getInvocationID

public long getInvocationID()

setInvocationID

public void setInvocationID(long value)

getPrincipalID

public String getPrincipalID()

setPrincipalID

public void setPrincipalID(String value)

getSortBy

public String getSortBy()

setSortBy

public void setSortBy(String value)

getSortOrder

public String getSortOrder()

setSortOrder

public void setSortOrder(String value)

getToIndex

public int getToIndex()

setToIndex

public void setToIndex(int value)