@Override
 public void updateEventWithAction(BasicAction basicAction) {
   switch (eventType) {
     case REGION_ENTER:
       OrchextraRegion detectedRegion = (OrchextraRegion) data;
       detectedRegion.setActionRelatedWithRegionAndGeofences(
           new ActionRelatedWithRegionAndGeofences(
               basicAction.getScheduledAction().getId(),
               basicAction.getScheduledAction().isCancelable()));
       eventUpdaterDomainService.associateActionToRegionEvent(detectedRegion);
     case REGION_EXIT:
       break;
     default:
       break;
   }
 }
  private InteractorResponse<List<BasicAction>> regionEventResult(ProximityEventType eventType) {
    OrchextraRegion detectedRegion = (OrchextraRegion) data;
    detectedRegion.setRegionEvent(eventType);

    InteractorResponse response = regionCheckerDomainService.obtainCheckedRegion(detectedRegion);

    if (response.hasError()) {
      return response;
    }

    if (eventType == ProximityEventType.REGION_EXIT) {
      if (response.getResult() instanceof OrchextraRegion) {
        triggerActionsFacadeDomainService.deleteScheduledActionIfExists(
            (ScheduledActionEvent) response.getResult());
      }
    }
    response = triggerActionsFacadeDomainService.triggerActions(detectedRegion);
    return response;
  }