Adding a new action to a BOD Process service

Adding a new action to a BOD Process service involves creating a Java command with the name ProcessNounNameActionNameCmd. This command is registered with the action code as an additional string.

Procedure

  1. Create a command implementation that implements ProcessNounNameActionCmd. The name of the implementation should be ProcessNounNameActionNameCmd. For example, for the CatalogEntry noun and the Create action, the interface name would be ProcesCatalogEntryActionCmd and the implementation name would be ProcessCatalogEntryCreateCmd.
  2. Update the command registry to use the new implementation. To register a command, add a new entry to the CMDREG table. Where:
    OptionDescription
    INTERFACENAMEInterface name of the command+action code
    CLASSNAMEClass name of the command implementation to use
    PROPERTIESOptional: Properties to set on the command. There should be a corresponding set method on the implementation that takes a string argument as the parameter input.