Skip to main content

com.sabre.redapp.example3.desktop.auto.wf.extensions Sample

This sample is a collection of various Java extensions registered to extension points in several workflows. Extensions demonstrate how to intercept the flows and how to modify the data.

Displaying extension’s data

There are extensions that display data in a pop-up window. Such extensions are enabled with the EXTP-DISP-J remark. If the remark is present in the session, then the extension will open a pop-up window with the data that are passed to that extension.

You can trigger the pop-up window only for one extension point by adding a suffix to the EXTP-DISP-J remark with the name of the extension point, e.g.:

  • EXTP-DISP-J-BEFOREPRICING

  • EXTP-DISP-J-AFTERPRICEQUOTECREATION

  • EXTP-DISP-J-BEFOREAIRSHOPPINGINPUT

  • EXTP-DISP-J-BEFOREAIRBOOKANDPRICE

  • EXTP-DISP-J-BEFOREAIRAVAILABILITY

If the extension point allows data modification, then you will be able to edit the XML in the pop-up window. Invalid data modification may cause errors and will cancel processing of the flow.

Displaying extension’s data