Project

General

Profile

« Previous | Next » 

Revision 112ab4f7

Added by Katja Luther about 5 years ago

ref #8096: move cache updater and service methods return updateResult

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonServiceImpl.java
396 396

  
397 397
    @Override
398 398
    @Transactional(readOnly = false)
399
    public void updateCaches(Class<? extends TaxonBase> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<TaxonBase> cacheStrategy, IProgressMonitor monitor) {
399
    public UpdateResult updateCaches(Class<? extends TaxonBase> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<TaxonBase> cacheStrategy, IProgressMonitor monitor) {
400 400
        if (clazz == null){
401 401
            clazz = TaxonBase.class;
402 402
        }
403
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
403
        return super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
404 404
    }
405 405

  
406 406
    @Override

Also available in: Unified diff