| Package | Description |
|---|---|
| org.fryske_akademy.jpa |
Interfaces classes to support working with entities, most notably an entity interface, a Param class with support
for syntax in values and value conversion and a JpqlBuilder that facilitates building (dynamic) queries.
|
| Modifier and Type | Method and Description |
|---|---|
Param.Builder |
Param.Builder.add(String paramKey,
Object paramValue)
This method is suitable when your paramValue is the correct object
for the query to be executed.
|
Param.Builder |
Param.Builder.add(String paramKey,
Object paramValue,
boolean or)
This method is suitable when your paramValue is the correct object
for the query to be executed.
|
Param.Builder |
Param.Builder.add(String paramKey,
String paramValue,
boolean or,
com.vectorprint.StringConverter converter)
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
|
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
Object paramValue,
boolean or)
This method is suitable when your paramValue is the correct object
for the query to be executed.
|
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
Param.OPERATOR operator,
Object paramValue,
boolean not,
boolean or)
Calls
#add(String, String, OPERATOR, Object, boolean, boolean, Object) with null for maxValue |
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
Param.OPERATOR operator,
Object paramValue,
boolean not,
boolean or,
Object maxValue)
Bottleneck method, adds a new Param, does not apply any intelligence.
|
Param.Builder |
Param.Builder.add(String paramKey,
String paramValue,
String operator,
boolean or,
com.vectorprint.StringConverter converter)
Assumes key and propertyPath are the same
|
Param.Builder |
Param.Builder.add(String paramKey,
String paramValue,
com.vectorprint.StringConverter converter)
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
|
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
String operator,
Object paramValue,
boolean not,
boolean or)
Calls
add(String, String, String, Object, boolean, boolean, Object) with null for maxValue |
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
String operator,
Object paramValue,
boolean not,
boolean or,
Object maxValue)
Calls
#add(String, String, OPERATOR, Object, boolean, boolean, Object) with Param.OPERATOR.fromToken(String) |
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
String operator,
String paramValue,
boolean or,
com.vectorprint.StringConverter converter)
Bottleneck method for String values, when configured in the Builder,
applies syntax support and wildcard mapping, applies conversion of
the String value using the supplied converter.
|
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
String paramValue,
com.vectorprint.StringConverter converter)
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
|
Param.Builder |
Param.Builder.addParam(List<Param> p) |
Param.Builder |
Param.Builder.addParam(Param... p) |
Param.Builder |
Param.Builder.checkNotNull(String propertyPath) |
Param.Builder |
Param.Builder.lastParamEndsGroup(boolean group) |
Param.Builder |
Param.Builder.lastParamStartsGroup(boolean group) |
Param.Builder |
Param.Builder.remove(String paramKey) |
Copyright © 2018–2020 Fryske Akademy. All rights reserved.