Class GlobalConfigurationRepositoryWrapper
java.lang.Object
org.apache.fineract.infrastructure.configuration.domain.GlobalConfigurationRepositoryWrapper
Wrapper for GlobalConfigurationRepository that adds NULL checking and Error handling capabilities
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(GlobalConfigurationProperty globalConfigurationProperty) findOneByNameWithNotFoundDetection(String propertyName) findOneWithNotFoundDetection(Long configId) voidremoveFromCache(String propertyName) voidsave(GlobalConfigurationProperty globalConfigurationProperty) voidsaveAndFlush(GlobalConfigurationProperty globalConfigurationProperty)
-
Constructor Details
-
GlobalConfigurationRepositoryWrapper
-
-
Method Details
-
findOneByNameWithNotFoundDetection
@Cacheable(value="configByName", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#propertyName)") public GlobalConfigurationProperty findOneByNameWithNotFoundDetection(String propertyName) -
findOneWithNotFoundDetection
-
save
-
saveAndFlush
-
delete
-
removeFromCache
@CacheEvict(value="configByName", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#propertyName)") public void removeFromCache(String propertyName)
-