|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.sdk.Resources<R>
public class Resources<R extends BaseResource>
Represents a list of SCIM resources returned by the service provider from a query/listing request.
| Constructor Summary | |
|---|---|
Resources(List<R> resourceList)
Create a new resources response from the provided list. |
|
Resources(List<R> resourceList,
int totalResults,
int startIndex)
Create a new resources response from the provided list. |
|
| Method Summary | |
|---|---|
int |
getItemsPerPage()
Retrieves the number of search results returned in this query response. |
long |
getStartIndex()
Retrieves the 1-based index of the first result in the current set of search results. |
long |
getTotalResults()
Retrieves the total number of results matching the Consumer query. |
Iterator<R> |
iterator()
|
void |
marshal(Marshaller marshaller,
OutputStream outputStream)
Marshals this response using the specified Marshaller to the
specified OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Resources(List<R> resourceList)
resourceList - The list of resources to create the response from.
public Resources(List<R> resourceList,
int totalResults,
int startIndex)
resourceList - The list of resources to create the response from.totalResults - The total number of results matching the Consumer querystartIndex - The 1-based index of the first result in the current set
of search results| Method Detail |
|---|
public long getStartIndex()
public long getTotalResults()
public int getItemsPerPage()
public Iterator<R> iterator()
iterator in interface Iterable<R extends BaseResource>
public void marshal(Marshaller marshaller,
OutputStream outputStream)
throws Exception
Marshaller to the
specified OutputStream.
marshal in interface SCIMResponsemarshaller - The Marshaller to use.outputStream - The OutputStream to write to.
Exception - if an error occurs while performing the marshaling.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||