|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.envers.tools.query.Parameters
public class Parameters
Parameters of a query, built using QueryBuilder
.
Field Summary | |
---|---|
static String |
AND
|
static String |
OR
|
Method Summary | |
---|---|
Parameters |
addNegatedParameters()
Adds negated parameters, by default with the "and" connective. |
void |
addNotNullRestriction(String propertyName,
boolean addAlias)
Adds IS NOT NULL restriction. |
void |
addNullRestriction(String propertyName,
boolean addAlias)
Adds IS NULL restriction. |
Parameters |
addSubParameters(String newConnective)
Adds sub-parameters with a new connective. |
void |
addWhere(String left,
boolean addAlias,
String op,
QueryBuilder right)
|
void |
addWhere(String left,
boolean addAliasLeft,
String op,
String right,
boolean addAliasRight)
|
void |
addWhere(String left,
String op,
QueryBuilder right)
|
void |
addWhere(String left,
String op,
String right)
|
void |
addWhereWithNamedParam(String left,
boolean addAlias,
String op,
String paramName)
|
void |
addWhereWithNamedParam(String left,
String op,
String paramName)
|
void |
addWhereWithParam(String left,
boolean addAlias,
String op,
Object paramValue)
|
void |
addWhereWithParam(String left,
String op,
Object paramValue)
|
void |
addWhereWithParams(String left,
String opStart,
Object[] paramValues,
String opEnd)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AND
public static final String OR
Method Detail |
---|
public Parameters addSubParameters(String newConnective)
newConnective
- New connective of the parameters.
public Parameters addNegatedParameters()
public void addWhere(String left, String op, String right)
public void addNullRestriction(String propertyName, boolean addAlias)
IS NULL
restriction.
propertyName
- Property name.addAlias
- Positive if an alias to property name shall be added.public void addNotNullRestriction(String propertyName, boolean addAlias)
IS NOT NULL
restriction.
propertyName
- Property name.addAlias
- Positive if an alias to property name shall be added.public void addWhere(String left, boolean addAliasLeft, String op, String right, boolean addAliasRight)
public void addWhereWithParam(String left, String op, Object paramValue)
public void addWhereWithParam(String left, boolean addAlias, String op, Object paramValue)
public void addWhereWithNamedParam(String left, String op, String paramName)
public void addWhereWithNamedParam(String left, boolean addAlias, String op, String paramName)
public void addWhereWithParams(String left, String opStart, Object[] paramValues, String opEnd)
public void addWhere(String left, String op, QueryBuilder right)
public void addWhere(String left, boolean addAlias, String op, QueryBuilder right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |