Package | Description |
---|---|
sirius.web.controller |
Provides the controller part of a simple MVC framework.
|
Modifier and Type | Method and Description |
---|---|
<E extends Enum<E>> |
Facet.addEnumItem(Class<E> enumClass)
Adds the enum constants of the given enum to the facet.
|
Facet |
Page.addFacet(String field,
String title,
sirius.kernel.cache.ValueComputer<String,String> translator)
Adds a filter facet with the given name, title and translator.
|
Facet |
Facet.addItem(String key,
String title,
int count)
Adds a facet item
|
Facet |
Facet.addItems(Iterable<String> items)
Adds the given collections of items.
|
Facet |
Facet.withFacetCollapsingEnabled(boolean facetCollapsingEnabled)
Enables or disables collapsing for this facet.
|
Facet |
Facet.withMaxVisibleFacetItems(int maxVisibleFacetItems)
Sets the number of visible facet items.
|
Facet |
Facet.withRange(FacetRange facetRange)
Specifies the facet range to use for this facet.
|
Facet |
Facet.withValue(String value)
Specifies the value used for this facet.
|
Facet |
Facet.withValues(List<String> values)
Specifies the values used for this facet.
|
Modifier and Type | Method and Description |
---|---|
List<Facet> |
Page.getFacets()
Returns all filter facets available.
|
Modifier and Type | Method and Description |
---|---|
Page<E> |
Page.addFacet(Facet facet)
Adds a filter facet to this result page.
|
Modifier and Type | Method and Description |
---|---|
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).
|
Copyright © 2018. All rights reserved.