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

    Modifier and Type
    Method
    Description
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    activateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    assignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    closeClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    createClient(org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    deleteClient(Long clientId)
     
    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
    boolean
    isEmpty(com.google.gson.JsonElement element)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    reActivateClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    rejectClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    unassignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    undoRejection(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    undoWithdrawal(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateDefaultSavingsAccount(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    withdrawClient(Long entityId, 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

    • ClientWritePlatformServiceJpaRepositoryImpl

      public ClientWritePlatformServiceJpaRepositoryImpl()
  • Method Details

    • deleteClient

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteClient(Long clientId)
      Specified by:
      deleteClient in interface ClientWritePlatformService
    • createClient

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createClient(org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      createClient in interface ClientWritePlatformService
    • 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:
      updateClient in interface ClientWritePlatformService
    • activateClient

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult activateClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      activateClient in interface ClientWritePlatformService
    • unassignClientStaff

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult unassignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      unassignClientStaff in interface ClientWritePlatformService
    • assignClientStaff

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult assignClientStaff(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      assignClientStaff in interface ClientWritePlatformService
    • closeClient

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult closeClient(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      closeClient in interface ClientWritePlatformService
    • updateDefaultSavingsAccount

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateDefaultSavingsAccount(Long clientId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      updateDefaultSavingsAccount in interface ClientWritePlatformService
    • rejectClient

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult rejectClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      rejectClient in interface ClientWritePlatformService
    • withdrawClient

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult withdrawClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      withdrawClient in interface ClientWritePlatformService
    • reActivateClient

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult reActivateClient(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      reActivateClient in interface ClientWritePlatformService
    • undoRejection

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult undoRejection(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      undoRejection in interface ClientWritePlatformService
    • undoWithdrawal

      public org.apache.fineract.infrastructure.core.data.CommandProcessingResult undoWithdrawal(Long entityId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      undoWithdrawal in interface ClientWritePlatformService