@Service @Transactional(readOnly=true) public class FieldTestServiceClassEntityQueryService extends io.github.jhipster.service.QueryService<FieldTestServiceClassEntity>
FieldTestServiceClassEntityCriteria
which get's converted to Specifications
,
in a way that all the filters must apply.
It returns a List
of FieldTestServiceClassEntity
or a Page
of FieldTestServiceClassEntity
which fulfills the criteria.Constructor and Description |
---|
FieldTestServiceClassEntityQueryService(FieldTestServiceClassEntityRepository fieldTestServiceClassEntityRepository) |
Modifier and Type | Method and Description |
---|---|
java.util.List<FieldTestServiceClassEntity> |
findByCriteria(FieldTestServiceClassEntityCriteria criteria)
Return a
List of FieldTestServiceClassEntity which matches the criteria from the database |
org.springframework.data.domain.Page<FieldTestServiceClassEntity> |
findByCriteria(FieldTestServiceClassEntityCriteria criteria,
org.springframework.data.domain.Pageable page)
Return a
Page of FieldTestServiceClassEntity which matches the criteria from the database |
buildRangeSpecification, buildReferringEntitySpecification, buildReferringEntitySpecification, buildSpecification, buildStringSpecification, byFieldSpecified, byFieldSpecified, equalsSetSpecification, equalsSpecification, equalsSpecification, greaterThan, greaterThanOrEqualTo, lessThan, lessThanOrEqualTo, likeUpperSpecification, valueIn, valueIn, wrapLikeQuery
public FieldTestServiceClassEntityQueryService(FieldTestServiceClassEntityRepository fieldTestServiceClassEntityRepository)
@Transactional(readOnly=true) public java.util.List<FieldTestServiceClassEntity> findByCriteria(FieldTestServiceClassEntityCriteria criteria)
List
of FieldTestServiceClassEntity
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<FieldTestServiceClassEntity> findByCriteria(FieldTestServiceClassEntityCriteria criteria, org.springframework.data.domain.Pageable page)
Page
of FieldTestServiceClassEntity
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.