Project

General

Profile

Download (948 Bytes) Statistics
| Branch: | Tag: | Revision:
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
	/**
26
	 * <p>handleDataChange</p>
27
	 *
28
	 * @param changeEvents a {@link eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap} object.
29
	 * @param behavior a {@link eu.etaxonomy.taxeditor.model.IDataChangeBehavior} object.
30
	 */
31
	public static void handleDataChange(CdmDataChangeMap changeEvents, IDataChangeBehavior behavior){
32
		behavior.reactOnDataChange(changeEvents);
33
	}
34
	
35
}
(10-10/41)