Sunday, January 31, 2010
ADF Sample: Declarative line item search
A common functional requirement is to search for master objects based on some attributes of its detail objects.
- Search for requisitions containing an item costing more than a given amount.
- Invoices containing invoice lines with specific item names.
ADF has purely declarative support for implementing this kind of a usecase. To illustrate, I have implemented:
A search for departments which have at least one employee whose salary is greater than the salary entered in search form.
The core concept is that a 'view link accessor' (or an association accessor in the entity layer) can (should) be seen as just another attribute.
Download the example: LineItemSearch.zip.