|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.mo.AbstractDataTransferObject org.kuali.rice.kim.api.role.RoleQueryResults
public class RoleQueryResults
Nested Class Summary | |
---|---|
static class |
RoleQueryResults.Builder
|
static class |
RoleQueryResults.Constants
Defines some internal constants used on this class. |
static class |
RoleQueryResults.Elements
A private class which exposes constants which define the XML element names to use when this object is marshaled to XML. |
Method Summary | |
---|---|
List<Role> |
getResults()
Return the list of results that are contained within. |
Integer |
getTotalRowCount()
Gets the total number of records that match the executed query. |
boolean |
isMoreResultsAvailable()
Indicates if there are more results available for the query immediately following the last result that was returned. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public List<Role> getResults()
QueryResults
getResults
in interface QueryResults<Role>
public Integer getTotalRowCount()
QueryResults
QueryResults.getResults()
as the query may cut off the number
of records returned by the actual query request. In these cases, the
total row count represents the total number of results which would be
returned by the query if there was no cap on the results returned (i.e.
the equivalent of the result of a "count" query in SQL).
The total row count is optional depending on whether or not the
client requested the total row count when invoking the query. The client
requests this information by setting the CountFlag.INCLUDE
or
CountFlag.ONLY
on the QueryByCriteria
. It's also
possible that the query is unable to produce a total row count depending
on the back-end implementation, in which cases this value will also not
be available.
Will never be less than 0.
getTotalRowCount
in interface QueryResults<Role>
public boolean isMoreResultsAvailable()
QueryResults
QueryResults.getResults()
will not include the complete result
set for the query. This could be because the query only requested a
certain number of rows, or that the query couldn't return the number
of rows that were requested.
It is intended that this value be used to facilitate paging or reporting in the client in cases where that is desired.
This information will only be available if the client sets a limit on the
results returned. This limit is set with the maxResults field on the
QueryByCriteria
.
isMoreResultsAvailable
in interface QueryResults<Role>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |