Class FindAllEclipseStoreQueryProvider<T>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.FindAllEclipseStoreQueryProvider<T>
- Type Parameters:
T- entity type to create query for
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
public class FindAllEclipseStoreQueryProvider<T>
extends Object
implements org.springframework.data.repository.query.RepositoryQuery
Creates queries for specific entities with "findAll" and executes them through the
QueryExecutor.
Is needed for special use if Query is used with
findAll.
-
Constructor Summary
ConstructorsConstructorDescriptionFindAllEclipseStoreQueryProvider(org.springframework.data.repository.query.QueryMethod queryMethod, Method method, Class<T> domainClass, EntityListProvider entityListProvider, WorkingCopier<T> copier) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.repository.query.QueryMethod
-
Constructor Details
-
FindAllEclipseStoreQueryProvider
public FindAllEclipseStoreQueryProvider(org.springframework.data.repository.query.QueryMethod queryMethod, Method method, Class<T> domainClass, EntityListProvider entityListProvider, WorkingCopier<T> copier)
-
-
Method Details
-
execute
Creates a new
EclipseStoreQueryCreatorand executes it with empty criteria.- Specified by:
executein interfaceorg.springframework.data.repository.query.RepositoryQuery- Parameters:
values- must not be null.- Returns:
- queried entities/entity wrapped in the correct class depending on the
typeInformation
-
getQueryMethod
@Nonnull public org.springframework.data.repository.query.QueryMethod getQueryMethod()- Specified by:
getQueryMethodin interfaceorg.springframework.data.repository.query.RepositoryQuery
-