2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.api
.service
;
12 import java
.util
.List
;
14 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
15 import eu
.etaxonomy
.cdm
.model
.common
.ISourceable
;
16 import eu
.etaxonomy
.cdm
.model
.occurrence
.Collection
;
19 public interface ICommonService
extends IService
<CdmBase
>{
21 // /** find cdmBase by UUID**/
22 // public abstract CdmBase getCdmBaseByUuid(UUID uuid);
24 // /** save a reference and return its UUID**/
25 // public abstract UUID saveCdmBase(CdmBase cdmBase);
27 /** find cdmBase by UUID**/
28 public abstract ISourceable
getSourcedObjectByIdInSource(Class clazz
, String idInSource
, String idNamespace
);