DOCS

Editing Query Definitions

Overview

When editing query definitions, you must use the model elements as defined in the repository metamodel. As a result, query definitions become read-only when the Business Names feature is active. If you want to edit queries and a business name definition currently applies, deactivate it before you connect to the repository.

You use the Query Manager to create or edit queries. The Query Manager displays query structure definitions graphically, so that you can easily understand how queries are structured.

You define queries by combining object types with links for retrieving linked objects. You can refine query results by applying filters.

becubic displays query results in a tree structure, a list, a graph (for example, PERT chart or flowchart), or a table of cross-references. By default, the layout that is used for displaying the results of a query is the one that is specified in the query definition.

After running a query, you can change the layout that has been used to display its results.

Like the Type Browser displaying all objects in a single view, regardless of where each object comes from, the becubic queries you define retrieve any objects that satisfy the specified criteria, from any data sources (that is, your becubic repository and every CAE entry point to which it is connected).

If you modify the connections to CAE entry points, your queries might retrieve different objects even if the query definitions are unchanged.

Queries are stored in the repository, so that they are available to any user with appropriate access rights either in the becubic Eclipse client or in becubic Web.

This topic explains how to use the Query Manager. See the topic Buttons in the Editor Frame for more information about the various views that becubic provides.