Dynamically changing the WHERE clause of the view object query
During the execution of the view object's query, the ADF Business Components framework calls a series of methods to accomplish its task. You can intervene during this process by overriding any of the methods called by the framework, in order to change the query about to be executed by the view object. You can also explicitly call methods in the public view object interface to accomplish this task prior to the view object's query execution. Depending on what exactly you need to change in the view object's query, the framework allows you to do the following:
Change the query's
SELECT
clause by overridingbuildSelectClause()
or callingsetSelectClause()
Change the query's
FROM
clause by overridingbuildFromClause()
or callingsetFromClause()
Change the query's
WHERE
clause viabuildWhereClause()
,setWhereClause(), addWhereClause(), setWhereClauseParams()
, and other methodsChange the query's
ORDER BY
clause via the...