Package io.jmix.core.querycondition
Interface Condition
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JpqlCondition
,LogicalCondition
,PropertyCondition
,SkippableCondition
The tree of
Condition
s represents an optional part of a query that is added if the corresponding parameters
are present.-
Method Summary
Modifier and TypeMethodDescriptionChecks whether the argument contains all parameters specified in the condition.copy()
Returns a deep copy of this condition.getExcludedParameters
(Set<String> actualParameters) Returns parameters specified in the condition.
-
Method Details
-
getParameters
Collection<String> getParameters()Returns parameters specified in the condition. -
actualize
Checks whether the argument contains all parameters specified in the condition.- Parameters:
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
Condition copy()Returns a deep copy of this condition. -
getExcludedParameters
-