Package | Description |
---|---|
com.blazebit.persistence.view |
Entity-View extension for the Blaze-Persistence API.
|
Modifier and Type | Method and Description |
---|---|
static Sorter |
Sorters.ascending()
Like
Sorters.ascending(boolean) but with nullsFirst set to false. |
static Sorter |
Sorters.ascending(boolean nullsFirst)
Like
Sorters.sorter(boolean, boolean) but with ascending set to true. |
static Sorter |
Sorters.descending()
Like
Sorters.descending(boolean) but with nullsFirst set to false. |
static Sorter |
Sorters.descending(boolean nullsFirst)
Like
Sorters.sorter(boolean, boolean) but with ascending set to false. |
static Sorter |
Sorters.sorter(boolean ascending,
boolean nullsFirst)
Creates and returns a new
Sorter that
sorts ascending if the flag ascending is true, descending otherwise
sorts nulls first is the flag nullsFirst is ture, nulls last otherwise
|
Modifier and Type | Method and Description |
---|---|
Map<String,Sorter> |
EntityViewSetting.getAttributeSorters()
Returns a copy of the attribute sorters that have been added.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityViewSetting.addAttributeSorter(String attributeName,
Sorter sorter)
Adds the given attribute sorter to the attribute sorters of this setting.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityViewSetting.addAttributeSorters(Map<String,Sorter> attributeSorters)
Adds the given attribute sorters to the attribute sorters of this
setting.
|
Copyright © 2015 Blazebit. All Rights Reserved.