Risk assessment configurable classes

The risk assessment integration includes the a number of classes which you can modify. The following are some of the main classes in the integration.

Class

Description

SpotlightServlet.gs

This servlet is used to handle all HTTP requests between PolicyCenter and the Spotlight interactive service.

This servlet has two request handlers:

  • URL contains LocationDetails.do – A request handler sends the formatted address and spatial point to Spotlight interactive service so that PolicyCenter displays the location on the Spotlight interactive map.
  • URL contains SpotlightReturn.do – A request handler takes the data assessed on the Spotlight Interactive side, and returns the new risk assessment data to Policy Center. The handler redirects Spotlight interactive back to Policy Center and the correct wizard step.

LocationDetailsRequestHandler.gs

Handles HTTP requests for locationDetails and provides location data to Spotlight.

SpotlightReturnToPCRequestHandler.gs

Handles HTTP requests for SpotlightReturn. Takes Spotlight location details, delegates to the Spotlight Policy Location Risk Assessment plugin gateway, then redirects back to PolicyCenter.

SpotlightConfigParameters.gs

Specifies configuration parameters for Spotlight.

SpotlightNotificationActivityCreator.gs

Users to whom an activity is sent. In the base configuration, the producer and underwriter associated with the policy transaction.

LocationRiskAssessmentBroker.gs

Handles temporary objects for policy location and location risk assessments in CPLocationPopup.pcf and toggles the risk assessment information display.

InboundPolicyRequestData.gs

Contains data Spotlight passes to PolicyCenter when longitude and latitude are adjusted in Spotlight.

OutboundPolicyData.gs

Contains data PolicyCenter passes to Spotlight to interactively display location details in Spotlight.

InboundRiskAssessmentData.gs

Contains data the Spotlight risk assessment service passes to PolicyCenter after calculating risk assessment values.

RiskAssessmentInputDataHasher.gs

Contains the list of fields that are used determine if a previous risk assessment was performed on the same location and under similar conditions.