The structure for submissions

All of the jobs follow the structure described above except for one - the submission job. PolicyCenter supports two styles of submission, quick quote and full quote. Some testing logic is needed for both styles, and some is needed only for quick quotes or for full quotes. To ensure that code is shared and isolated as appropriate, the submission job has an additional layer.

The following diagram depicts the structure for personal auto submissions. Gray shading indicates the class is abstract.


The full quote and quick quote impls for a specific line/job combination.

As is the case with other jobs, there is a SubmissionContextImplBase impl. However, the child of this class is not a concrete <LOB>SubmissionContextImpl impl. For example, there is no PASubmissionContextImpl.). Rather, it is a second abstract impl named <LOB>SubmissionContextImplBase (such as PASubmissionContextImplBase). This impl has two concrete children:

  • <LOB>SubmissionContextQuickQuoteImpl
  • <LOB>SubmissoinContextFullQuoteImpl

For example, PASubmissionContextImplBase has these two children:

  • PASubmissionContextQuickQuoteImpl
  • PASubmissoinContextFullQuoteImpl

Logic that is relevant to both types of submissions is declared in the parent ContextImplBase impl. Logic that is specific to either quick quotes only or full quotes only is declared in the relevant child impl.