Best way to transfer a List Object into a view object?

Hi Guys and Gals,
I'm working with some 3rd party code. This code queries a 3rd party database and returns the data into a List like so:
        PlatformSessionContext context = webutils.getPlatformContext(accesstoken,accessstokensecret,realmID,dataSource);
     QBCustomerService customerService = customerService = QBServiceFactory.getService(context, QBCustomerService.class);
     List<QBCustomer> customers = customerService.findAll(context, 1, 100);What is then the best way to populate a view object with that list? I would think I would need to do a couple of things ...
1) Map the QBCustomer's fields/getters to my ViewObject attributes somehow ...
2) Iterate through the List and sync the QBCustomer field values to the VO rows/attributes.
Am I on the right track? What do you think is the best way to accomplish this? I've come across populating a VO via XML here (How do I implement an HTTP Get which returns XML into a View Object? ). Should I look for this QBCustomer.class's query and XML?
This is all a little over my head. Any help would be appreciated. Using JDev 11.1.2.2.0.
Thanks,
Will

Hi,
bets is to do it similar as in https://blogs.oracle.com/smuenchadf/resource/examples#134
In this sample, a list of selected keys is passed to a custom method exposed on the ViewObject. In your case you need to make sure the QBCustomer class is known by the ADF BC project. Then from the custom method, you create new rows in the VO and populate the attributes with values from the QBCustomer object. The method can be dragged from the data control palette (as a parameter form) or manually create in the PageDef (method binding). The latter case requires you to reference an object holding the list of QBCustomer
Frank

Similar Messages

  • I have a large kodak easyshare library, what is the best way to transfer them into iPhoto ?

    I have about 5k pictures in the kodak easyshare software system on a dell laptop - what is the best way to transfer or import them into iPhoto on my iMac ? any help will be greatly appreciated...

    Simply, export the data from this esy share system to standard formats like jpeg, making sure to preserve all metadata on the way. How to do that? YOu'll need to post on a Kodak forum I'm afraid.
    Then copy the files to the Mac and import them.
    Regards
    TD

  • Best way to transfer video between iphone and mac wirelessly?

    Please suggest me the best way to transfer files between mac and iphone wirelessly.Mainly for videos.

    If you want to transfer photos and videos from the Mac to the iPhone (but not in the other direction) you can use iTunes and sync via wi-fi: http://support.apple.com/kb/HT1386
    If you want to wirelessly tranfer videos in the other direction you may want to look into a 3rd party app such as http://www.photosync-app.com Note that I have not used that app so be sure to investigate others as well.

  • Best way to transfer DVD videos from laptop to ipad air

    Best way to transfer DVD videos from laptop to ipad air

    presuming they're not copywriteed commercial dvd's, you can use a program like Handbrake to convert the dvd files to mp4's that you can then import into iTunes and sync to your device.
    If they're copywritted commercial dvd's then you'd have to break the copywrite encoding to transcode the files and since that is illegal in the US no one here can help you with that.

  • What is the best way to transfer files from a Power PC G4 that has NO power?  Thanks.

    What is the best way to transfer files from a Power PC G4 that has NO power?   I have a newer iMac. Thanks.

    Remove the hard drive and get one of these USB hard drive adapters. http://tinyurl.com/a5l2htj Then plug the adapter into your iMac to see/retrieve the files.
     Cheers, Tom

  • What is the best way to transfer home videos from one mac to another?

    What is the best way to transfer home videos from one mac to another?

    hustonsmom wrote:
    the commercial is deceiving to me. i am not the most techy person and i thought that you could share full song playlist which to me meant the songs also. that is all, it wasnt anything you had said but i am really thankful you enlightened me because i would still be racking my brain trying to figure out how to do it.
    You can share songs, but if there is DRM protection on the song, it will not play on the other device unless you also transfer the rights to the other device. You are getting into the problem of music piracy.

  • Best way to transfer and delete all project related files?

    I want to work on a project while at school and home.
    1. Is Media Manager the best way to transfer everything I need from one mac to another?
    2. Is there an automated way to delete all of my files from capture scratch, etc. on the school mac when I am done transferring everything to my disk? I would like to make sure no one else can access those files, though I do not want to delete anyone else's work.
    Thanks.

    Go get yourself a big, fast portable firewire drive. Plug it into the school computer. (make sure it is properly formatted first!!!) Navigate to your project's capture scratch folder. Drag the folder to your hard drive. When it's done copying, open as many files as it takes to satisfy you that it has copied successfully.
    Then drag any photos, music, narration etc files to the hard drive. Finally, copy your fcp project file to the hard drive.
    When you're SURE you've got everything successfully, un mount the firewire drive. Then do all the above again, but this time drag the files on the school computer to the trash and empty the trash.
    All this assumes no other twit captured into your folder, but hey what the heck, live and learn.

  • Best way to transfer internal HD data in Mavericks to Mac with Yosemite ?

    Hello,
    I'm using a 2007 iMac with Mavericks and will be getting a new one which will presumably come with Yosemite installed. What's the best way to transfer all the data from my internal HD on the old system, to the new one ?
    I use SuperDuper to make backups to external HD's, so if I make a bootable copy of the mac HD to an ext HD using SuperDuper, will everything function fine despite the different OS's ?
    Thanks,
    Matrose.

    You can make a bootable copy of your system now, but you won't be able to boot from it with the new computer. They are not usually backwards compatible with the OS. But when you first boot into the new system, use SetUp Assistant to migrate the data from the cloned copy. That will work just fine.

  • Best way to transfer my music from iphone to computer

    Best way to transfer mu music from Iphone to computer.

    Make sure you phone is logged into the Apple ID you used to purchase this music in Settings>Store.  If it isn't, tap the ID shown, sign out, then sign back in with the ID you used.  You should then be able to see your purchased music on your phone in iTunes>Purchased>Music.  Also be sure you computer is auhorized for this ID in iTunes>Store>Authorize this computer.

  • Best way to transfer files without using migration assistant

    upgrading from snow leopard to mavericks goes ok, but migrating files hangs with "less than a minute to go". What is the best way to transfer user files without using migration assistant?

    I keep backups of essential documents in Dropbox, and then the files can sync when I reinstall Dropbox.
    For larger collections of files, for example, my Documents folder, or iTunes or iPhoto libraries, I transfer them from a Time Machine Backup- just by going into the backup manually and restoring the folders.
    If you have files that can fit on a flash drive, then you can use that, which is very fast.

  • Best way to insert millions of records into the table

    Hi,
    Performance point of view, I am looking for the suggestion to choose best way to insert millions of records into the table.
    Also guide me How to implement in easier way to make better performance.
    Thanks,
    Orahar.

    Orahar wrote:
    Its Distributed data. No. of clients and N no. of Transaction data fetching from the database based on the different conditions and insert into another transaction table which is like batch process.Sounds contradictory.
    If the source data is already in the database, it is centralised.
    In that case you ideally do not want the overhead of shipping that data to a client, the client processing it, and the client shipping the results back to the database to be stored (inserted).
    It is must faster and more scalable for the client to instruct the database (via a stored proc or package) what to do, and that code (running on the database) to process the data.
    For a stored proc, the same principle applies. It is faster for it to instruct the SQL engine what to do (via an INSERT..SELECT statement), then pulling the data from the SQL engine using a cursor fetch loop, and then pushing that data again to the SQL engine using an insert statement.
    An INSERT..SELECT can also be done as a direct path insert. This introduces some limitations, but is faster than a normal insert.
    If the data processing is too complex for an INSERT..SELECT, then pulling the data into PL/SQL, processing it there, and pushing it back into the database is the next best option. This should be done using bulk processing though in order to optimise the data transfer process between the PL/SQL and SQL engines.
    Other performance considerations are the constraints on the insert table, the triggers, the indexes and so on. Make sure that data integrity is guaranteed (e.g. via PKs and FKs), and optimal (e.g. FKs should be indexes on the referenced table). Using triggers - well, that may not be the best approach (like for exampling using a trigger to assign a sequence value when it can be faster done in the insert SQL itself). Personally, I avoid using triggers - I rather have that code residing in a PL/SQL API for manipulating data in that table.
    The type of table also plays a role. Make sure that the decision about the table structure, hashed, indexed, partitioned, etc, is the optimal one for the data structure that is to reside in that table.

  • What is the best way to transfer my iphoto library from old imac to new imac. both have iphoto 9.2.1

    What is the best way to transfer my iphoto library from current imac to my new imac.  Both imacs have iphoto 9.2.1
    os on old imac is 10.6.8.   os on new imac is 10.7.2.   I want the albums  and events to stay intact.  I have 4500 photos and 79 videos. 14.9 gb. looking for some advice here. Thanks so much.

    Connect the two Macs together (network, firewire target mode, etc) and drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac and it will open the library and convert it as needed and you will be ready move forward.
    LN

  • I just bought a new Macbook. What's the best way to transfer all my info from the old one?

    Hey everyone! I just got my new retina display Macbook Pro, and I'm trying to figure out the best way to transfer all my music/photos/files/data/etc. from my old Mackbook Pro. I have a 1TB external drive and an 8GB flash drive that I can use if I need to. Any sugestions? Thanks!

    What i did with mine, I cloned the drive of my old macbook to my external drive using carbon copy cloner.
    Once i was done with the clone - i used migration assistant to transfer my apps/data/pictures/files over my new macbook....
    when using migration assistant - do not transfer your old settngs and if you're doing an app transfer, only transfer the ones you need and that you know will work with your Retina...
    good luck..

  • Whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    Check out > OS X Lion: How to use Migration Assistant to transfer files from another Mac

  • Got new macbook pro. What is the best way to transfer my itunes from my old pc to my new mac? I want to be able to plug my iphones and ipad in to new mac and have redo anything

    Got new macbook pro. What is the best way to transfer my itunes from my old pc to my new mac? I want to be able to plug my iphones and ipad in to new mac and have redo anything

    See Here... This should transfer everything...
    Move iTunes Library from PC to MAC
    http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

Maybe you are looking for

  • 5G Video ipod hook up to tv_No Video

    I see this topic has been discussed in the past but I do not see any resolution. Is there one? I have a composite apple issued cable, tv settings > OUT ... Audio, NO VIDEO I've tried using the dock set up, same deal. Is this a firmware issue or somet

  • How do you configure the default Webserver  and AppEX in XE(windows)?

    I'm new to XE but an old hat with Oracle Standard and Enterprise editions, Apache and AppEx (htmldb). What is the default webserver that comes with XE(windows) and how do you configure it? Where are the httpd config files? Also I read in the doco tha

  • Outlook 2007 & Exchange 2007 - Out of office assistant not working

    Hi, when using outlook 2007 and the users mailbox is on an Exchange 2007 server the out of office assistant doesn't work. When you start the out of office assistant the following message is displayed: 'Your Out of Office settings cannot be displayed,

  • How to unlock the portal Contents

    Hi All, Please say me the Procedure to unlock the Portal Contents which are already locked by me Thanks in Advance

  • Primary use of creating a Recurring Document in GL Master

    Dear all, What is the primary use of creating a recurring document in GL master as opposed to sample document? Will this enable the end user to post certain transactions like Rent automatically?