3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.editor
;
12 import java
.util
.List
;
15 import eu
.etaxonomy
.taxeditor
.session
.ICdmEntitySession
;
16 import eu
.etaxonomy
.taxeditor
.session
.ICdmEntitySessionEnabled
;
17 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
24 public abstract class CdmEntitySessionInput
implements ICdmEntitySessionEnabled
{
26 private ICdmEntitySession cdmEntitySession
;
28 public CdmEntitySessionInput(boolean init
) {
34 protected void initSession() {
35 cdmEntitySession
= CdmStore
.getCurrentSessionManager().newSession(this, true);
39 public ICdmEntitySession
getCdmEntitySession() {
40 return cdmEntitySession
;
44 cdmEntitySession
.bind();
47 public void dispose() {
48 cdmEntitySession
.dispose();
51 public abstract void merge();
55 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled#getPropertyPathsMap()
58 public Map
<Object
, List
<String
>> getPropertyPathsMap() {
59 // TODO Auto-generated method stub