For your EmployeesVO view object, you want to return only those employees who have a salary greater
than 1000.
Which two options would you use to achieve this declaratively in ADF Business Components?
Correct Answer: B,E
Explanation/Reference:
B: The setWhereClause method sets a WHERE clause bind value of the View Object's query statement.
E: The createViewCriteria method creates a new view criteria (that is, "Query by Example") object for this
View Object. A view criteria object is an alternative to using an arbitrary SQL statement. A view criteria is a
list of row criteria for a View Object's WHERE clause, where a row criteria is an array containing criteria for
the individual attributes.
A view criteria is a more structured way of creating a SQL query WHERE clause. After setting various
conditions for the view criteria object, the application can call the applyViewCriteria method, which applies
the view criteria to this View Object.
References: https://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/ViewObject.html