Revision b13da0b9
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/CdmEntitySessionManager.java | ||
---|---|---|
21 | 21 |
import org.springframework.stereotype.Component; |
22 | 22 |
|
23 | 23 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
24 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeEvent.EventType; |
|
25 | 24 |
|
26 | 25 |
/** |
27 | 26 |
* @author cmathew |
... | ... | |
109 | 108 |
} |
110 | 109 |
} |
111 | 110 |
|
112 |
@Override |
|
113 |
public <T extends CdmBase> void update(T cdmBase, Set<CdmBase> affectedObjects) { |
|
114 |
if(activeSession != null) { |
|
115 |
activeSession.addEvent(cdmBase, affectedObjects, EventType.UPDATE); |
|
116 |
} |
|
117 |
} |
|
118 | 111 |
|
119 | 112 |
@Override |
120 | 113 |
public <T extends CdmBase> void update() { |
Also available in: Unified diff
#5007 : Add remoting handler / operations for the taxon navigator