Classes and methods related to availability checking
Product model availability checking uses the following classes and methods:
Gosu classes
- availabilityissue
IssueWrapper– Set of Gosu classes ingw.web.productmodelthat provide the initial entry point to product model availability checking. ProductModelSyncIssuesHandler– Gosu class ingw.web.productmodelthat contains helper methods for synchronizing coverages, modifiers, and questions, and for displaying the results in PolicyCenter.
Gosu class methods
ProductModelSyncIssueWrapper.wrapIssue– Gosu method that wraps a passed-in ProductModelSyncIssue object in the appropriate ProductModelSyncIssueWrapper class.
Gosu entity methods
AnswerContainer.checkAnswersAgainstProductModel– Entity method that checks all questions and answers to identify any missing or unavailable questions, and reports them as a list of ProductModelSyncIssue objects. This method does not take any action on these issues.AnswerContainer.syncQuestions– Entity method that calls method checkAnswersAgainstProductModel and wraps the resultant issue objects in ProductModelSyncIssueWrapper classes. It then fixes any issues that must be fixed during standard availability checking and returns the wrappers.Coverable.checkCoveragesAgainstProductModel– Entity method that checks for all coverage, coverage term, and option/package availability issues and reports them as a list of ProductModelSyncIssue objects. This method does not take any action on these issues.Coverable.createCoverages– Entity method that creates the initial set of required and suggested coverages on aCoverable. It throws an exception if the coverages have not been created.Coverable.createOrSyncCoverages– Entity method that calls either thecreateCoveragesif the initial set of coverages has not been created, orsyncCoveragesif the initial set of coverages already exist.Coverable.syncCoverages– Entity method that checks coverage issues, wraps them in ProductModelSyncIssueWrapper classes, fixes any issues that must be fixed as a result of standard availability checking, and returns the wrappers.Modifiable.syncModifiers– Entity method that calls the updateModifiers method and wraps all the issues in IssueWrapper classes.Modifiable.updateModifiers– Entity method that checks for all modifier and rate factor availability issues, fixes them, and reports them as a list ofProductModelSyncIssues.
