|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.repository.RepositoryViewImpl atg.adapter.integrations.IntegrationRepositoryView
public abstract class IntegrationRepositoryView
A repository view for querying an integrations repository. This must be extended by a class that knows how to create a command input for a given query.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static atg.repository.query.SupportedQueries |
SUPPORTED_QUERIES
|
Fields inherited from class atg.repository.RepositoryViewImpl |
---|
mCache, RESOURCE_BUNDLE_NAME |
Constructor Summary | |
---|---|
IntegrationRepositoryView()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static atg.repository.query.SupportedQueries SUPPORTED_QUERIES
Constructor Detail |
---|
public IntegrationRepositoryView()
Method Detail |
---|
public void setQueryBuilder(QueryBuilder pQueryBuilder)
public QueryBuilder getQueryBuilder()
getQueryBuilder
in interface RepositoryView
getQueryBuilder
in class RepositoryViewImpl
public RepositoryItem[] executeUncachedQuery(Query pQuery, QueryOptions pOptions) throws RepositoryException
executeUncachedQuery
in class RepositoryViewImpl
pQuery
- the query to executepOptions
- the options to the query
RepositoryException
- if there is an error while performing
the query operationpublic abstract java.lang.Object createQueryCommandInput(Query pQuery, QueryOptions pQueryOptions) throws RepositoryException
RepositoryException
public RepositoryItem[] executeQueryCommand(java.lang.Object pInput) throws RepositoryException
RepositoryException
protected RepositoryItem[] processResults(Command pCommand, CommandResult pCommandResult) throws RepositoryException
RepositoryException
public int executeCountQuery(Query pQuery)
executeCountQuery
in interface RepositoryView
executeCountQuery
in class RepositoryViewImpl
pQuery
- the query to execute
executeQuery(pQuery)
RepositoryException
- if there is an error while performing
the query operationpublic RepositoryItem[] applyOptions(RepositoryItem[] pItems, QueryOptions pOptions) throws RepositoryException
RepositoryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |