Interface LedgerAccountRepository
-
- All Superinterfaces:
BaseEntityRepository<LedgerAccount>,org.springframework.data.repository.CrudRepository<LedgerAccount,String>,NamedEntityRepository<LedgerAccount>,org.springframework.data.repository.PagingAndSortingRepository<LedgerAccount,String>,org.springframework.data.repository.Repository<LedgerAccount,String>
public interface LedgerAccountRepository extends NamedEntityRepository<LedgerAccount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<LedgerAccount>findOptionalByLedgerAndName(Ledger ledger, String name)List<LedgerAccount>getAccountsByIbans(Set<String> ibans, Ledger ledger)
-
-
-
Method Detail
-
findOptionalByLedgerAndName
Optional<LedgerAccount> findOptionalByLedgerAndName(Ledger ledger, String name)
-
getAccountsByIbans
@Query("select distinct a from LedgerAccount a where a.ledger=?2 and a.name in ?1") List<LedgerAccount> getAccountsByIbans(Set<String> ibans, Ledger ledger)
-
-