public interface ParameterSupportView extends RepositoryView
This interface provides one variation of executeQuery(..) for every
existing variation in atg.repository.RepositoryView
with
the addition of an Object[]
argument representing the
values of any parameter QueryExpression
objects present in
the provided Query
argument. In
all cases, the first value in the Object[]
corresponds to
the first parameter present in the Query
, the second value
in the array corresponds to the second parameter in the Query
,
and so on. This behavior should not change from implementation to
implementation.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
int |
executeCountQuery(Query pQuery,
java.lang.Object[] pParameterValues)
Executes the given query and returns the number of items found that
satisfy it.
|
RepositoryItem[] |
executeQuery(Query pQuery,
int pStartingIndex,
int pEndingIndex,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of matching RepositoryItems,
which are contained within a total potential result set.
|
RepositoryItem[] |
executeQuery(Query pQuery,
int pStartingIndex,
int pEndingIndex,
SortDirectives pSortDirectives,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of matching RepositoryItems,
which are contained within a total potential result set.
|
RepositoryItem[] |
executeQuery(Query pQuery,
int pStartingIndex,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of
matching RepositoryItems, beginning at the starting index element.
|
RepositoryItem[] |
executeQuery(Query pQuery,
int pStartingIndex,
SortDirectives pSortDirectives,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of matching
RepositoryItems, beginning at the starting index element.
|
RepositoryItem[] |
executeQuery(Query pQuery,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of the matching
RepositoryItems (not ids)
|
RepositoryItem[] |
executeQuery(Query pQuery,
QueryOptions pQueryOptions,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of the matching
RepositoryItems (not ids)
|
RepositoryItem[] |
executeQuery(Query pQuery,
SortDirectives pSortDirectives,
java.lang.Object[] pParameterValues)
Executes the given query and returns an array of the matching
RepositoryItems (not ids)
|
executeCountQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getItemDescriptor, getQueryBuilder, getViewName
static final java.lang.String CLASS_VERSION
RepositoryItem[] executeQuery(Query pQuery, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, SortDirectives pSortDirectives, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepSortDirectives
- the directives to sort the result set withpParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, int pStartingIndex, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepStartingIndex
- the beginning index, inclusivepParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, int pStartingIndex, SortDirectives pSortDirectives, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepStartingIndex
- the beginning index, inclusivepSortDirectives
- the directives to sort the result set withpParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, int pStartingIndex, int pEndingIndex, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepStartingIndex
- the beginning index, inclusivepEndingIndex
- the ending index, exclusive. A value of -1 signals
to query all items in the list.pParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, int pStartingIndex, int pEndingIndex, SortDirectives pSortDirectives, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepStartingIndex
- the beginning index, inclusivepEndingIndex
- the ending index, exclusive.pSortDirectives
- the directives to sort the result set withpParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.RepositoryItem[] executeQuery(Query pQuery, QueryOptions pQueryOptions, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepQueryOptions
- A set of options that may modify the querypParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.int executeCountQuery(Query pQuery, java.lang.Object[] pParameterValues) throws RepositoryException
pQuery
- the query to executepParameterValues
- values of any parameter expressions that
are in the given query. Each expression is replaced in the order
that it is encountered with the corresponding parameter value e.g.
the first parameter is replaced with pParameterValues[0], the second
parameter is replaced with pParameterValues[1], etc.pQuery
RepositoryException
- if there is an error while performing
the query operation, or if the pParameterValues argument is faulty in some
way. The manner in which pParameterValues is considered illegal is
dependent upon the implementation, but common cases should include
situations where the number of elements in the array don't match up
with the number of parameter QueryExpressions in the Query.