cleanup
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / cdm / api / application / ICdmDataChangeService.java
1 /**
2 * Copyright (C) 2015 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.api.application;
10
11 /**
12 * @author cmathew
13 * @date 18 Jun 2015
14 */
15 public interface ICdmDataChangeService {
16
17 public abstract void register(ICdmChangeListener listener);
18
19 public abstract void unregister(ICdmChangeListener listener);
20
21 public abstract void addEvent(CdmChangeEvent event);
22
23 public abstract void fireCurrentChangeEvents(boolean async);
24
25 public abstract void fireChangeEvent(CdmChangeEvent event, boolean async);
26
27 public abstract void clear();
28
29 }