Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11g Release 1 (11.1.1)

E39432-01


oracle.igf.ids
Class SearchOptions

java.lang.Object
  extended by oracle.igf.ids.OperationOptions
      extended by oracle.igf.ids.ReadOptions
          extended by oracle.igf.ids.SearchOptions


public class SearchOptions
extends ReadOptions

This class extends ReadOptions containing options for entity search operation. Search options include Locale, Requested Attributes, Sort attributes, page size and page position.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.igf.ids.ReadOptions
ReadOptions.SearchScope

 

Field Summary

 

Fields inherited from class oracle.igf.ids.ReadOptions
ALL_LOCALES

 

Constructor Summary
SearchOptions()
           

 

Method Summary
 SearchOptions clone()
          Clones this object
 int getPageSize()
          Gets the page size
 int getRequestedPage()
          Gets the page position
 int getSizeLimit()
          Gets the size limit
 java.lang.String[] getSortAttrs()
          Gets the array of sort attributes
 void setPageSize(int pageSize)
          Sets the pagesize to be used while searching the entities in the repository.
 void setRequestedPage(int requestedPage)
          Sets the page position, the entities in the page to be returned
 void setSizeLimit(int sizeLimit)
          Sets the size limit, maximum number of entities to be returned by the search method
 void setSortAttrs(java.lang.String[] sortAttrs)
          Sets the array of attributes on which the search results to be sorted.

 

Methods inherited from class oracle.igf.ids.ReadOptions
getLocale, getRequestedAttrs, getSearchBase, getSearchScope, getTimeLimit, isSearchBaseAbsolute, setLocale, setLocale, setRequestedAttrs, setSearchBase, setSearchBase, setSearchScope, setTimeLimit

 

Methods inherited from class oracle.igf.ids.OperationOptions
getAuthUser, getParameter, getParameters, setAuthUser, setAuthUser, setParameter

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SearchOptions

public SearchOptions()

Method Detail

setSortAttrs

public void setSortAttrs(java.lang.String[] sortAttrs)
Sets the array of attributes on which the search results to be sorted. Sorting of the results by these attributes is not guaranteed. Results are sorted only if the backend repository supports sorting. Relationship results are not sorted.
Parameters:
sortAttrs - array of sort attributes

getSortAttrs

public java.lang.String[] getSortAttrs()
Gets the array of sort attributes
Returns:
array of sort attributes

setPageSize

public void setPageSize(int pageSize)
Sets the pagesize to be used while searching the entities in the repository. If either the pagesize is 0 or the backend does not support paging then the search method may not return all the entities matching the search filter.
Parameters:
pageSize - page size

getPageSize

public int getPageSize()
Gets the page size
Returns:
pagesize

setRequestedPage

public void setRequestedPage(int requestedPage)
Sets the page position, the entities in the page to be returned
Parameters:
requestedPage - page position

getRequestedPage

public int getRequestedPage()
Gets the page position
Returns:
page position

setSizeLimit

public void setSizeLimit(int sizeLimit)
Sets the size limit, maximum number of entities to be returned by the search method
Parameters:
sizeLimit - maximum number of entities to be returned

getSizeLimit

public int getSizeLimit()
Gets the size limit
Returns:
size limit

clone

public SearchOptions clone()
Clones this object
Overrides:
clone in class ReadOptions
Returns:
cloned object

Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11g Release 1 (11.1.1)

E39432-01


Copyright © 2013 Oracle. All Rights Reserved.