Sometimes you need dynamic ViewCriteria that you can handle at runtime, ADF provides Java classes for handling View Objects, View Criteria and other business components.
Here is the solution for creating and executing View Criteria Programmatically.
- Suppose you have Department VO
- You want to filter this VO for DepartmentId 10
- You can do this using this code snippet
Cheers 🙂 Happy Learning
An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF