T - The target entitypublic class ListingQuery<T> extends Object
| Constructor and Description |
|---|
ListingQuery(javax.persistence.EntityManager entityManager,
Class<T> domainClass) |
| Modifier and Type | Method and Description |
|---|---|
ListingQuery<T> |
addEqualsConstraint(String attribute,
Enum value) |
ListingQuery<T> |
addEqualsNotConstraint(String attribute,
Enum value) |
ListingQuery<T> |
addIsNullConstraint(String attribute) |
Long |
count() |
ListingQuery<T> |
filter(String filter,
String... attributes) |
ListingQuery<T> |
filterAllAttributes(String filter) |
ListingQuery<T> |
filterByAttributes(Map<String,String> filterAttributes) |
ListingQuery<T> |
filterByPredicate(ListingPredicate listingPredicate) |
javax.persistence.criteria.CriteriaQuery<T> |
getQuery() |
javax.persistence.criteria.CriteriaQuery<Long> |
getQueryForCount() |
List<T> |
list() |
List<T> |
list(Integer startPosition,
Integer limit) |
ListingQuery<T> |
sort(String attribute) |
public ListingQuery<T> filterAllAttributes(String filter)
public ListingQuery<T> filterByAttributes(Map<String,String> filterAttributes)
public ListingQuery<T> filterByPredicate(ListingPredicate listingPredicate)
public ListingQuery<T> filter(String filter, String... attributes)
public ListingQuery<T> addIsNullConstraint(String attribute)
public ListingQuery<T> addEqualsConstraint(String attribute, Enum value)
public ListingQuery<T> addEqualsNotConstraint(String attribute, Enum value)
public ListingQuery<T> sort(String attribute)
public javax.persistence.criteria.CriteriaQuery<T> getQuery()
public javax.persistence.criteria.CriteriaQuery<Long> getQueryForCount()
public Long count()
Copyright © 2017–2019 coodoo GmbH. All rights reserved.