Thursday, October 3, 2019

Programmatically execute view criteria in ADF (With two different Approaches ) part 2

Hi everyone this is the second part of  "Programmatically execute view criteria in ADF (With two different Approaches ) "


In first part i have explained in detail how you people can execute the view Criteria in AppModuleImpl class and ViewObjectImpl class
if you don't have seen yet please visit the following link

http://adfindepth.blogspot.com/2016/07/programmatically-execute-view-criteria.html

In this post i simply show the code and which method we should adopted

1) Execute View Criteria in AppModuleImpl class 


2) Execute View Criteria in ViewObjectImpl class 




The best place to execute the View Criteria 

In my point of view The view object Impl class is the best place to execute the view criteria
because in this way we can manage our application in a better way
Secondly we need less code in View object Impl class to execute View criteria

3 comments: