(no commit message)
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / ICommonService.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9
10 package eu.etaxonomy.cdm.api.service;
11
12 import java.util.List;
13
14 import eu.etaxonomy.cdm.model.common.CdmBase;
15 import eu.etaxonomy.cdm.model.common.ISourceable;
16 import eu.etaxonomy.cdm.model.occurrence.Collection;
17
18
19 public interface ICommonService extends IService<CdmBase>{
20 //
21 // /** find cdmBase by UUID**/
22 // public abstract CdmBase getCdmBaseByUuid(UUID uuid);
23 //
24 // /** save a reference and return its UUID**/
25 // public abstract UUID saveCdmBase(CdmBase cdmBase);
26
27 /** find cdmBase by UUID**/
28 public abstract ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace);
29
30
31 }