Class GlobalConfigurationRepositoryWrapper

java.lang.Object
org.apache.fineract.infrastructure.configuration.domain.GlobalConfigurationRepositoryWrapper

@Service public class GlobalConfigurationRepositoryWrapper extends Object

Wrapper for GlobalConfigurationRepository that adds NULL checking and Error handling capabilities

  • Constructor Details

  • 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

      public GlobalConfigurationProperty findOneWithNotFoundDetection(Long configId)
    • save

      public void save(GlobalConfigurationProperty globalConfigurationProperty)
    • saveAndFlush

      public void saveAndFlush(GlobalConfigurationProperty globalConfigurationProperty)
    • delete

      public void delete(GlobalConfigurationProperty globalConfigurationProperty)
    • removeFromCache

      @CacheEvict(value="configByName", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(#propertyName)") public void removeFromCache(String propertyName)