public interface PredicateFactory
- Since:
- 0.0.9
- Author:
- Mislav Milicevic
-
Method Summary
Modifier and TypeMethodDescription<ENTITY> jakarta.persistence.criteria.PredicatecreatePredicate(Criteria<ENTITY, ?> criteria, SpeedmentPredicate<ENTITY> speedmentPredicate) Creates and returns a JPAPredicatewith theSpeedmentPredicateserving as the model.
-
Method Details
-
createPredicate
<ENTITY> jakarta.persistence.criteria.Predicate createPredicate(Criteria<ENTITY, ?> criteria, SpeedmentPredicate<ENTITY> speedmentPredicate) Creates and returns a JPAPredicatewith theSpeedmentPredicateserving as the model. The JPAPredicateis created using the providedcriteria- Type Parameters:
ENTITY- root entity used in the Speedment Predicate- Parameters:
criteria- used to create the JPA PredicatespeedmentPredicate- used as a model for the JPA Predicate that is being created- Returns:
- JPA Predicate
-