Changes

Application Context Management

61 bytes added, 15:47, 15 December 2016
/* View and View Items */
=== View and View Items ===
The View defines the hierarchical representation of all objects that should be available. The object's look & feel is described by Scopes, but the connection between those objects is described by the View. For example, if I have a root object ''Station A'' and as its child, I have an object ''Unit A.1'', then the View describes that ''Unit A.1'' is a child of ''Station A''.
Technically, the view uses View Items in order to describe the connection of objects. View Items are defined for a Meta Class, e.g. for the Meta Class ''Station'', and can provide the children for specific instances of such a Meta Class. In our example, if we have a View Item responsible for getting the Unit-children of a Station, for ''Station A'' (which is an instance of the scope Meta Class ''Station'') it would retrieve ''Unit A.1''.
There are different types of View Items, depending on how the children should be resolved technically. The following types exist:
* Reference View Item (only 1 : N relations)
Query View Items use a query to evaluate the children, but the parent object has to be the respective query object.
A View can have multiple view items for the same Meta Class (target type) in order to make a complex structure possible.
 
[[Category:Publishing|Application Context Management]]
=== Meta Definitions ===
1,522
edits