|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netegrity.llsdk6.imsapi.search.SearchCursor
Performs sorting and paging operations for search result sets.
The Identity Manager API uses the sorting and paging capabilites of the target LDAP directory or ODBC database.search...
methods in the Identity Manager
providers that retrieve managed objects -- that is,
UserProvider
,
GroupProvider
, and
OrganizationProvider
public class SearchCursor
Constructor Summary | |
---|---|
SearchCursor(java.util.Vector sort,
int blockSize,
boolean bSortingCr,
boolean bPagingCr)
Deprecated. Constructs a SearchCursor object with a given sort
order, block size (type int ), and preferences regarding
sorting and paging requirements. |
|
SearchCursor(java.util.Vector sort,
long blockSize,
boolean bSortingCr,
boolean bPagingCr)
Deprecated. Constructs a SearchCursor object with a given sort
order, block size (type long ), and preferences regarding
sorting and paging requirements. |
Method Summary | |
---|---|
long |
getOffset()
Deprecated. Retrieves the starting offset of the block to be returned from the result set. |
java.util.Hashtable |
getProperties()
Deprecated. For internal use only. |
long |
getRowsPerPage()
Deprecated. Retrieves the maximum number of rows that can appear in a single page of search results. |
java.util.Vector |
getSortOrder()
Deprecated. Retrieves the attribute names that define the sort order for the result set. |
boolean |
isPagingCritical()
Deprecated. Indicates whether paging features are critical for a result set. |
boolean |
isSortingCritical()
Deprecated. Indicates whether it is critical to sort a result set. |
boolean |
lockSortOrder()
Deprecated. Locks the sort order. |
void |
setOffset(long size)
Deprecated. Sets the starting offset of the block to be returned from the result set. |
void |
setRowsPerPage(long size)
Deprecated. Sets the maximum number of rows that can appear in a single page of search results. |
boolean |
setSortOrder(java.util.Vector newSort)
Deprecated. Sets the attribute names that define the sort order for the result set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchCursor(java.util.Vector sort, int blockSize, boolean bSortingCr, boolean bPagingCr)
SearchCursor
object with a given sort
order, block size (type int
), and preferences regarding
sorting and paging requirements.
sort
- A Vector of attribute names that determine the sort order.
A result set is sorted alphabetically by the first
attribute in the Vector, and then the second, and so on.blockSize
- The maximum number of rows in a single page of search results.bSortingCr
- If true
, the server should not return
any result set unless it can be sorted.bPagingCr
- If true
, the server should not return
any result set unless it can be paginated.public SearchCursor(java.util.Vector sort, long blockSize, boolean bSortingCr, boolean bPagingCr)
SearchCursor
object with a given sort
order, block size (type long
), and preferences regarding
sorting and paging requirements.
sort
- A Vector of attribute names that determine the sort order.
A result set is sorted alphabetically by the first
attribute in the Vector, and then the second, and so on.blockSize
- The maximum number of rows in a single page of search results.bSortingCr
- If true
, the server should not return
any result set unless it can be sorted.bPagingCr
- If true
, the server should not return
any result set unless it can be paginated.Method Detail |
---|
public java.util.Vector getSortOrder()
Retrieves the attribute names that define the sort order for the result set.
Sort order is described in setSortOrder()
.
public boolean setSortOrder(java.util.Vector newSort)
newSort
- The sort order as a Vector of attribute names.
public boolean lockSortOrder()
Locks the sort order. This method is used internally to make sure that the sort order is not changed while a cursor is in use.
public long getRowsPerPage()
public void setRowsPerPage(long size)
size
- The new maximum rows for a page of search results.public long getOffset()
public void setOffset(long size)
size
- The new starting offset for the block to be returned.public boolean isSortingCritical()
true
, a result set
is returned only if it can be sorted.
true
if sorting is critical, false
otherwise.public boolean isPagingCritical()
true
, a result set
is returned only if it can be paginated.
true
if paging is critical, false
otherwise.public java.util.Hashtable getProperties()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |