Revision 3b278eb0
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java | ||
---|---|---|
24 | 24 |
import com.vaadin.spring.annotation.SpringComponent; |
25 | 25 |
|
26 | 26 |
import eu.etaxonomy.cdm.api.service.IRegistrationService; |
27 |
import eu.etaxonomy.cdm.cache.CdmTransientEntityCacher; |
|
28 |
import eu.etaxonomy.cdm.model.ICdmCacher; |
|
27 |
import eu.etaxonomy.cdm.cache.CdmTransientEntityAndUuidCacher;
|
|
28 |
import eu.etaxonomy.cdm.model.ICdmEntityUuidCacher;
|
|
29 | 29 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
30 | 30 |
import eu.etaxonomy.cdm.model.agent.Person; |
31 | 31 |
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase; |
... | ... | |
95 | 95 |
*/ |
96 | 96 |
private EnumSet<CRUD> crud = null; |
97 | 97 |
|
98 |
private ICdmCacher cache; |
|
98 |
private ICdmEntityUuidCacher cache;
|
|
99 | 99 |
|
100 | 100 |
@Autowired |
101 | 101 |
protected CdmFilterablePagingProviderFactory pagingProviderFactory; |
... | ... | |
131 | 131 |
@Override |
132 | 132 |
protected SpecimenTypeDesignationWorkingSetDTO<Registration> loadBeanById(Object identifier) { |
133 | 133 |
|
134 |
cache = new CdmTransientEntityCacher(this); |
|
134 |
cache = new CdmTransientEntityAndUuidCacher(this);
|
|
135 | 135 |
if(identifier != null){ |
136 | 136 |
|
137 | 137 |
TypeDesignationWorkingsetEditorIdSet idset = (TypeDesignationWorkingsetEditorIdSet)identifier; |
... | ... | |
314 | 314 |
* {@inheritDoc} |
315 | 315 |
*/ |
316 | 316 |
@Override |
317 |
public ICdmCacher getCache() { |
|
317 |
public ICdmEntityUuidCacher getCache() {
|
|
318 | 318 |
return cache; |
319 | 319 |
} |
320 | 320 |
|
Also available in: Unified diff
ref #7785 using CdmTransientEntityAndUuidCacher to promote using the CachingCdmUserHelper