public class PagingResultImpl<T> extends Object implements PagingResult<T>
Constructor and Description |
---|
PagingResultImpl(List<T> objects,
boolean hasMoreItems,
int totalItems) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getList()
Return a list of all object present in a page.
|
int |
getTotalItems()
Returns the number of all items presents.
|
Boolean |
hasMoreItems()
Returns True if there are more items available.
|
public List<T> getList()
getList
in interface PagingResult<T>
public Boolean hasMoreItems()
hasMoreItems
in interface PagingResult<T>
public int getTotalItems()
getTotalItems
in interface PagingResult<T>
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.