ref #6190 removing svn property place holder in first line of code - java files
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / model / AbstractDataChangeBehaviour.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 java.util.Vector;
13
14 import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent;
15 import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
16
17 /**
18 * Reactions on specific EventyTypes are overridden here for convenience.
19 *
20 * @author n.hoffmann
21 * @created 09.04.2009
22 * @version 1.0
23 */
24 public abstract class AbstractDataChangeBehaviour implements IDataChangeBehavior {
25
26 /* (non-Javadoc)
27 * @see eu.etaxonomy.taxeditor.store.model.IDataChangeBehavior#reactOnDataChange(java.lang.Object, java.util.List)
28 */
29 /** {@inheritDoc} */
30 public abstract void reactOnDataChange(CdmDataChangeMap events);
31
32 /**
33 * {@inheritDoc}
34 *
35 * Implementors should overwrite this method if needed
36 * @see eu.etaxonomy.taxeditor.model.IDataChangeBehavior#reactOnDelete(java.lang.Object, eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent)
37 */
38 public void reactOnDelete(Vector<CdmDataChangeEvent> event) {}
39
40 /**
41 * {@inheritDoc}
42 *
43 * Implementors should overwrite this method if needed
44 * @see eu.etaxonomy.taxeditor.model.IDataChangeBehavior#reactOnInsert(java.lang.Object, eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent)
45 */
46 public void reactOnInsert(Vector<CdmDataChangeEvent> event) {}
47
48 /**
49 * {@inheritDoc}
50 *
51 * Implementors should overwrite this method if needed
52 * @see eu.etaxonomy.taxeditor.model.IDataChangeBehavior#reactOnUpdate(java.lang.Object, eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent)
53 */
54 public void reactOnUpdate(Vector<CdmDataChangeEvent> event) {}
55 }