Project

General

Profile

Revision 784fe709

ID784fe70923b157167c17e8de7be61a77594f7baa
Parent 57d5b579
Child 27bed44b, 4ca23610, 29284bac

Added by Andreas Müller over 1 year ago

ref #8030 rename updateTitleCacheImpl to updateCachesImpl

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/AgentServiceImpl.java
76 76
		if (clazz == null){
77 77
			clazz = AgentBase.class;
78 78
		}
79
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
79
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
80 80
	}
81 81

  
82 82
	@Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ClassificationServiceImpl.java
531 531
        if (clazz == null){
532 532
            clazz = Classification.class;
533 533
        }
534
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
534
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
535 535
    }
536 536

  
537 537
    /**
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/CollectionServiceImpl.java
43 43
		if (clazz == null){
44 44
			clazz = Collection.class;
45 45
		}
46
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
46
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
47 47
	}
48 48

  
49 49

  
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/DescriptionServiceImpl.java
180 180
        if (clazz == null){
181 181
            clazz = DescriptionBase.class;
182 182
        }
183
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
183
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
184 184
    }
185 185

  
186 186

  
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/DescriptiveDataSetService.java
249 249
        if (clazz == null) {
250 250
            clazz = DescriptiveDataSet.class;
251 251
        }
252
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
252
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
253 253
    }
254 254

  
255 255
    private TaxonDescription findTaxonDescriptionByMarkerType(DescriptiveDataSet dataSet, Taxon taxon, MarkerType markerType){
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/FeatureTreeServiceImpl.java
57 57
        if (clazz == null){
58 58
            clazz = FeatureTree.class;
59 59
        }
60
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
60
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
61 61
    }
62 62

  
63 63
    @Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IdentifiableServiceBase.java
261 261
	}
262 262

  
263 263
	@Transactional(readOnly = false)  //TODO check transactional behavior, e.g. what happens with the session if count is very large
264
	protected <S extends T > void updateTitleCacheImpl(Class<S> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<T> cacheStrategy, IProgressMonitor monitor) {
264
	protected <S extends T > void updateCachesImpl(Class<S> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<T> cacheStrategy, IProgressMonitor monitor) {
265 265
		if (stepSize == null){
266 266
			stepSize = UPDATE_TITLE_CACHE_DEFAULT_STEP_SIZE;
267 267
		}
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/MediaServiceImpl.java
93 93
		if (clazz == null){
94 94
			clazz = Media.class;
95 95
		}
96
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
96
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
97 97
	}
98 98

  
99 99
    @Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/NameServiceImpl.java
842 842
        if (clazz == null){
843 843
            clazz = TaxonName.class;
844 844
        }
845
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
845
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
846 846
    }
847 847

  
848 848

  
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceImpl.java
177 177
        if (clazz == null) {
178 178
            clazz = SpecimenOrObservationBase.class;
179 179
        }
180
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
180
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
181 181
    }
182 182

  
183 183
    /**
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/PolytomousKeyServiceImpl.java
60 60
		if (clazz == null){
61 61
			clazz = PolytomousKey.class;
62 62
		}
63
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
63
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
64 64
	}
65 65

  
66 66
	@Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ReferenceServiceImpl.java
50 50
        if (clazz == null){
51 51
            clazz = Reference.class;
52 52
        }
53
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
53
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
54 54
    }
55 55

  
56 56
    @Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonServiceImpl.java
400 400
        if (clazz == null){
401 401
            clazz = TaxonBase.class;
402 402
        }
403
        super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
403
        super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
404 404
    }
405 405

  
406 406
    @Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TermServiceImpl.java
400 400
		if (clazz == null){
401 401
			clazz = DefinedTermBase.class;
402 402
		}
403
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
403
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
404 404
	}
405 405

  
406 406
	@Override
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/VocabularyServiceImpl.java
52 52
		if (clazz == null){
53 53
			clazz = TermVocabulary.class;
54 54
		}
55
		super.updateTitleCacheImpl(clazz, stepSize, cacheStrategy, monitor);
55
		super.updateCachesImpl(clazz, stepSize, cacheStrategy, monitor);
56 56
	}
57 57

  
58 58

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)