Marshall/unmarshall TermVocabulary
[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 eu.etaxonomy.cdm.model.common.CdmBase;
13 import eu.etaxonomy.cdm.model.common.ISourceable;
14
15
16 public interface ICommonService extends IService<CdmBase>{
17 //
18 // /** find cdmBase by UUID**/
19 // public abstract CdmBase getCdmBaseByUuid(UUID uuid);
20 //
21 // /** save a reference and return its UUID**/
22 // public abstract UUID saveCdmBase(CdmBase cdmBase);
23
24 /** find cdmBase by UUID**/
25 public abstract ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace);
26 }