Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/model/IDataChangeBehavior.java
17 17
/**
18 18
 * Exchangeable algorithm defining what should happen after a client receives a notification
19 19
 * that data was changed
20
 * 
20
 *
21 21
 * @author n.hoffmann
22 22
 * @created 01.04.2009
23 23
 * @version 1.0
......
27 27
	/**
28 28
	 * If a DataChangeEvent was considered relevant for the calling object
29 29
	 * the instructions implemented in this method will get executed
30
	 *
31
	 * @param changeEvents a {@link eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap} object.
30 32
	 */
31 33
	public void reactOnDataChange(CdmDataChangeMap changeEvents);
32 34
	
33 35
	/**
34
	 * Define what should happen when an insert occurs. Clients may do 
35
	 * further checking to see if the insert really affects their data 
36
	 * 
37
	 * @param source
36
	 * Define what should happen when an insert occurs. Clients may do
37
	 * further checking to see if the insert really affects their data
38
	 *
39
	 * @param events a {@link java.util.Vector} object.
38 40
	 */
39 41
	public void reactOnInsert(Vector<CdmDataChangeEvent> events);
40 42
	
41 43
	/**
42
	 * Define what should happen when an update occurs. Clients may do 
43
	 * further checking to see if the update really affects their data 
44
	 * 
45
	 * @param source
44
	 * Define what should happen when an update occurs. Clients may do
45
	 * further checking to see if the update really affects their data
46
	 *
47
	 * @param events a {@link java.util.Vector} object.
46 48
	 */
47 49
	public void reactOnUpdate(Vector<CdmDataChangeEvent> events);
48 50
	
49 51
	/**
50
	 * Define what should happen when an delete occurs. Clients may do 
51
	 * further checking to see if the delete really affects their data 
52
	 * 
53
	 * @param source
52
	 * Define what should happen when an delete occurs. Clients may do
53
	 * further checking to see if the delete really affects their data
54
	 *
55
	 * @param events a {@link java.util.Vector} object.
54 56
	 */
55 57
	public void reactOnDelete(Vector<CdmDataChangeEvent> events);
56 58

  

Also available in: Unified diff