Package io.jmix.eclipselink.impl.mapping
Class SoftDeleteAdditionalCriteriaProvider
java.lang.Object
io.jmix.eclipselink.impl.mapping.SoftDeleteAdditionalCriteriaProvider
- All Implemented Interfaces:
AdditionalCriteriaProvider
@Component("eclipselink_SoftDeleteAdditionalCriteriaProvider")
public class SoftDeleteAdditionalCriteriaProvider
extends Object
implements AdditionalCriteriaProvider
The implementation of additional criterion for soft delete.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalCriteria
(Class<?> entityClass) Returns the additional criteria.Returns parameters of the additional criteria.boolean
requiresAdditionalCriteria
(Class<?> entityClass) Checks if the class needs additional criteria.
-
Field Details
-
metadataTools
-
-
Constructor Details
-
SoftDeleteAdditionalCriteriaProvider
public SoftDeleteAdditionalCriteriaProvider()
-
-
Method Details
-
requiresAdditionalCriteria
Description copied from interface:AdditionalCriteriaProvider
Checks if the class needs additional criteria.- Specified by:
requiresAdditionalCriteria
in interfaceAdditionalCriteriaProvider
- Parameters:
entityClass
- a class.- Returns:
- true if a query to this class requires additional criteria.
-
getAdditionalCriteria
Description copied from interface:AdditionalCriteriaProvider
Returns the additional criteria.- Specified by:
getAdditionalCriteria
in interfaceAdditionalCriteriaProvider
- Returns:
- The string of this additional criteria
-
getCriteriaParameters
Description copied from interface:AdditionalCriteriaProvider
Returns parameters of the additional criteria.- Specified by:
getCriteriaParameters
in interfaceAdditionalCriteriaProvider
- Returns:
- The map of parameters, entered in the additional criteria.
-