Step 6: Creating a SubmissionContextImplBase for the new LOB
The submission job uses a structure with a parent ImplBase class and two child impls - one for quick quotes and one for full quotes. This structure exists to appropriate share and isolate impl logic as needed. 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.

The new SubmissionContextImplBase impl must:
- Be abstract
- Extend SubmissionContextImplBase
- Implement the new LOB interface
The following text is an example of a new BASubmissionContextImplBase_Ext impl.
package gw.cucumber.customer.context.impl.smoketest.lob.ba
uses gw.cucumber.context.impl.smoketest.job.submission.SubmissionContextImplBase
uses gw.cucumber.customer.context.api.lob.ba.BAContext_Ext
// additional uses statements may be needed
abstract class BASubmissionContextImplBase_Ext extends SubmissionContextImplBase implements BAContext_Ext {
function createSubmissionSetup() {
throw new UnsupportedOperationException("Not yet implemented")
}
}
