Writing the Authorize Application Rule Class

The rule class for governing application authorization must extend from the abstract class ApplicationAuthorisationInterfaceRuleSet.AbstractApplicationCase. Here is a description of the attribute(s) inherited from AbstractApplicationCase:

Table 1. Abstract Attribute(s) To Be Implemented
Rule Attribute Name Data Type Description
programs List of Program The programs to be authorized on the application.

Program is an instance of the ApplicationAuthorisationInterfaceRuleSet.Program class. As it's optional for a product delivery to be created on authorization, ApplicationAuthorisationInterfaceRuleSet.Program.primaryClient is defaulted to null and ApplicationAuthorisationInterfaceRuleSet.Program.additionalClients is defaulted to an empty list.

A basic implementation might be the retrieval of all programs in a state of 'Pending' that are associated with the application case.