Oracle ADF view objects and application modules can provide service methods, methods that perform complex operations on data. These methods can be called from clients, requiring very little data manipulation processing in the client itself. To create these methods, see Creating Business Components Service Methods for Clients.
Once you have retrieved an application module instance, view object instance, or view row, you can call any appropriate Oracle ADF Business Components service methods you have created.
To call exported methods from clients:
orderentry.datamodel
, you
would use:
import orderentry.datamodel.common.*;
CheckInventoryModule
:
CheckInventoryModule checkInventoryAM = (CheckInventoryModule) am;
OrdersView
:
OrdersView ordVO = (OrdersView) foundVO;
OrdersViewRow
):
OrdersViewRow currentOrder = (OrdersViewRow) currentRow;
Note: You can also cast the business component at the same time you retrieve it.
Exposing Data to Clients
About Oracle ADF View Objects
About Oracle ADF Application Modules
Accessing a Root-Level Application Module
Finding a Nested Application Module Instance
Finding View Object Instances in the Data Model
Ways to Navigate Through Query Results
Copyright © 1997, 2004, Oracle. All rights reserved.