docs: @Transactional("aggrEventsTransactionManager")
      @Override
      public ExternalEventAggregationConfiguration deleteData(String id) {
          final ExternalEventAggregationConfiguration data = this.exportData(id);
  
          for (final AggregatedIntervalConfig aggregatedIntervalConfig :
                  this.aggregationManagementDao.getAggregatedIntervalConfigs()) {
              this.aggregationManagementDao.deleteAggregatedIntervalConfig(aggregatedIntervalConfig);
          }
  
          for (final AggregatedGroupConfig aggregatedGroupConfig :
                  this.aggregationManagementDao.getAggregatedGroupConfigs()) {
              this.aggregationManagementDao.deleteAggregatedGroupConfig(aggregatedGroupConfig);
          }
  
          this.aggregationManagementDao.setAcademicTermDetails(
                  Collections.<AcademicTermDetail>emptyList());
  
          this.aggregationManagementDao.setQuarterDetails(
                  EventDateTimeUtils.createStandardQuarters());
  
          return data;
      }