Project

General

Profile

« Previous | Next » 

Revision 998a72e0

Added by Andreas Kohlbecker about 5 years ago

ref #7106 refactoring CdmStore in turn of changed CdmRepository.getSession()

  • CdmStore as Spring bean
  • CdmStore managed transactions and sessions properly

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPresenter.java
198 198
            EntityChangeEvent changeEvent = new EntityChangeEvent(bean, Type.REMOVED, (AbstractView) getView());
199 199
            viewEventBus.publish(this, changeEvent);
200 200
        } else {
201
            CdmStore.handleDeleteresultInError(deletResult, getRepo().getSession());
201
            CdmStore.handleDeleteresultInError(deletResult);
202 202
        }
203 203
    }
204 204

  

Also available in: Unified diff