Sunday 29 May 2016

ADF Business Components Part 2 (Enity Object , View Objects , ApplicationModule )

Hi Every one This is the second Part  about ADF Business Components , if you don't have seen first one , here is the URL
http://adfindepth.blogspot.com/2016/05/adf-business-components-part-1-enity.html   


So in the part 1 we create Application Now in this post i'll show you how to create
Entity Object
Entity base View object
Association (relationship / link between two Entity Objects)
ViewLink (relationship / link between two View Objects)

Last time we end on this point


So Again Right click on Model and select new
Then select ADF Business Component from left side (categories) and Business Component form Tables from right side (Items) and click OK




In the next window just click on green color + icon and create connection


After  creating connection successfully just click on ok and ok from both the windows

then a new window will appear from where your can select Entity objects 
just click on Query and and move tables from right to left and then click Next


Then from the next window you can create View objects base on Entity object 
just select and move Entity object from left to right 



From the next Window you can create Query base View object (non update able) just click on Query and move tables from left to right and click Next



after that simply click on Next Next and Finish  

and you will create this view

-



So in the last pic i will assign a specific number of each component now i will explain one by one

1 = AppModule 
It control the navigation of data and sources
2 =
It is Query base non update able view object 
3= It is the Entity object of Employees table
4= This number 4 item is an Association , it means the link or relationship between two entity objects 
5 =  and number 5 show the view link , means link or relationship between two view objects

So at the end ADF frame work automatically create Associations and view links if you have created in data base level 
for example Employees and Departments tables has a relationship or master detail (The dept_id is used as a Foreign key in Employees table ) So For these two table Jdeveloper automatically create Association and view link 


On the other hand you can create Application level view links 


Please Feel Free To Ask if you Face any Difficulty 
Like and share to help others
Thanks
Date 29-5-2016

1 comment:

  1. The very low price certainly isn’t good news for other SaaS marketing vendors, but I think it’s more about the unique situation of the Teradata products than the industry in general. Pitch Presentations

    ReplyDelete

Query to get Business unit (ORGANIZATION_ID) Detail in oracle Fusion

  SELECT HAO.ORGANIZATION_ID AS BUSINESS_UNIT_ID,         HAOT.NAME,         HAO.BUSINESS_GROUP_ID,         HAO.EFFECTIVE_START_DATE,       ...