Package | Description |
---|---|
sirius.web.controller |
Provides the controller part of a simple MVC framework.
|
Modifier and Type | Field and Description |
---|---|
protected Page<?> |
Facet.parent |
Modifier and Type | Method and Description |
---|---|
Page<E> |
Page.addFacet(Facet facet)
Adds a filter facet to this result page.
|
Page<E> |
Page.bindToRequest(WebContext ctx)
Binds the page to the request.
|
Page<E> |
Page.withDuration(String duration)
Specifies the duration (as string) it took to compute (query) the page items.
|
Page<E> |
Page.withFactes(List<Facet> facets)
Specifies the facets available to further filter the page (or underlying data source).
|
Page<E> |
Page.withFactesSupplier(Supplier<List<Facet>> facetsSupplier)
Specifies the supplier used to compute the facets available to further filter the page (or underlying data
source).
|
Page<E> |
Page.withHasMore(boolean more)
Specifies the flag which indicates if "more" items are available.
|
Page<E> |
Page.withItems(List<E> items)
Specifies the effective items this page contains.
|
Page<E> |
Page.withLimitedItemsSupplier(Function<sirius.kernel.commons.Limit,List<E>> itemsSupplier)
Easy method for supplying items the page contains to avoid boiler code.
|
Page<E> |
Page.withPageSize(int pageSize)
Specifies the number of items shown per page.
|
Page<E> |
Page.withQuery(String query)
Specifies the query used to compute the result list.
|
Page<E> |
Page.withStart(int start)
Specifies the index of the first item.
|
Page<E> |
Page.withTotalItems(int total)
Specifies the number of total items.
|
Copyright © 2018. All rights reserved.