Exchanging data with an external system before a Process, Change, or Sync service runs

Occasionally you might want to exchange data with some external system before your Process, Change, or Sync BOD command is run. Some parts of the BOD command framework provide extension points for such integration efforts.

Procedure

  1. Identify the controller command implementation and extend that class. You can determine the class name as follows: ProcessNounNameCmd, ChangeNounNameCmd, SyncNounNameCmd.
  2. Extend the read() method to call the external system to retrieve the required data. The read() method calls super.read().
  3. Extend the save() method to call the external system to save the changed data. The save() method calls super.save().
  4. Register your ProcessNounCmd implementation.