Class NCBOPaginatedCollectionImpl
java.lang.Object
io.github.agroportal.ncboproxy.model.NCBOCollectionImpl
io.github.agroportal.ncboproxy.model.NCBOPaginatedCollectionImpl
- All Implemented Interfaces:
NCBOCollection,NCBOOutputModel,NCBOPaginatedCollection,Iterable<NCBOOutputModel>,Collection<NCBOOutputModel>
public class NCBOPaginatedCollectionImpl
extends NCBOCollectionImpl
implements NCBOPaginatedCollection
-
Method Summary
Modifier and TypeMethodDescriptionintintintbooleanMethods inherited from class io.github.agroportal.ncboproxy.model.NCBOCollectionImpl
add, addAll, asCollection, clear, contains, containsAll, getModelRoot, isCollection, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, asValue, getModelRoot, isCollection, isError, isObject, isValue, toPrettyString
-
Method Details
-
getPreviousPage
- Specified by:
getPreviousPagein interfaceNCBOPaginatedCollection- Throws:
IOException
-
getNextPage
- Specified by:
getNextPagein interfaceNCBOPaginatedCollection- Throws:
IOException
-
getNumberOfPages
public int getNumberOfPages()- Specified by:
getNumberOfPagesin interfaceNCBOPaginatedCollection
-
getCurrentPageNumber
public int getCurrentPageNumber()- Specified by:
getCurrentPageNumberin interfaceNCBOPaginatedCollection
-
getTotalSize
public int getTotalSize()- Specified by:
getTotalSizein interfaceNCBOPaginatedCollection
-
isPaginatedCollection
public boolean isPaginatedCollection()- Specified by:
isPaginatedCollectionin interfaceNCBOOutputModel
-
asPaginatedCollection
- Specified by:
asPaginatedCollectionin interfaceNCBOOutputModel
-