public abstract class IntegrationRepositoryView extends RepositoryViewImpl implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static atg.repository.query.SupportedQueries |
SUPPORTED_QUERIES |
mCache, RESOURCE_BUNDLE_NAME| Constructor and Description |
|---|
IntegrationRepositoryView() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryItem[] |
applyOptions(RepositoryItem[] pItems,
QueryOptions pOptions)
Apply the query options to the given array of items.
|
abstract java.lang.Object |
createQueryCommandInput(Query pQuery,
QueryOptions pQueryOptions)
This method will process the given Query and create the input that will be
passed to the query command.
|
int |
executeCountQuery(Query pQuery)
Executes a query that returns the number of items that would be returned by
given query.
|
RepositoryItem[] |
executeQueryCommand(java.lang.Object pInput)
Execute the given command using the given inputs
|
RepositoryItem[] |
executeUncachedQuery(Query pQuery,
QueryOptions pOptions)
Query the item using the item descriptor
|
QueryBuilder |
getQueryBuilder()
Returns a QueryBuilder to use for creating Query objects
|
protected RepositoryItem[] |
processResults(Command pCommand,
CommandResult pCommandResult)
Convert the command results into repository items
|
void |
setQueryBuilder(QueryBuilder pQueryBuilder) |
addNamedQuery, addQueryListener, canCacheQuery, canEverCacheQuery, createCache, createNamedQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeUncachedQuery, getCache, getCacheQueries, getItemDescriptor, getNamedQuery, getNamedQueryNames, getQueryCacheSize, getQueryDescriptor, getQueryExpireTimeout, getQueryListeners, getQueryName, getRepository, getViewName, invalidateQueryCache, removeNamedQuery, removeQueryDependency, removeQueryListener, sendQueryEvent, setCache, setItemDescriptor, setQueryCacheSize, setQueryExpireTimeout, setRepository, setViewNamepublic static java.lang.String CLASS_VERSION
public static atg.repository.query.SupportedQueries SUPPORTED_QUERIES
public void setQueryBuilder(QueryBuilder pQueryBuilder)
public QueryBuilder getQueryBuilder()
getQueryBuilder in interface RepositoryViewgetQueryBuilder in class RepositoryViewImplpublic RepositoryItem[] executeUncachedQuery(Query pQuery, QueryOptions pOptions) throws RepositoryException
executeUncachedQuery in class RepositoryViewImplpQuery - the query to executepOptions - the options to the queryRepositoryException - if there is an error while performing the query operationpublic abstract java.lang.Object createQueryCommandInput(Query pQuery, QueryOptions pQueryOptions) throws RepositoryException
RepositoryExceptionpublic RepositoryItem[] executeQueryCommand(java.lang.Object pInput) throws RepositoryException
RepositoryExceptionprotected RepositoryItem[] processResults(Command pCommand, CommandResult pCommandResult) throws RepositoryException
RepositoryExceptionpublic int executeCountQuery(Query pQuery)
executeCountQuery in interface RepositoryViewexecuteCountQuery in class RepositoryViewImplpQuery - the query to executeexecuteQuery(pQuery)RepositoryException - if there is an error while performing the query operationpublic RepositoryItem[] applyOptions(RepositoryItem[] pItems, QueryOptions pOptions) throws RepositoryException
RepositoryException