refactored folder structure
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / model / DataChangeBridge.java
1 /**
2 * Copyright (C) 2007 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
10 package eu.etaxonomy.taxeditor.model;
11
12 import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
13
14 /**
15 * This bridge delegates the update events to specific implementors
16 *
17 * TODO make this a bean
18 *
19 * @author n.hoffmann
20 * @created 01.04.2009
21 * @version 1.0
22 */
23 public class DataChangeBridge {
24
25 public static void handleDataChange(CdmDataChangeMap changeEvents, IDataChangeBehavior behavior){
26 behavior.reactOnDataChange(changeEvents);
27 }
28
29 }