Forum Stats

  • 3,836,755 Users
  • 2,262,182 Discussions


Web Service with complex data types



  • PedroGabriel
    PedroGabriel Member Posts: 244 Bronze Badge
    edited Feb 7, 2018 5:10AM


    In your programmatic View Object you can have custom methods and have them exposed instead of the hole view object.

    Imagine you want to create, update and delete a Customer. You can create your custom methods in two different ways:

    • Custom methods in View Objects java classes
    • Custom methods in Application Module java classes
      • In this case you can rely on View Object java classes to build your operations

    In both cases you can expose them in the Application Module as you want.

    You just need to implement oracle.jbo.AttributeList class for your custom classes for the following ones is out-of-the-box:

    • primitive Java type
    • oracle.jbo.server.ViewRowImpl
    • java.util.List
    • oracle.jbo.AttributeList

    Best Regards,

    Pedro Gabriel

This discussion has been closed.