|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PagedCollectionResource<T extends BaseCollectionRepresentation>
Method Summary | |
---|---|
T |
get()
The method returns the first page. |
T |
get(int pageSize)
The method returns the first page. |
T |
getNextPage(BaseCollectionRepresentation collectionRepresentation)
The method returns the next page from the collection. |
T |
getPage(BaseCollectionRepresentation collectionRepresentation,
int pageNumber)
The method returns the specified page number. |
T |
getPage(BaseCollectionRepresentation collectionRepresentation,
int pageNumber,
int pageSize)
The method returns the specified page number. |
T |
getPreviousPage(BaseCollectionRepresentation collectionRepresentation)
This method returns the previous page in the collection. |
Method Detail |
---|
T get() throws SDKException
get
in interface GenericResource<T extends BaseCollectionRepresentation>
SDKException
T get(int pageSize) throws SDKException
pageSize
- - page size
SDKException
T getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber) throws SDKException
collectionRepresentation
- It uses the BaseCollectionRepresentation.getSelf() URL to find the collection.pageNumber
- - page number
SDKException
T getPage(BaseCollectionRepresentation collectionRepresentation, int pageNumber, int pageSize) throws SDKException
collectionRepresentation
- It uses the BaseCollectionRepresentation.getSelf() URL to find the collection.pageNumber
- - page numberpageSize
- - page size
SDKException
T getNextPage(BaseCollectionRepresentation collectionRepresentation) throws SDKException
collectionRepresentation
- It uses the BaseCollectionRepresentation.getNext() URL to find the collection.
SDKException
T getPreviousPage(BaseCollectionRepresentation collectionRepresentation) throws SDKException
collectionRepresentation
- - It uses the BaseCollectionRepresentation.getPrevious() URL to find the collection.
SDKException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |