Package org.craftercms.studio.model.rest
Class PaginatedResultList<T>
- java.lang.Object
-
- org.craftercms.studio.model.rest.Result
-
- org.craftercms.studio.model.rest.ResultList<T>
-
- org.craftercms.studio.model.rest.PaginatedResultList<T>
-
- Type Parameters:
T
- the entity type
public class PaginatedResultList<T> extends ResultList<T>
A paginatedResultList
.- Author:
- Dejan Brkic, avasquez
-
-
Constructor Summary
Constructors Constructor Description PaginatedResultList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
Returns the number of items in the result list.int
getOffset()
Returns the offset in the total of results this result list starts.int
getTotal()
Returns the total of results.void
setLimit(int limit)
Sets the number of items in the result list.void
setOffset(int offset)
Sets the offset in the total of results this result list starts.void
setTotal(int total)
Sets the total of results.-
Methods inherited from class org.craftercms.studio.model.rest.ResultList
getEntities, setEntities
-
Methods inherited from class org.craftercms.studio.model.rest.Result
getResponse, setResponse
-
-
-
-
Method Detail
-
getTotal
public int getTotal()
Returns the total of results.
-
setTotal
public void setTotal(int total)
Sets the total of results.
-
getOffset
public int getOffset()
Returns the offset in the total of results this result list starts.
-
setOffset
public void setOffset(int offset)
Sets the offset in the total of results this result list starts.
-
getLimit
public int getLimit()
Returns the number of items in the result list.
-
setLimit
public void setLimit(int limit)
Sets the number of items in the result list.
-
-