| Package | Description |
|---|---|
| com.googlecode.genericdao.search | |
| com.googlecode.genericdao.search.flex |
| Modifier and Type | Field and Description |
|---|---|
protected List<Sort> |
Search.sorts |
| Modifier and Type | Method and Description |
|---|---|
static Sort |
Sort.asc(String property) |
static Sort |
Sort.asc(String property,
boolean ignoreCase) |
static Sort |
Sort.customExpressionAsc(String expression)
Instead of a property for this Sort, use a free-form JPQL/HQL order-by
expression.
|
static Sort |
Sort.customExpressionDesc(String expression)
Instead of a property for this Sort, use a free-form JPQL/HQL order-by
expression.
|
static Sort |
Sort.desc(String property) |
static Sort |
Sort.desc(String property,
boolean ignoreCase) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Sort> |
BaseSearchProcessor.checkAndCleanSorts(List<Sort> sorts)
Check for injection attack in property strings.
|
List<Sort> |
Search.getSorts() |
List<Sort> |
ISearch.getSorts() |
| Modifier and Type | Method and Description |
|---|---|
static void |
SearchUtil.addSort(IMutableSearch search,
Sort sort) |
Search |
Search.addSort(Sort sort) |
static void |
SearchUtil.addSorts(IMutableSearch search,
Sort... sorts) |
Search |
Search.addSorts(Sort... sorts) |
static void |
SearchUtil.mergeSortsAfter(IMutableSearch search,
Sort... sorts)
Modify the search by adding the given sorts after the current sorts in
the search.
|
static void |
SearchUtil.mergeSortsBefore(IMutableSearch search,
Sort... sorts)
Modify the search by adding the given sorts before the current sorts in
the search.
|
static void |
SearchUtil.removeSort(IMutableSearch search,
Sort sort) |
void |
Search.removeSort(Sort sort) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Sort> |
BaseSearchProcessor.checkAndCleanSorts(List<Sort> sorts)
Check for injection attack in property strings.
|
protected String |
BaseSearchProcessor.generateOrderByClause(BaseSearchProcessor.SearchContext ctx,
List<Sort> sorts)
Internal method for generating order by clause.
|
static void |
SearchUtil.mergeSortsAfter(IMutableSearch search,
List<Sort> sorts)
Modify the search by adding the given sorts after the current sorts in
the search.
|
static void |
SearchUtil.mergeSortsBefore(IMutableSearch search,
List<Sort> sorts)
Modify the search by adding the given sorts before the current sorts in
the search.
|
Search |
Search.setSorts(List<Sort> sorts) |
IMutableSearch |
IMutableSearch.setSorts(List<Sort> sorts) |
| Modifier and Type | Field and Description |
|---|---|
protected List<Sort> |
FlexSearch.sorts |
| Modifier and Type | Method and Description |
|---|---|
Sort[] |
FlexSearch.getSorts() |
| Modifier and Type | Method and Description |
|---|---|
List<Sort> |
FlexSearchWrapper.getSorts() |
| Modifier and Type | Method and Description |
|---|---|
void |
FlexSearch.setSorts(Sort[] sorts) |
Copyright © 2008-2013. All Rights Reserved.