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
FieldsFields inherited from class io.jmix.core.querycondition.SkippableCondition
skipNullOrEmpty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks whether the argument contains all parameters specified in the condition.copy()Returns a deep copy of this condition.static JpqlConditionstatic JpqlConditiongetExcludedParameters(Set<String> actualParameters) getJoin()Returns parameters specified in the condition.getWhere()protected voidparseParameters(String value) protected voidremoveParameters(String value) voidvoidsetParameterValuesMap(Map<String, Object> parameterValuesMap) voidMethods 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:ConditionReturns parameters specified in the condition. -
actualize
Description copied from interface:ConditionChecks 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.skipNullOrEmptyisfalseor ifactualParameterscontains all parameters specified in the condition and these parameters are not null or empty. Otherwise returnsnull.
-
copy
Description copied from interface:ConditionReturns a deep copy of this condition. -
getExcludedParameters
-
parseParameters
-
removeParameters
-