Revision b606df4d
Added by Andreas Müller about 11 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/reference/ReferenceDaoHibernateImpl.java | ||
---|---|---|
36 | 36 |
import eu.etaxonomy.cdm.persistence.dao.hibernate.common.IdentifiableDaoBase; |
37 | 37 |
import eu.etaxonomy.cdm.persistence.dao.reference.IReferenceDao; |
38 | 38 |
import eu.etaxonomy.cdm.persistence.query.OrderHint; |
39 |
import eu.etaxonomy.cdm.strategy.cache.reference.ReferenceBaseDefaultCacheStrategy;
|
|
39 |
import eu.etaxonomy.cdm.strategy.cache.reference.ReferenceDefaultCacheStrategy; |
|
40 | 40 |
|
41 | 41 |
/** |
42 | 42 |
* @author a.mueller |
... | ... | |
108 | 108 |
|
109 | 109 |
if(referenceTitle != null){ |
110 | 110 |
String teamTitle = (String) object[2]; |
111 |
referenceTitle = ReferenceBaseDefaultCacheStrategy.putAuthorToEndOfString(referenceTitle, teamTitle);
|
|
111 |
referenceTitle = ReferenceDefaultCacheStrategy.putAuthorToEndOfString(referenceTitle, teamTitle); |
|
112 | 112 |
|
113 | 113 |
list.add(new UuidAndTitleCache<Reference>(Reference.class, (UUID) object[0], referenceTitle)); |
114 | 114 |
}else{ |
Also available in: Unified diff
first version of abbreviated title cache generation for references : #1551