Interface StandingInstructionRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.jpa.repository.JpaRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<AccountTransferStandingInstruction>, org.springframework.data.repository.ListCrudRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.repository.PagingAndSortingRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<AccountTransferStandingInstruction>, org.springframework.data.repository.Repository<AccountTransferStandingInstruction,Long>

public interface StandingInstructionRepository extends org.springframework.data.jpa.repository.JpaRepository<AccountTransferStandingInstruction,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<AccountTransferStandingInstruction>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    findByLoanAccountAndStatus(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, Integer status)
     
    findBySavingsAccountAndStatus(org.apache.fineract.portfolio.savings.domain.SavingsAccount savingsAccount, Integer status)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Field Details

  • Method Details

    • findByLoanAccountAndStatus

      @Query("select accountTransferStandingInstruction from AccountTransferStandingInstruction accountTransferStandingInstruction where accountTransferStandingInstruction.status = :status and (accountTransferStandingInstruction.accountTransferDetails.toLoanAccount = :loan or accountTransferStandingInstruction.accountTransferDetails.fromLoanAccount = :loan)") Collection<AccountTransferStandingInstruction> findByLoanAccountAndStatus(@Param("loan") org.apache.fineract.portfolio.loanaccount.domain.Loan loan, @Param("status") Integer status)
    • findBySavingsAccountAndStatus

      @Query("select accountTransferStandingInstruction from AccountTransferStandingInstruction accountTransferStandingInstruction where accountTransferStandingInstruction.status = :status and (accountTransferStandingInstruction.accountTransferDetails.toSavingsAccount = :savingsAccount or accountTransferStandingInstruction.accountTransferDetails.fromSavingsAccount = :savingsAccount)") Collection<AccountTransferStandingInstruction> findBySavingsAccountAndStatus(@Param("savingsAccount") org.apache.fineract.portfolio.savings.domain.SavingsAccount savingsAccount, @Param("status") Integer status)