Class TrackableJpaQueryLookupStrategy.AbstractQueryLookupStrategy
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.jpa.filtering.narrow.dynamic.TrackableJpaQueryLookupStrategy.AbstractQueryLookupStrategy
-
- All Implemented Interfaces:
org.springframework.data.repository.query.QueryLookupStrategy
- Direct Known Subclasses:
TrackableJpaQueryLookupStrategy.CreateIfNotFoundQueryLookupStrategy
,TrackableJpaQueryLookupStrategy.CreateQueryLookupStrategy
,TrackableJpaQueryLookupStrategy.DeclaredQueryLookupStrategy
- Enclosing class:
- TrackableJpaQueryLookupStrategy
public abstract static class TrackableJpaQueryLookupStrategy.AbstractQueryLookupStrategy extends Object implements org.springframework.data.repository.query.QueryLookupStrategy
Base class forQueryLookupStrategy
implementations that need access to anEntityManager
.- Author:
- Oliver Gierke, Thomas Darimont
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryLookupStrategy(javax.persistence.EntityManager em, org.springframework.data.jpa.provider.QueryExtractor extractor)
Creates a new JpaQueryLookupStrategy.AbstractQueryLookupStrategy.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.springframework.data.repository.query.RepositoryQuery
resolveQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory, org.springframework.data.repository.core.NamedQueries namedQueries)
protected abstract org.springframework.data.repository.query.RepositoryQuery
resolveQuery(org.springframework.data.jpa.repository.query.JpaQueryMethod method, javax.persistence.EntityManager em, org.springframework.data.repository.core.NamedQueries namedQueries, org.springframework.data.repository.core.RepositoryMetadata metadata)
-
-
-
Method Detail
-
resolveQuery
public final org.springframework.data.repository.query.RepositoryQuery resolveQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory, org.springframework.data.repository.core.NamedQueries namedQueries)
- Specified by:
resolveQuery
in interfaceorg.springframework.data.repository.query.QueryLookupStrategy
-
resolveQuery
protected abstract org.springframework.data.repository.query.RepositoryQuery resolveQuery(org.springframework.data.jpa.repository.query.JpaQueryMethod method, javax.persistence.EntityManager em, org.springframework.data.repository.core.NamedQueries namedQueries, org.springframework.data.repository.core.RepositoryMetadata metadata)
-
-