-
- All Implemented Interfaces:
-
com.weedow.spring.data.search.service.EntitySearchService
public final class EntitySearchServiceImpl implements EntitySearchService
Default EntitySearchService implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EntitySearchServiceImpl.Companion
-
Constructor Summary
Constructors Constructor Description EntitySearchServiceImpl(SpecificationService specificationService, SpecificationExecutorFactory specificationExecutorFactory)
-
Method Summary
Modifier and Type Method Description <T extends Any> List<T>
findAll(RootExpression<T> rootExpression, SearchDescriptor<T> searchDescriptor)
Finds all Entities from the given arguments and returns the found Entities. -
-
Constructor Detail
-
EntitySearchServiceImpl
EntitySearchServiceImpl(SpecificationService specificationService, SpecificationExecutorFactory specificationExecutorFactory)
- Parameters:
specificationService
- SpecificationServicespecificationExecutorFactory
- SpecificationExecutorFactory
-
-
Method Detail
-
findAll
<T extends Any> List<T> findAll(RootExpression<T> rootExpression, SearchDescriptor<T> searchDescriptor)
Finds all Entities from the given arguments and returns the found Entities.
- Parameters:
rootExpression
- RootExpression object that contains the criteria to filter the resultsearchDescriptor
- SearchDescriptor object that contains the configuration for a specific Entity Class
-
-
-
-