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
ConstructorsConstructorDescriptionCodeWritePlatformServiceJpaRepositoryImpl(org.apache.fineract.infrastructure.security.service.PlatformSecurityContext context, org.apache.fineract.infrastructure.codes.domain.CodeRepository codeRepository, CodeCommandFromApiJsonDeserializer fromApiJsonDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateCode(org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteCode(Long codeId) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateCode(Long codeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
-
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:
createCodein interfaceCodeWritePlatformService
-
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:
updateCodein interfaceCodeWritePlatformService
-
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:
deleteCodein interfaceCodeWritePlatformService
-