A repository query defines a request to find all items of a specified item type that fit a set of criteria. Those criteria are specified in terms of the item type’s properties—for example:

find all Person items where age property > 30

The Repository API can express a wide variety of queries, including queries that match patterns in text, query through collections, or even query through complex values. Queries can also specify the order in which to return results, and can specify which results from a large result set to return. For example, a query can return a subset of Person items as follows:

Queries can be built and executed with the Repository API. In cases where the query is complex or cannot use the Repository API directly, queries can be represented in the Repository Query Language (RQL). In most cases, however, repository queries can be constructed easily with targeting UI components in the ATG Control Center.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices