org.shept.persistence.provider.hibernate
public abstract class HibernateCriteriaFilter extends Object implements HibernateCriteriaDefinition, Serializable
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.beans.support.SortDefinition |
defaultSortDefinition |
private Class<?> |
entityClass |
protected org.apache.commons.logging.Log |
logger
Logger that is available to subclasses
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
HibernateCriteriaFilter() |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.criterion.DetachedCriteria |
getCriteria(org.springframework.beans.support.SortDefinition sortDefinition) |
org.springframework.beans.support.SortDefinition |
getDefaultSortDefinition() |
Class<?> |
getEntityClass() |
ModelCreation |
getNewModelTemplate() |
void |
setDefaultSortDefinition(org.springframework.beans.support.SortDefinition defaultSortDefinition) |
void |
setEntityClass(Class<?> entityClass) |
private static final long serialVersionUID
protected final org.apache.commons.logging.Log logger
private Class<?> entityClass
private org.springframework.beans.support.SortDefinition defaultSortDefinition
public org.hibernate.criterion.DetachedCriteria getCriteria(org.springframework.beans.support.SortDefinition sortDefinition)
getCriteria in interface HibernateCriteriaDefinitionhttp://stackoverflow.com/questions/1926618/hibernate-sort-by-properties-of-inner-beanpublic ModelCreation getNewModelTemplate()
getNewModelTemplate in interface FilterDefinitionpublic Class<?> getEntityClass()
public void setEntityClass(Class<?> entityClass)
entityClass - the entityClass to setpublic org.springframework.beans.support.SortDefinition getDefaultSortDefinition()
public void setDefaultSortDefinition(org.springframework.beans.support.SortDefinition defaultSortDefinition)
defaultSortDefinition - the defaultSortDefinition to setCopyright © 2014. All Rights Reserved.