@Service @Transactional(readOnly=true) public class BankAccountQueryService extends io.github.jhipster.service.QueryService<BankAccount>
BankAccountCriteria which get's converted to Specifications,
in a way that all the filters must apply.
It returns a List of BankAccountDTO or a Page of BankAccountDTO which fulfills the criteria.| Constructor and Description |
|---|
BankAccountQueryService(BankAccountRepository bankAccountRepository,
BankAccountMapper bankAccountMapper) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BankAccountDTO> |
findByCriteria(BankAccountCriteria criteria)
Return a
List of BankAccountDTO which matches the criteria from the database |
org.springframework.data.domain.Page<BankAccountDTO> |
findByCriteria(BankAccountCriteria criteria,
org.springframework.data.domain.Pageable page)
Return a
Page of BankAccountDTO which matches the criteria from the database |
buildRangeSpecification, buildReferringEntitySpecification, buildReferringEntitySpecification, buildSpecification, buildStringSpecification, byFieldSpecified, byFieldSpecified, equalsSetSpecification, equalsSpecification, equalsSpecification, greaterThan, greaterThanOrEqualTo, lessThan, lessThanOrEqualTo, likeUpperSpecification, valueIn, valueIn, wrapLikeQuerypublic BankAccountQueryService(BankAccountRepository bankAccountRepository, BankAccountMapper bankAccountMapper)
@Transactional(readOnly=true) public java.util.List<BankAccountDTO> findByCriteria(BankAccountCriteria criteria)
List of BankAccountDTO which matches the criteria from the databasecriteria - The object which holds all the filters, which the entities should match.@Transactional(readOnly=true) public org.springframework.data.domain.Page<BankAccountDTO> findByCriteria(BankAccountCriteria criteria, org.springframework.data.domain.Pageable page)
Page of BankAccountDTO which matches the criteria from the databasecriteria - The object which holds all the filters, which the entities should match.page - The page, which should be returned.Copyright © 2017 Osgiliath. All rights reserved.