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
- 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.
- Update the command registry to use the new implementation. To register
a command, add a new entry to the CMDREG table. Where:
Option Description INTERFACENAME Interface name of the command+action code CLASSNAME Class name of the command implementation to use PROPERTIES Optional: 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.