Package io.jmix.core.querycondition
Class JpqlCondition
java.lang.Object
io.jmix.core.querycondition.SkippableCondition<JpqlCondition>
io.jmix.core.querycondition.JpqlCondition
- All Implemented Interfaces:
Condition
,Serializable
Condition that represents JPQL query with "where" and optional "join" sections.
- See Also:
-
Field Summary
Fields inherited from class io.jmix.core.querycondition.SkippableCondition
skipNullOrEmpty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether the argument contains all parameters specified in the condition.copy()
Returns a deep copy of this condition.static JpqlCondition
static JpqlCondition
getExcludedParameters
(Set<String> actualParameters) getJoin()
Returns parameters specified in the condition.getWhere()
protected void
parseParameters
(String value) protected void
removeParameters
(String value) void
void
setParameterValuesMap
(Map<String, Object> parameterValuesMap) void
Methods inherited from class io.jmix.core.querycondition.SkippableCondition
applyDefaultSkipNullOrEmpty, isSkipNullOrEmpty, setSkipNullOrEmpty, skipNullOrEmpty
-
Field Details
-
PARAMETER_PATTERN
-
where
-
join
-
parameterValuesMap
-
-
Constructor Details
-
JpqlCondition
public JpqlCondition()
-
-
Method Details
-
create
-
createWithParameters
-
getWhere
-
setWhere
-
getJoin
-
setJoin
-
getParameterValuesMap
-
setParameterValuesMap
-
getParameters
Description copied from interface:Condition
Returns parameters specified in the condition. -
actualize
Description copied from interface:Condition
Checks whether the argument contains all parameters specified in the condition.defaultSkipNullOrEmpty
- default value forSkippableCondition.skipNullOrEmpty
, should be obtained usingCoreProperties.isSkipNullOrEmptyConditionsByDefault()
- Returns:
- the condition if
SkippableCondition.skipNullOrEmpty
isfalse
or ifactualParameters
contains all parameters specified in the condition and these parameters are not null or empty. Otherwise returnsnull
.
-
copy
Description copied from interface:Condition
Returns a deep copy of this condition. -
getExcludedParameters
-
parseParameters
-
removeParameters
-