Wednesday, April 7, 2010

Bit #6 - Removing all rows from a View Object

To remove all rows from a View Object programmatically - i.e. clear or reset the View Object, call its executeEmptyRowSet() method. You can do this anywhere in the context of the Application Module or View Object Implementation.


    // in the context of the Application Module Implementation

   ViewObjectImpl vo = this.getSomeViewObject();


Application Module Implementation
View Object Implementation


What Does executeEmptyRowSet() Do?

1 comment:

  1. Hi Nick,

    Nice post. However, would like to know the difference between iterating over the rowset, removing rows one by one and executeemptyrowset().

    Which is better and the reason because i found the first method to be used in fusion demo provided by Oracle.

    Many thanks in advance


Related Posts Plugin for WordPress, Blogger...