Revision ae7e2680
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/CdmEntitySessionInput.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import eu.etaxonomy.cdm.api.service.IService; |
13 | 13 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
14 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
|
15 | 14 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySession; |
16 | 15 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled; |
17 | 16 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
29 | 28 |
cdmEntitySession = CdmStore.getCurrentSessionManager().newSession(this, true); |
30 | 29 |
} |
31 | 30 |
|
32 |
/* (non-Javadoc) |
|
33 |
* @see eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver#update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap) |
|
34 |
*/ |
|
35 |
@Override |
|
36 |
public void update(CdmDataChangeMap changeEvents) { |
|
37 |
// do nothing |
|
38 |
|
|
39 |
} |
|
40 | 31 |
|
41 | 32 |
/* (non-Javadoc) |
42 | 33 |
* @see eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled#getCdmEntitySession() |
Also available in: Unified diff
ICdmDataChangeService, CdmUIDataChangeService, CdmDataChangeService : added new data change service with different services for the ui and non-ui states
CdmApplicationState, CdmStore : added data change service to app state
CdmChangeEvent, ICdmChangeListener : added change listener and even to fire in case of data changes
ICdmEntitySessionEnabled : extends new change service interface
ICdmEntitySession, CdmEntitySession : removed data change un/registration since this is now handled by the new data change service
BaseRemotingTest, MockCdmEntitySession, *Editor, *ViewPart, *Navigator : refactoring with new change listener
RemotingCdmHandler, RemotingCdmOperation, RemotingCdmUpdateOperation : added new handler / operation architecture base classes
AbstractUtility : added method for running async operation with callback to handler
RemotingChangeAcceptedTaxonToSynonymHandler,RemotingChangeAcceptedTaxonToSynonymOperation : first implementations of new handler / operation architecture
plugin.xml : added standalone and remoting handlers for ChangeAcceptedTaxonToSynonym
*Test : adapted for new handler / operation and change service