private void writeDISatz(NukeMrcommerceItems item) throws IOException {

    JDCsvWriter writer = configurationController.getCSVController().getWriterDI();
    if (writer != null) {
      writer.write("4");
      writer.write(Integer.toString(item.getNukeItemId()));
      writer.write(item.getNukeItemName());
      writer.endRecord();
    }
  }
  public void processDI(CSVController cSVController) throws IOException, NotFoundException {

    // this.cSVController = cSVController;
    configurationController.setCSVController(cSVController);
    List<NukeMrcommerceItems> items =
        configurationController.getItemsJpaController().findNukeMrcommerceItemsEntities();

    for (NukeMrcommerceItems item : items) {
      if (item.getNukeItemId() < 100000) {
        writeDISatz(item);
      }
    }
  }
  private void writeKTSatz(NukeMrcommerceArrangementCity arrCity, NukeMrcommerceItems item)
      throws IOException {
    // int id = arrCity.getNukeMrcommerceEventsArrangementCitiesPK().getArrangementToCityId();
    JDCsvWriter writer = configurationController.getCSVController().getWriterKT();

    if (writer != null) {
      configurationController.setProperty(
          Globals.PREFIXARRCITY + arrCity.getId(), arrCity.getId().toString());

      //   Versicherungserträge AT	VERSICHERUNGSERTRÄGE AT	x	x	0	1	1	0	x	x	x	x	2	1
      String desc =
          item.getNukeItemName() + " - " + arrCity.getNukeMrcommerceAddress().getDescription();
      writer.write("2");
      writer.write(arrCity.getId().toString());
      writer.write(desc);
      writer.endRecord();
    }
  }