Taking a closer look at view objects
In this section, we will explore the advanced concepts in view objects and features that have not been discussed in Chapter 4, Introducing View Objects. We will start by discussing lifecycle callback methods for a view object. As we move forward in this section, we will discuss some advanced usage patterns for view objects with examples.
Lifecycle callback methods of a view object
The ADF view object component includes a variety of callback methods for executing the query and for managing the result set. These callback methods are defined on the base view object implementation class which can be optionally overridden to add custom logic. The following diagram depicts the sequence of the lifecycle callback for a view object.
What happens when a client invokes executeQuery() on a view object instance?
When a client invokes executeQuery()
on the view object the following methods defined on the view object are engaged at various stages of query execution:
ViewObjectImpl...