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
- Identify the controller command implementation and extend
that class. You can determine the class name as follows:
ProcessNounNameCmd
,ChangeNounNameCmd
,SyncNounNameCmd
. - Extend the
read()
method to call the external system to retrieve the required data. Theread()
method callssuper.read()
. - Extend the
save()
method to call the external system to save the changed data. Thesave()
method callssuper.save()
. - Register your ProcessNounCmd implementation.