1
|
/**
|
2
|
* Copyright (C) 2009 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.strategy.cache.common;
|
11
|
|
12
|
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
|
13
|
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
|
14
|
import eu.etaxonomy.cdm.strategy.IStrategy;
|
15
|
|
16
|
/**
|
17
|
* Base interface for formatting of {@link IdentifiableEntity identifiable entities}.
|
18
|
* @author a.mueller
|
19
|
*/
|
20
|
public interface IIdentifiableEntityCacheStrategy<T extends IIdentifiableEntity> extends IStrategy {
|
21
|
|
22
|
|
23
|
/**
|
24
|
* Returns the computed {@link IdentifiableEntity#getTitleCache() title cache}.
|
25
|
* @param identifiableEntity the identifiable entity
|
26
|
* @return title cache
|
27
|
*/
|
28
|
public String getTitleCache(T identifiableEntity);
|
29
|
}
|