<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2079162872715081181</id><updated>2011-07-28T09:38:20.132-07:00</updated><title type='text'>Sameh Shokry Nassar</title><subtitle type='html'>This Blog For ADF Model Layer Topics Only (for view layer goto sameh-nassar.blogspot.com)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://samehshokrynassar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://samehshokrynassar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sameh Nassar</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_gtyEuru9PjQ/TF8EIZFIMQI/AAAAAAAAAGA/oS4skk2LTIw/S220/sameh.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2079162872715081181.post-1295853120273888718</id><published>2009-10-29T03:43:00.000-07:00</published><updated>2009-11-17T04:12:08.912-08:00</updated><title type='text'>To get viewObject from Java File and create new row</title><content type='html'>Assume that you have an application with HR schema and make a Department viewObject.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To get viewObject:&lt;/strong&gt;&lt;br /&gt;DepartmentsViewImpl dv = (DepartmentsViewImpl)findViewObject("DepartmentsView1");&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To get current row:&lt;/strong&gt;&lt;br /&gt;DepartmentsViewImpl dv = (DepartmentsViewImpl)findViewObject("DepartmentsView1");&lt;br /&gt;DepartmentsViewRowImpl r = (DepartmentsViewRowImpl)dv.getCurrentRow();&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To create new row:&lt;br /&gt;&lt;/strong&gt;DepartmentsViewImpl dv = (DepartmentsViewImpl)findViewObject("DepartmentsView1");&lt;br /&gt;DepartmentsViewRowImpl r = (DepartmentsViewRowImpl)dv.createRow();&lt;br /&gt;dv.insertRow(r);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2079162872715081181-1295853120273888718?l=samehshokrynassar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samehshokrynassar.blogspot.com/feeds/1295853120273888718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/to-get-viewobject-from-backingbean-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/1295853120273888718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/1295853120273888718'/><link rel='alternate' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/to-get-viewobject-from-backingbean-and.html' title='To get viewObject from Java File and create new row'/><author><name>Sameh Nassar</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_gtyEuru9PjQ/TF8EIZFIMQI/AAAAAAAAAGA/oS4skk2LTIw/S220/sameh.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2079162872715081181.post-6989613015619949258</id><published>2009-10-29T03:41:00.001-07:00</published><updated>2009-10-29T03:41:40.868-07:00</updated><title type='text'>How to make a domain</title><content type='html'>A domain is used for making your own data type with your validation to do this:&lt;br /&gt;-          Right click in the package then choose New.&lt;br /&gt;-          Choose ADF Business Component then choose Domain.&lt;br /&gt;-          Enter the package and the name of the domain.&lt;br /&gt;-          Choose data type then finish.&lt;br /&gt;-          After creating a domain open the generated domain java class.&lt;br /&gt;-          Enter you validation in validate() method.&lt;br /&gt;-          There is a generated object 'mData' this object contain the data which you enter.&lt;br /&gt;-          Go to the attribute in any entity from type choose your domain.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2079162872715081181-6989613015619949258?l=samehshokrynassar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samehshokrynassar.blogspot.com/feeds/6989613015619949258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/how-to-make-domain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/6989613015619949258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/6989613015619949258'/><link rel='alternate' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/how-to-make-domain.html' title='How to make a domain'/><author><name>Sameh Nassar</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_gtyEuru9PjQ/TF8EIZFIMQI/AAAAAAAAAGA/oS4skk2LTIw/S220/sameh.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2079162872715081181.post-4690343779508471830</id><published>2009-10-29T02:24:00.000-07:00</published><updated>2009-10-29T03:52:57.743-07:00</updated><title type='text'>For making a client method (Model Method)</title><content type='html'>1- Open Application Module.&lt;br /&gt;2- Goto Java link then mark on "Generate Application Module Class".&lt;br /&gt;3- In the generated class (ApplicationModuleImpl) write any public method you want.&lt;br /&gt;4- Open Application module then go to java link then go to client interface and shuttle your method.&lt;br /&gt;Hint: if you want to write your method in other class not in (Applicationmoduleimpl class) write your own class then make Applicationmoduleimpl class extends your own class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2079162872715081181-4690343779508471830?l=samehshokrynassar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://samehshokrynassar.blogspot.com/feeds/4690343779508471830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/for-making-client-method-model-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/4690343779508471830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2079162872715081181/posts/default/4690343779508471830'/><link rel='alternate' type='text/html' href='http://samehshokrynassar.blogspot.com/2009/10/for-making-client-method-model-method.html' title='For making a client method (Model Method)'/><author><name>Sameh Nassar</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_gtyEuru9PjQ/TF8EIZFIMQI/AAAAAAAAAGA/oS4skk2LTIw/S220/sameh.JPG'/></author><thr:total>0</thr:total></entry></feed>
