| Package | Description |
|---|---|
| org.omnifaces.persistence.model.dto | |
| org.omnifaces.persistence.service |
| Modifier and Type | Field and Description |
|---|---|
static Page |
Page.ALL |
static Page |
Page.ONE |
| Modifier and Type | Method and Description |
|---|---|
Page |
Page.all()
Returns a clone of the current page which returns all results matching the current ordering, required criteria and optional criteria.
|
Page |
Page.Builder.build()
Build the page.
|
static Page |
Page.of(int offset,
int limit)
Use this if you want a page of given offset and limit.
|
| Modifier and Type | Method and Description |
|---|---|
org.omnifaces.utils.collection.PartialResultList<E> |
BaseEntityService.getPage(Page page,
boolean count)
Returns a partial result list based on given
Page. |
protected org.omnifaces.utils.collection.PartialResultList<E> |
BaseEntityService.getPage(Page page,
boolean count,
BaseEntityService.QueryBuilder<E> queryBuilder)
Returns a partial result list based on given
Page and BaseEntityService.QueryBuilder. |
protected org.omnifaces.utils.collection.PartialResultList<E> |
BaseEntityService.getPage(Page page,
boolean count,
boolean cacheable,
BaseEntityService.QueryBuilder<E> queryBuilder)
Returns a partial result list based on given
Page, entity type and BaseEntityService.QueryBuilder with the option
whether to cache the results or not. |
protected <T extends E> |
BaseEntityService.getPage(Page page,
boolean count,
boolean cacheable,
Class<T> resultType,
BaseEntityService.MappedQueryBuilder<T> queryBuilder)
Returns a partial result list based on given
Page, entity type and BaseEntityService.QueryBuilder with the option
whether to cache the results or not. |
protected org.omnifaces.utils.collection.PartialResultList<E> |
BaseEntityService.getPage(Page page,
boolean count,
boolean cacheable,
String... fetchFields)
Returns a partial result list based on given
Page with the option whether to cache the results or not. |
protected <T extends E> |
BaseEntityService.getPage(Page page,
boolean count,
Class<T> resultType,
BaseEntityService.MappedQueryBuilder<T> mappedQueryBuilder)
Returns a partial result list based on given
Page, result type and BaseEntityService.MappedQueryBuilder. |
protected org.omnifaces.utils.collection.PartialResultList<E> |
BaseEntityService.getPage(Page page,
boolean count,
String... fetchFields)
Returns a partial result list based on given
Page and fetch fields. |
Copyright © 2015–2020 OmniFaces. All rights reserved.