Project

General

Profile

Download (659 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2015 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
package eu.etaxonomy.cdm.model;
10

    
11
import eu.etaxonomy.cdm.model.common.CdmBase;
12

    
13
/**
14
 * @author cmathew
15
 * @date 19 Feb 2015
16
 *
17
 */
18
public interface ICdmCacher {
19

    
20
    public CdmBase getFromCache(CdmBase cdmBase);
21

    
22
    public void put(CdmBase cdmEntity);
23

    
24
    public CdmBase load(CdmBase cdmEntity);
25

    
26
    public boolean isCachable(CdmBase cdmEntity);
27

    
28
    public boolean exists(CdmBase cdmBase);
29

    
30
}
(5-5/8)