1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2015 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.model;
|
11
|
|
12
|
import eu.etaxonomy.cdm.model.common.CdmBase;
|
13
|
|
14
|
/**
|
15
|
* @author cmathew
|
16
|
* @date 19 Feb 2015
|
17
|
*
|
18
|
*/
|
19
|
public interface ICdmCacher {
|
20
|
|
21
|
public CdmBase getFromCache(CdmBase cdmBase);
|
22
|
|
23
|
public void put(CdmBase cdmEntity);
|
24
|
|
25
|
public CdmBase load(CdmBase cdmEntity);
|
26
|
|
27
|
public boolean isCachable(CdmBase cdmEntity);
|
28
|
|
29
|
public boolean exists(CdmBase cdmBase);
|
30
|
|
31
|
}
|