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
.session
.mock
;
12 import java
.util
.Collection
;
14 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
15 import eu
.etaxonomy
.taxeditor
.session
.ICdmEntitySession
;
22 public class MockCdmEntitySession
implements ICdmEntitySession
{
25 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(java.lang.Object)
28 public <T
> T
load(T obj
) {
33 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(eu.etaxonomy.cdm.model.common.CdmBase)
36 public <T
extends CdmBase
> T
load(T cdmBase
) {
41 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(java.util.Collection)
44 public <T
extends CdmBase
> Collection
<T
> load(Collection
<T
> cdmBaseList
) {
49 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#setEntitiesAsLatest()
52 public void setEntitiesAsLatest() {
57 * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#dispose()
60 public void dispose() {