public abstract class AbstractCachingCannedQueryFactory extends AbstractCannedQueryFactory
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-progress| Constructor and Description |
|---|
AbstractCachingCannedQueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
CannedQuery |
getCannedQuery(CannedQueryParameters parameters)
Base implementation that provides a caching facade around the query.
|
protected abstract CannedQuery |
getCannedQueryImpl(CannedQueryParameters parameters)
Derived classes must implement this method to provide the raw query that supports the given
parameters.
|
afterPropertiesSet, getCannedQuery, getQueryExecutionId, setBeanName, setRegistrypublic final CannedQuery getCannedQuery(CannedQueryParameters parameters)
parameters - the full query parametersprotected abstract CannedQuery getCannedQueryImpl(CannedQueryParameters parameters)
parameters - the query parameters as given by the clientCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.