Class PaginatedList<X,Z extends AnypointObject>
java.lang.Object
com.aeontronix.enhancedmule.tools.util.PaginatedList<X,Z>
- All Implemented Interfaces:
Iterable<X>
- Direct Known Subclasses:
APIContractList,APIList,APISpecList,AssetList,ClientApplicationList,RoleAssignmentList,RoleGroupList,SLATierList
public abstract class PaginatedList<X,Z extends AnypointObject>
extends Object
implements Iterable<X>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
parent
-
limit
protected int limit -
offset
protected int offset -
total
protected int total -
list
-
-
Constructor Details
-
PaginatedList
-
PaginatedList
-
-
Method Details
-
buildUrl
@NotNull protected abstract @NotNull com.aeontronix.commons.URLBuilder buildUrl() -
download
- Throws:
HttpException
-
parseJson
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total) -
size
public int size() -
getAll
-
iterator
-