| 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,
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,
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)
|
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 optinally 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.clear() |
Param.Builder |
Param.Builder.remove(String paramKey) |
Param.Builder |
Param.Builder.setGroupEndsLastParam(int group)
how many groups does the last parameter end, ")";
|
Param.Builder |
Param.Builder.setGroupEndsParam(int group,
int paramIndex) |
Param.Builder |
Param.Builder.setGroupEndsParam(int group,
String key) |
Param.Builder |
Param.Builder.setGroupStartsLastParam(int group)
how many groups does the last parameter start, "(";
|
Param.Builder |
Param.Builder.setGroupStartsParam(int group,
int paramIndex) |
Param.Builder |
Param.Builder.setGroupStartsParam(int group,
String key) |
Copyright © 2018–2021 Fryske Akademy. All rights reserved.