Data Control Customizations

Once the data is fetched, there can be a need to manipulate the data that has been fetched from the data provider. Inspired on the ViewRowImpl functionality from ADF BC, we created an annotation framework to manipulate the XML Data Control. On this page all the annotation are described in detail, to show the functionality of this framework we’ll first walk you through an example class.

Just as in the ViewRowImpl in ADF BC, you create a Java class to code the functionality of the data manipulation. This Java class is bound to an Element in the XML Data Control. In the example below, the Java class is to manipulate an Employee element. With the help of an annotation on the Java Class, you inform the customization which data collection you want to customize. With the help of annotations above the different method signatures, you inform the Data Control of the manipulations you want to do.
 


Setting up this Customization Class and refreshing your Data Control panel will result in a new structure of the Data Control.
We believe working with Customization will be close to the comfort zone of the ADF developers used to manipulating a row in the ADF BC framework.
An additional advantage of this manipulation is that it happens on the model side and thus eliminates the use of JSF Managed Beans for this.
 


At the moment we support a total of 8 annotations, you can find out what they do and how to use them in this chapter of the Developers Guide. 
We'll work with example code in an sample application, follow the first steps in the Getting started in 5 Minutes page, to make sure you have downloaded and installed the extension.
You can use the same JDeveloper project that is used in the Getting started page.