public abstract class AbstractCachingCannedQueryFactory<R> extends AbstractCannedQueryFactory<R>
CannedQueryFactory
implementations.
Depending on the parameters provided, this class may choose to pick up existing results
and re-use them for later page requests; the client will not have knowledge of the
shortcuts.
TODO: This is work-in-progressConstructor and Description |
---|
AbstractCachingCannedQueryFactory() |
Modifier and Type | Method and Description |
---|---|
CannedQuery<R> |
getCannedQuery(CannedQueryParameters parameters)
Base implementation that provides a caching facade around the query.
|
protected abstract CannedQuery<R> |
getCannedQueryImpl(CannedQueryParameters parameters)
Derived classes must implement this method to provide the raw query that supports the given
parameters.
|
afterPropertiesSet, getCannedQuery, getQueryExecutionId, setBeanName, setRegistry
public final CannedQuery<R> getCannedQuery(CannedQueryParameters parameters)
parameters
- the full query parametersprotected abstract CannedQuery<R> getCannedQueryImpl(CannedQueryParameters parameters)
parameters
- the query parameters as given by the clientCopyright © 2005–2020 Alfresco Software. All rights reserved.