Class TransferWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
TransferWritePlatformService
public class TransferWritePlatformServiceJpaRepositoryImpl
extends Object
implements TransferWritePlatformService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultacceptClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Model
If the Client is linked to any Groups, we can optionally choose to have all the linkages broken and all JLG Loans are converted into Individual Loansorg.apache.fineract.infrastructure.core.data.CommandProcessingResultproposeAndAcceptClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Modelorg.apache.fineract.infrastructure.core.data.CommandProcessingResultproposeClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Model
If the Client is linked to any Groups, we can optionally choose to have all the linkages broken and all JLG Loans are converted into Individual Loansorg.apache.fineract.infrastructure.core.data.CommandProcessingResultrejectClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) voidtransferClientBetweenGroups(org.apache.fineract.portfolio.group.domain.Group sourceGroup, org.apache.fineract.portfolio.client.domain.Client client, org.apache.fineract.portfolio.group.domain.Group destinationGroup, Boolean inheritDestinationGroupLoanOfficer, org.apache.fineract.organisation.staff.domain.Staff newLoanOfficer) Variables that would make sense
inheritDestinationGroupLoanOfficer: Default true newStaffId: Optional field with Id of new Loan Officer to be linked to this client and all his JLG loans for this grouporg.apache.fineract.infrastructure.core.data.CommandProcessingResulttransferClientsBetweenGroups(Long sourceGroupId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) org.apache.fineract.infrastructure.core.data.CommandProcessingResultwithdrawClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand)
-
Constructor Details
-
TransferWritePlatformServiceJpaRepositoryImpl
public TransferWritePlatformServiceJpaRepositoryImpl()
-
-
Method Details
-
transferClientsBetweenGroups
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult transferClientsBetweenGroups(Long sourceGroupId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) - Specified by:
transferClientsBetweenGroupsin interfaceTransferWritePlatformService
-
transferClientBetweenGroups
@Transactional public void transferClientBetweenGroups(org.apache.fineract.portfolio.group.domain.Group sourceGroup, org.apache.fineract.portfolio.client.domain.Client client, org.apache.fineract.portfolio.group.domain.Group destinationGroup, Boolean inheritDestinationGroupLoanOfficer, org.apache.fineract.organisation.staff.domain.Staff newLoanOfficer) Variables that would make sense
- inheritDestinationGroupLoanOfficer: Default true
- newStaffId: Optional field with Id of new Loan Officer to be linked to this client and all his JLG loans for this group
-
proposeAndAcceptClientTransfer
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult proposeAndAcceptClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Model- Specified by:
proposeAndAcceptClientTransferin interfaceTransferWritePlatformService- Parameters:
clientId-jsonCommand-- Returns:
-
proposeClientTransfer
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult proposeClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Model
If the Client is linked to any Groups, we can optionally choose to have all the linkages broken and all JLG Loans are converted into Individual Loans- Specified by:
proposeClientTransferin interfaceTransferWritePlatformService- Parameters:
clientId-jsonCommand-- Returns:
-
acceptClientTransfer
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult acceptClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) This API is meant for transferring clients between branches mainly by Organizations following an Individual lending Model
If the Client is linked to any Groups, we can optionally choose to have all the linkages broken and all JLG Loans are converted into Individual Loans- Specified by:
acceptClientTransferin interfaceTransferWritePlatformService- Parameters:
clientId-jsonCommand-- Returns:
-
withdrawClientTransfer
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult withdrawClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) - Specified by:
withdrawClientTransferin interfaceTransferWritePlatformService
-
rejectClientTransfer
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult rejectClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand) - Specified by:
rejectClientTransferin interfaceTransferWritePlatformService
-