Clearing the values of bind variables associated with the view criteria

This recipe shows you how to clear the values associated with bind variables used as operands in view criteria items for a specific view object. It implements a method called clearCriteriaVariableValues() in the view object framework extension class, which becomes available for all view objects to call. Bind variables are associated as operands for criteria items during the process of creating the view object's view criteria in the Create View Criteria dialog. Also, as we have seen in the Creating view criteria programmatically recipe, bind variables are generated automatically by the framework when programmatically creating view criteria. You can use this technique ...

Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.