-
- All Implemented Interfaces:
-
com.weedow.spring.data.search.query.specification.SpecificationService
public final class SpecificationServiceImpl implements SpecificationService
Default SpecificationService implementation.
Converts the RootExpression, containing the Expressions, to a Specification object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SpecificationServiceImpl.Companion
-
Constructor Summary
Constructors Constructor Description SpecificationServiceImpl(EntityJoinManager entityJoinManager)
-
Method Summary
Modifier and Type Method Description <T extends Any> Specification<T>
createSpecification(RootExpression<T> rootExpression, SearchDescriptor<T> searchDescriptor)
Create a new Specification from the given RootExpression and the EntityJoins. -
-
Constructor Detail
-
SpecificationServiceImpl
SpecificationServiceImpl(EntityJoinManager entityJoinManager)
- Parameters:
entityJoinManager
- EntityJoinManager
-
-
Method Detail
-
createSpecification
<T extends Any> Specification<T> createSpecification(RootExpression<T> rootExpression, SearchDescriptor<T> searchDescriptor)
Create a new Specification from the given RootExpression and the EntityJoins.
- Parameters:
rootExpression
- RootExpression object that contains the ExpressionssearchDescriptor
- SearchDescriptor object that contains the configuration for a specific Entity Class
-
-
-
-