ADF BC + ADF Faces: How can consult a ViewObject in a backing bean.

Hello comunity i'm new in ADF tecnology, need to consult a VO in a backing bean code, but these are not instances in page definition.
Thanks Comunity.

Hi Peter you can consult your aplication module and all VO including inside using these code:
String amDef = "model.AppModuleImpl";
String config = "AppModuleLocal";
String retorno = "";
ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
ViewObject myVO = am.findViewObject("YourVO");
Then you can filter your VO if you need
myVO.setWhereClause("id = : 0");
myVO.setWhereClauseParam(0, var);
myVO.executeQuery();
And iterate by the results
while (myVO.hasNext()) {
myVO.next();
Row myRow = myVO.getCurrentRow();
Number id= (Number)myRow .getAttribute("Id");
Good Luck

Similar Messages

  • My apple ID has been hacked so I had to create a new account, how can I get my old account back??

    My apple ID has been hacked so I had to create a new account, how can I get my old account back?? My iPhone and iPad are linked to the account i lost

    freedone wrote:
    Great! Yes mysterious is best way to describe internet eh lol. It could be that I have asked other questions that had absoulutely no relevance to the current q,  onto previous questions. So I am going to look thru them all..
    I did say m i s c h i e v o u s  didn't I? Mysterious it is though too.
    Regarding the latter, I have some tips for searching... (WARNING: I don not have a high opinion of the Forum Search abilities)
    Discussion Search
    https://discussions.apple.com/search.jspa?type=discussion&q=Great!&author=%2Fpeo ple%2F946207&sort=updatedAsc
    The above is what is called "Space Search"
    I used the first word of you above post " Great! " with a couple of filters applied - found this thread and one other
    If you can think of any term you may have used, it may be of some benefit to use this search
    ELSE
    I am VERY fond of Google "Site Search" for all of Apple.Com and its subdomains...
    a mere search for your username with quotes no brackets [ "freedone" ] yielded 313 results - but there IS another username "freedoneb" that may take up some of that real estate
    https://www.google.com/?gws_rd=ssl#safe=off&q=%22freedone%22+site:discussions.ap ple.com

  • I used a third party programme called Mackeeper UGHHH,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??how can i manually put these files back where they belong?SO upset!!

    I used a third party programme called Mackeeper UGHHH SOOO Stupid i know,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??and will not work even when i highlight one by one!!
    how can i manually put these files back where they belong?
    i know i should have used time machine but i have not set it up and its too late for that now
    i have been researching and racking my brain on how to put these folders and contents of them back to where they once were all of the contents of the folder are still in tact AND i have not emptied my trash,my programmes and some of my apps are not working properly now...i use my computer alot for making music and things are jumbled up now...
    is there anyone out there who knows the answer to my prayers on how to go about putting these folders/files back to where they came from to restore functionality to my mac..Yes and thank u if u were going to tell me i HAVE un installed mackeeper...A very sad and upset Mac user!! Cheers Shane

    hello there thank u so much for ur reply!! ok i uninstalled mackeeper now and the put back option is still in grey im so confused...i tried restarting my computer like u said and put back still in grey??!! the files that are in my trash are everything from Accounts,address book plug-ins,address book,adobe,aim.........then stuff like apple,Audio,....to caches color pickers,colors,com.apple.TCC,to DVD player to facebook,google to ilifemedia browser to itunes to keychains to movie effects,preferences printers to skype...my Native instruments files BUT not all of them my garage band but not all of it...it seriously looks like my whole library is in the trash i tried to put things back where i THINK they belong and it just added the item or folder under where i thought it went and didnt restore functionality to for instance google chrome and all my book marks are there....they seem to be only certain things from my library that would have added some functionality to apps and programmes like my garageband is missing stuff photobooth wont work so on.......kinda looks a bit like this thats only the half of it!! Cheers shane!!!

  • My ipod is somehow synced to another library, because I plugged the charger to a wall. How can I sync my ipod shuffle back to the original Itunes library without erasing my current data in the Ipod shuffle?

    My ipod is somehow synced to another library, because I plugged the charger to a wall. How can I sync my ipod shuffle back to the original Itunes library without erasing my current data in the Ipod shuffle?

    ",the owner sold the ipod without clearing the songs and since the songs were not puchased from the itunes store then i believe i now own the songs"
    Not true at all.
    It does not matter where the songs came from, they are not yours and the previous owner does not own the right to distribute them to others.
    The law is the same with downloads and cds and any other medium.

  • How can I get my itunes library back onto my laptop from my ipad

    How can I get my itunes library back onto my laptop from my ipad?

    Here is one way: http://www.copytrans.net/copytransmanager.php Google for more.
    Why isn't the library on your computer?

  • My daughter's iPad is backing up to my iCloud, which is how we set it up originally. Now she has her own iPhone with her own iCloud. How can I get her iPad to back up to her own iCloud?

    My daughter's iPad is backing up to my iCloud, which is how we set it up originally. Now she has her own iPhone with her own iCloud. How can I get her iPad to back up to her own iCloud?  Her iPad is taking up 3.4MB of my 5MB. I need my space back!

    kat...mom wrote:
    I suppose ya.  If she deletes my account from her iPad it won't affect my account, right? 
    Yes, that's correct, it won't affect your account or your devices in any way.
    Use the delete account button in the iCloud settings.
    Then enter her iCloud details in the new screen that appears and log in. She should then be returned to the screen above but with her Apple ID at the top, enable the services she wishes to use and then tap the storage & backup option and ensure that iCloud backup is turned on.
    settings

  • How can I get my 25 pounds back. It's been stolen fom my itunes account to buy KingdomConquest stuff. I' ve been hacked via itunes - I had a prepaid card in there.

    How can I get my 25 pounds back. It's been stolen from my itunes account to buy KingdomConquest stuff. I' ve been hacked via itunes - I had a prepaid card in there.
    I work in it, am very careful, and this is the first time since 1985 when i starter using i.t. That i've been hacked. Thank you apple. It seems like a very common problem with apple.
    What's the email address i should use to get my money back and report it ? As usual the apple phone lines don' t answer, an they make life as difficult as possible for anyone to gt redress.

    It's most likely not you, no matter what they say. I have noticed a LOT of fraud with itunes, even with my own account. One time I caught them doing a database restore. I know this because my password automagically reverted back to an old one! I'm an IT guy who helped design DOD classified networks in the mid-pacific. I know security. The best protection for this is to NOT have a credit card listed in iTunes. Use iTunes cards ONLY. It's a pain, but until they step up, it's all you got.

  • I updated my iPhone 4 to iOS5 and let it sync with my Macbook and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    I updated my iPhone 4 to iOS5 and let it sync with my Macbook (running Lion) and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    Me too!  Help anyone?

  • I accidently moved my Documents folder to Trash (which was on my Dock, right next to Trash).  Now I cannot get it back!  How can I get my Documents Folder back on my dock?

    I accidently moved my Documents folder to Trash (which was on my Dock, right next to Trash).  Now I cannot get it back!  How can I get my Documents Folder back on my dock?

    Choose Home from the Finder's Go menu and drag it back from there.
    (102536)

  • How can I have my iTunes account back after apple has disabled it?

    My Itunes Account has been disabled for not paying . after that I payed and they took the moeny owed.
    but still my account disable.
    How can I have my iTunes account back after apple has disabled it?

    contact iTunes support team

  • How can I get the old Firefox back, this new one stinks

    how can I get the old Firefox back, this new one stinks

    Firefox is highly customizable and you may be able to customize it to meet your needs.
    If you do not like the new UI, you can make Firefox 4 look and behave more like Firefox 3.6, for details see http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • I have updated firefox 5.0 and it is a mesh now. No normal startpage, plugins gone, how can i get my old firefox back ?? Thanks !! in English

    Question
    i have updated firefox 5.0 and it is a mesh now. No normal startpage, no tools, no extra, plugins gone, how can i get my old firefox back ?? Thanks !!

    Simply go to:
    1.View 2.Select tool bars 3. Uncheck any of the toolbars below: a. Babylon toolbar b. Softonic Eng 7 Community tool bar!
    4.Finish.... if nothing happened try to unchechked other tool bars.

  • I imported a slide on my old mac book pro to my iTune i had on it, but it got a new one how can i get my old iTune  back with that slide i imported

    imported a slide on my old mac book pro to my iTune i had on it, but it got a new one how can i get my old iTune  back with that slide i imported

    If this is a question about syncing with iTunes, you might want to post it over in the iTunes forum.

  • My friend synced a video to my ipod but it erased all my data on my ipod,but i cant figure out how to load my old libray back without deleting the movie. my friend cant tell me the password. How can I get my old library back without deleting the movie?

    My friend synced a video to my ipod but it earased all my data on my ipod,but I can't figure out how to load my old library back without deleting the movie. My friend shares a family account so she can't tell me the password. How can i get my old library back without deleting the movie?

    Linnwarner wrote:
    She does have the right because she bought the movie.
    Not true at all.
    You only buy the right to your own personal use.
    You do NOT have the right to distribute to others.
    This is illegal.  There is no doubt about it

  • HT201274 I have my brothers icloud account on my ipad and i want my icloud account back I have all my games from my acount but I can see his massages notes etc how can I get my icloud account back I tried so many things please help .???

    I have my brothers icloud account on my ipad and i want my icloud account back I have all my games from my acount but I can see his massages notes etc how can I get my icloud account back I tried so many things please help .???

    go to settings and sign out his apple id in the sections i tell you:
    1.game center
    2.itunes and appstore
    3.messages
    4.icloud(delete acount;it wont realy delete it will only remove from your ipad)
    5.facetime
    and then enter your icloud in each and every section

Maybe you are looking for

  • Help - how do I transfer from ipod to library

    Hi all, I have downloaded itunes onto a new computer and somehow managed to delete the file (when I thought I was transferring it) from the old computer. Therefore I have lost all of my library. I have still got all my music 5000 songs on my ipod and

  • Installing OS 10.4.3 on "new" hard drive - need to change mount location

    I have an older G4 that I am setting up for my little sister. The original hard drive in in went bad, so I put in a "new" one that I pulled from a working PC. I also bought OS 10.4.3 to install. When I try to install it on the new disk I get the mess

  • Need Help with Custon Tones

    Yo, so I know how to set custom ringtones for different contacts and i know all about checking the exceptions box but i cant get the phone to stop vibrating before someone with a custom ringtone calls. I just need to know if there's a way to remove t

  • Authorizing more than one computer

    i have a new laptop. how do i authorize it to play the songs from my ipod that were purchased and downloaded from my other computer?

  • How to get rid of the bookmark on my screen  and get my whole screen back

    TOday apple upgraded the IOS on my ipad since then we are all messed up and lost stuff the thing the most bothersome is that we cant get rid of the bookmark on the screen so we just have2/3 of screen