| Constructor and Description |
|---|
EntityPagedList(int pageSize,
EntityFactory<E> entityFactory,
org.ofbiz.core.entity.EntityCondition entityCondition,
List<String> orderBy) |
| Modifier and Type | Method and Description |
|---|---|
List<E> |
getCompleteList() |
List<E> |
getPage(int pageNumber) |
int |
getPageSize() |
int |
getSize() |
Iterator<List<E>> |
iterator()
Iterate over the database results a page at a time
|
public EntityPagedList(int pageSize,
EntityFactory<E> entityFactory,
org.ofbiz.core.entity.EntityCondition entityCondition,
List<String> orderBy)
pageSize - desired pageSize, must be greater than 0entityFactory - EntityFactory used to return ListentityCondition - Condition to perform search in databaseorderBy - List of fields to order bypublic List<E> getCompleteList()
getCompleteList in interface PagedList<E>public int getPageSize()
getPageSize in interface PagedList<E>Copyright © 2002-2021 Atlassian. All Rights Reserved.