|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.dmsapi.SmDmsCursor
public class SmDmsCursor
Represents an SmDmsCursor object for result set sorting
and paging operations.
search... methods in the
SmDmsOrganization class.
In addition, the following methods support sorting
and paging behavior:
getGroups(SmDmsCursor, Vector, Vector, int) in SmDmsOrganization
getGroups(SmDmsCursor, Vector, Vector, boolean, int) in SmDmsObject
getMembers(SmDmsCursor, Vector, Vector, int) in SmDmsGroup
SmDmsCursor object, see
the Programming Guide for Java.
SmDmsCursor
Constructor Detail.
| Constructor Summary | |
|---|---|
SmDmsCursor(java.util.Vector sort,
int blockSize,
boolean bSortingCr,
boolean bPagingCr)
Constructs an SmDmsCursor object with a given sort
order, block size, and preferences regarding sorting and
paging requirements. |
|
| Method Summary | |
|---|---|
int |
getBlockSize()
Gets the block size to be returned from the result set. |
java.lang.String |
getErrorMessage()
Gets the error message, if any, that resulted from an LDAP or ODBC query. |
int |
getOffset()
Gets the starting offset of the block to be returned from the result set. |
int |
getResultSize()
Gets the number of rows actually returned from a result set. |
java.util.Vector |
getSortOrder()
Gets the sort order for the result set as a Vector of attribute names. |
int |
getTotalSize()
Gets the total number of rows in the result set before paging. |
boolean |
isPaginated()
Specifies whether the result set was successfully paginated. |
boolean |
isPagingCritical()
Indicates whether paging features are critical for a result set. |
boolean |
isSorted()
Specifies whether the result set was successfully sorted. |
boolean |
isSortingCritical()
Indicates whether it is critical to sort a result set. |
void |
setBlockSize(int size)
Sets the block size to be returned from the result set. |
void |
setOffset(int size)
Sets the starting offset of the block to be returned from the result set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmDmsCursor(java.util.Vector sort,
int blockSize,
boolean bSortingCr,
boolean bPagingCr)
Constructs an SmDmsCursor object with a given sort
order, block size, and preferences regarding sorting and
paging requirements.
sort - A Vector of attribute names that indicates the sort order.
The attribute names are the items to be retrieved. For
ODBC database user directories, these are column names.
The result set is sorted by the first attriute in
the Vector, and then the second, and so on.
To indicate a reverse sorting order for an attribute,
prefix the attribute with a dash character (-).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 shoult not return
any result set unless it can be paginated.| Method Detail |
|---|
public java.util.Vector getSortOrder()
SmDmsCursor object is passed to a method,
the sort order is an input parameter.
sort parameter of the
SmDmsCursor constructor. The sort order can't
be changed once the object is constructed.
public int getBlockSize()
SmDmsCursor object is passed to a method,
the block size is an input parameter.
public void setBlockSize(int size)
size - The block size.public int getOffset()
SmDmsCursor object is passed to a method,
the offset is an input parameter.
public void setOffset(int size)
size - The new starting offset for the block.public boolean isSortingCritical()
true, a result set
will only be returned if it can be sorted.
SmDmsCursor object is passed to a method,
the is-sorting-critical value is an input parameter.
true if sorting is critical, false
otherwise.public boolean isPagingCritical()
true, a result set will only
be returned if it can be paginated.
SmDmsCursor object is passed to a method,
the is-paginating-critical value is an input parameter.
true if paging is critical, false
otherwise.getBlockSize()public int getResultSize()
SmDmsCursor object is passed to a method,
the result set size is an output parameter.
getTotalSize()public int getTotalSize()
SmDmsCursor object is passed to a method,
the total size is an output parameter.
getResultSize()public java.lang.String getErrorMessage()
SmDmsCursor object is passed to a method,
the error message is an output parameter.
public boolean isSorted()
SmDmsCursor object is passed to a method,
the is-sorted value is an output parameter.
true if the result set was successfully
sorted, or false otherwise.public boolean isPaginated()
SmDmsCursor object is passed to a method,
the is-paginated value is an output parameter.
true if the result set was successfully
paginated, or false otherwise.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||