Merge branch 'develop' into remoting-4.0
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / cdm / api / application / ICdmDataChangeService.java
1 // $Id$
2 /**
3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.api.application;
11
12
13 /**
14 * @author cmathew
15 * @date 18 Jun 2015
16 *
17 */
18 public interface ICdmDataChangeService {
19
20 public abstract void register(ICdmChangeListener listener);
21
22 public abstract void unregister(ICdmChangeListener listener);
23
24 public abstract void addEvent(CdmChangeEvent event);
25
26 public abstract void fireCurrentChangeEvents(boolean async);
27
28 public abstract void fireChangeEvent(CdmChangeEvent event, boolean async);
29
30 public abstract void clear();
31
32 }