Class ClientWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
ClientWritePlatformService
@Service
public class ClientWritePlatformServiceJpaRepositoryImpl
extends Object
implements ClientWritePlatformService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultactivateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultassignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultcloseClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateClient(org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteClient(Long clientId) voidextractAndCreateClientNonPerson(org.apache.fineract.portfolio.client.domain.Client client, org.apache.fineract.infrastructure.core.api.JsonCommand command) This method extracts ClientNonPerson details from Client command and creates a new ClientNonPerson recordbooleanisEmpty(com.google.gson.JsonElement element) org.apache.fineract.infrastructure.core.data.CommandProcessingResultreActivateClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultrejectClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultunassignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultundoRejection(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultundoWithdrawal(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateDefaultSavingsAccount(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultwithdrawClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
-
Constructor Details
-
ClientWritePlatformServiceJpaRepositoryImpl
public ClientWritePlatformServiceJpaRepositoryImpl()
-
-
Method Details
-
deleteClient
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteClient(Long clientId) - Specified by:
deleteClientin interfaceClientWritePlatformService
-
createClient
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createClient(org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
createClientin interfaceClientWritePlatformService
-
extractAndCreateClientNonPerson
public void extractAndCreateClientNonPerson(org.apache.fineract.portfolio.client.domain.Client client, org.apache.fineract.infrastructure.core.api.JsonCommand command) This method extracts ClientNonPerson details from Client command and creates a new ClientNonPerson record- Parameters:
client-command-
-
isEmpty
public boolean isEmpty(com.google.gson.JsonElement element) -
updateClient
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateClientin interfaceClientWritePlatformService
-
activateClient
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult activateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
activateClientin interfaceClientWritePlatformService
-
unassignClientStaff
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult unassignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
unassignClientStaffin interfaceClientWritePlatformService
-
assignClientStaff
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult assignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
assignClientStaffin interfaceClientWritePlatformService
-
closeClient
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult closeClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
closeClientin interfaceClientWritePlatformService
-
updateDefaultSavingsAccount
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateDefaultSavingsAccount(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateDefaultSavingsAccountin interfaceClientWritePlatformService
-
rejectClient
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult rejectClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
rejectClientin interfaceClientWritePlatformService
-
withdrawClient
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult withdrawClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
withdrawClientin interfaceClientWritePlatformService
-
reActivateClient
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult reActivateClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
reActivateClientin interfaceClientWritePlatformService
-
undoRejection
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult undoRejection(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
undoRejectionin interfaceClientWritePlatformService
-
undoWithdrawal
public org.apache.fineract.infrastructure.core.data.CommandProcessingResult undoWithdrawal(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
undoWithdrawalin interfaceClientWritePlatformService
-