Step 7: Creating the new line/job impl for quick quotes


Extending BASubmissionImplBase_Ext with BASubmissionContextQuickQuoteImpl_Ext.

The new impl must:

  • Extend the SubmissionContextImplBase for the new LOB
  • Implement the new LOB interface
  • Have a delegate object that represents the new LOB interface. In the base configuration impls, this object is named _lineContextDelegate.

The following text is an example of a new BASubmissionContextQuickQuoteImpl_Ext impl.

package gw.cucumber.customer.context.impl.smoketest.lob.ba

uses com.google.inject.Inject
uses gw.cucumber.customer.context.api.lob.ba.BAContext_Ext
// additional uses statements may be needed

class BASubmissionContextQuickQuoteImpl_Ext extends BASubmissionContextImplBase_Ext implements BAContext_Ext {

  @Inject delegate _lineContextDelegate represents BAContext_Ext

  protected override function createLOBSpecificDataSetup() {
    throw new UnsupportedOperationException("Not yet implemented")
  }

  override function createABoundPolicy() {
    throw new UnsupportedOperationException("Not yet implemented")
  }

  override function createABoundPolicy(skipIssuance : boolean) {
    throw new UnsupportedOperationException("Not yet implemented")
  }
}