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>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindByLoanAccountAndStatus(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, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Field Details
-
FIND_BY_LOAN_AND_STATUS_QUERY
- See Also:
-
FIND_BY_SAVINGS_AND_STATUS_QUERY
- See Also:
-
-
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)
-