Hi Every one in this post i will show you How to create ViewObject Manually and the types of View Object .
Types of View Object
There are four type of view object .
1) Entity Base
2) SQL Query Base
3) Programmatic Base
4) Static List
1)Entity Base
Suppose you have an ADF Application with Employee Entity Object and later you need to create a view object base on Employee Entity Object
Before creating View object Application looks like this (no other ADF Business Component not even AppModule we will later create AppModule manually )
To create Entity object base View object manually just right click on Model and select New
Types of View Object
There are four type of view object .
1) Entity Base
2) SQL Query Base
3) Programmatic Base
4) Static List
1)Entity Base
Suppose you have an ADF Application with Employee Entity Object and later you need to create a view object base on Employee Entity Object
Before creating View object Application looks like this (no other ADF Business Component not even AppModule we will later create AppModule manually )
To create Entity object base View object manually just right click on Model and select New
Then from the new window Select ADF Business Component from categories and viewObject form items and click ok
Then from the new window write the name of View object Select Entity Object and click next
In the next Window select Employees EnitiyObject and move to right side and then click next
Next select Attributes and move to right side that you need in new view object (EmpVO) i just select EmployeeId, First name , and Last Name and after selecting attributes click Next
In the Next window you can modify different properties i just change the name of EmployeeId to Id and click Next
In the next window you can apply where Condition and Order By clause
In next window just click Next
In the Next window you can generate java classes (i will explain this in later post) For now just click Next
In the Next window you can select AppModule but we have not create AppModule yet So just Click Next
This window show the summery , again click Next and then Finish
You have Successfully created View Object (EmpVO) base on Entity Object (Employee)
now you Application will be look like this
Continue..........
the URL of Second Part
In the next post we will manually create AppModule and then we will run and check this Application
Note :- Without AppModule we can't run our Application
Please Feel Free To Ask if you Face any Difficulty
Like and share to help others
Thanks
Date 08-06-2016
“I could not have closed on my first home without Mr, Benjamin Lee ! Benjamin and his team went above and beyond for me on this transaction. He handled my very tight turn around time with ease and was always available for me when I had questions (and I had plenty), even when he was away from the office, which I greatly appreciated! He and his team handled many last-minute scrambles with the seller and worked tirelessly to make sure that I could close before my lease (and my down payment assistance, for that matter) expired. Mr Benjamin is incredibly knowledgeable Loan Officer, courteous, and patient. I went through a couple offers on properties before my final purchase and Benjamin was there to help with each one, often coordinating with my agent behind the scenes. I felt supported throughout the entire process. Thanks to Benjamin and the tireless efforts of his team, I am now a proud home owner! I would encourage you to consider Benjamin Briel Lee for any kind of loan.Mr, Benjamin Lee Contact informaions.via WhatsApp +1-989-394-3740 Email- 247officedept@gmail.com.
ReplyDelete