When you have a requirement to access EOImpl level overridden methods or any custom method from VOImpl follow below steps.
1.Create/Override method in your EOImpl class
In above example i have overridden the getEntityState method to print the state of my current entity row.
2. To access this method in VOImpl class
Create VOImpl and VORowImpl classes for your view object.
See the code written in below VOImpl class to access the EOImpl methods.
3. Now you can expose this method to client tier through VO/AM Client Interface.
As per your requirement you can use the client interface and achieve the functionality.
Comments
Post a Comment