E - public interface Listable<E> extends Clearable, Serializable
Serializable,
List,
HibernateException,
Criterion,
Clearable| Modifier and Type | Method and Description |
|---|---|
void |
addCriterion(org.hibernate.criterion.Criterion criterion)
Add a search criterion
|
void |
addOrder(String value)
Add a parameter to sorting the research
|
void |
addOrder(String value,
boolean desc)
Add a parameter to sorting the research
|
List<E> |
list()
Entities list by research criterions and order fields.
|
E |
single()
Return a single entity by research criterions
|
void addOrder(String value)
value - set the sort field nameOrdervoid addOrder(String value, boolean desc)
value - set the sort field namedesc - set true for decreasing orderOrdervoid addCriterion(org.hibernate.criterion.Criterion criterion)
criterion - hibernate criterionCriterionList<E> list() throws org.hibernate.HibernateException, Exception
Copyright © 2016. All rights reserved.