fixing LazyInitializationException related to validations
[cdm-vaadin.git] / src / main / java / eu / etaxonomy / cdm / vaadin / view / name / CachingPresenter.java
1 /**
2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.cdm.vaadin.view.name;
10
11 import java.util.Collection;
12
13 import eu.etaxonomy.cdm.model.ICdmCacher;
14 import eu.etaxonomy.cdm.model.common.CdmBase;
15
16 /**
17 * @author a.kohlbecker
18 * @since 09.11.2017
19 *
20 */
21 public interface CachingPresenter {
22
23 public ICdmCacher getCache();
24
25 public Collection<CdmBase> getRootEntities();
26
27 public void addRootEntity(CdmBase entity);
28
29 }