Interface NCBOPaginatedCollection
- All Superinterfaces:
Collection<NCBOOutputModel>,Iterable<NCBOOutputModel>,NCBOCollection,NCBOOutputModel
- All Known Implementing Classes:
NCBOPaginatedCollectionImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic NCBOPaginatedCollectioncreate(com.eclipsesource.json.JsonObject jsonObject, APIContext apiContext) intintintMethods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface io.github.agroportal.ncboproxy.model.NCBOCollection
asStringStreamMethods inherited from interface io.github.agroportal.ncboproxy.model.NCBOOutputModel
asCollection, asError, asObject, asPaginatedCollection, asValue, getModelRoot, isCollection, isError, isObject, isPaginatedCollection, isValue, toPrettyString
-
Method Details
-
getPreviousPage
- Throws:
IOException
-
getNextPage
- Throws:
IOException
-
getNumberOfPages
int getNumberOfPages() -
getCurrentPageNumber
int getCurrentPageNumber() -
getTotalSize
int getTotalSize() -
create
static NCBOPaginatedCollection create(com.eclipsesource.json.JsonObject jsonObject, APIContext apiContext)
-