Externalizable business objects
Download
1 / 8

Externalizable Business Objects - PowerPoint PPT Presentation


  • 141 Views
  • Uploaded on

Externalizable Business Objects. ExternalizableBusinessObject. Essentially a marker interface Various parts of the KNS check for this interface. Sample Implementations in Rice. Uses. Allows for objects that are hosted by other systems to be used by a Rice application Rice Non-Rice

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Externalizable Business Objects' - adolfo


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

Externalizablebusinessobject
ExternalizableBusinessObject

  • Essentially a marker interface

  • Various parts of the KNS check for this interface



Uses

  • Allows for objects that are hosted by other systems to be used by a Rice application

    • Rice

    • Non-Rice

  • Automatic integration (with appropriate configuration) with native business objects for lookup and inquiry purposes

    • Lookups can be performed on external systems

      • And return results!

    • Inquiries can be redirected to other systems

    • Lookups on native business objects can contain “joins” to externalizable business objects.


Lookup handling
Lookup Handling

  • The lookup framework handles when it is asked for a lookup of an externalizable business object.

    • The object itself – delgates the entire lookup

    • A property of an embedded EBO is used as search criteria on a native business object

  • In that latter case, the default behavior is to use only the EBO property criteria which were specified and pass them to the module service to look up the matching EBOs.

  • The resulting PK values are then merged into the native BO Query

    • This system only supports EBOs with a single-field primary key.


Module service
Module Service

  • Most are implemented for you in ModuleServiceBase

  • Ones you will want/need to overide are:

    • getExternalizableBusinessObject

    • getExternalizableBusinessObjectsList

    • getExternalizableBusinessObjectsListForLookup

    • listPrimaryKeyFieldNames

    • getExternalizableBusinessObjectInquiryUrl

    • getExternalizableBusinessObjectLookupUrl


Module service configuration
Module Service Configuration

  • Configure Service with ExternalizableBusinessObject interfaces and implementation pairs:


Module service implementation
Module Service Implementation

  • In the methods shown earlier, detect the type of EBO and handle accordingly.


ad