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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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
    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
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    rejectClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand)
     
    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
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    transferClientsBetweenGroups(Long sourceGroupId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    withdrawClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      transferClientsBetweenGroups in interface TransferWritePlatformService
    • 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:
      proposeAndAcceptClientTransfer in interface TransferWritePlatformService
      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:
      proposeClientTransfer in interface TransferWritePlatformService
      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:
      acceptClientTransfer in interface TransferWritePlatformService
      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:
      withdrawClientTransfer in interface TransferWritePlatformService
    • rejectClientTransfer

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult rejectClientTransfer(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand jsonCommand)
      Specified by:
      rejectClientTransfer in interface TransferWritePlatformService