Class CodeWritePlatformServiceJpaRepositoryImpl

java.lang.Object
org.apache.fineract.infrastructure.codes.service.CodeWritePlatformServiceJpaRepositoryImpl
All Implemented Interfaces:
CodeWritePlatformService

@Service public class CodeWritePlatformServiceJpaRepositoryImpl extends Object implements CodeWritePlatformService
  • Constructor Summary

    Constructors
    Constructor
    Description
    CodeWritePlatformServiceJpaRepositoryImpl(org.apache.fineract.infrastructure.security.service.PlatformSecurityContext context, org.apache.fineract.infrastructure.codes.domain.CodeRepository codeRepository, CodeCommandFromApiJsonDeserializer fromApiJsonDeserializer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    createCode(org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    deleteCode(Long codeId)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateCode(Long codeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CodeWritePlatformServiceJpaRepositoryImpl

      @Autowired public CodeWritePlatformServiceJpaRepositoryImpl(org.apache.fineract.infrastructure.security.service.PlatformSecurityContext context, org.apache.fineract.infrastructure.codes.domain.CodeRepository codeRepository, CodeCommandFromApiJsonDeserializer fromApiJsonDeserializer)
  • Method Details

    • createCode

      @Transactional @CacheEvict(value="codes", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(\'CD\')") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createCode(org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      createCode in interface CodeWritePlatformService
    • updateCode

      @Transactional @CacheEvict(value="codes", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(\'CD\')") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateCode(Long codeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      updateCode in interface CodeWritePlatformService
    • deleteCode

      @Transactional @CacheEvict(value="codes", key="T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat(\'CD\')") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteCode(Long codeId)
      Specified by:
      deleteCode in interface CodeWritePlatformService