public interface DataViewer
Modifier and Type | Method and Description |
---|---|
<T,V> T |
findByQueryProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Class<V> clazz2,
javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2,
Object value)
Find by query property.
|
<T> T |
findFirstByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
Find first by property.
|
<T,V> List<T> |
findListByEmbeddedProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,V> property,
Class<V> clazz2,
javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2,
Object value)
Find list by embedded property.
|
<T> List<T> |
findListByProperty(Class<T> clazz,
Object[] values,
javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
Find list by property.
|
<T> List<T> |
findListByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
Find list by property.
|
<T,V> List<T> |
findOrderedByPropertyListByEmbeddedProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,V> property,
Class<V> clazz2,
javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2,
Object value,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
Find ordered by property list by embedded property.
|
<T,V> List<T> |
findOrderedListByEmbeddedProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,V> property,
Class<V> clazz2,
javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2,
Object value,
javax.persistence.metamodel.SingularAttribute<V,? extends Object> orderByProperty)
Find ordered list by embedded property.
|
<T> List<T> |
findOrderedListByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty,
Object[] values,
javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
Find ordered list by property.
|
<T> List<T> |
findOrderedListByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
Find ordered list by property.
|
<T> List<T> |
getAll(Class<T> clazz)
Gets the all.
|
<T> List<T> |
getAllOrderBy(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
Gets the all order by.
|
<T> List<T> |
getPage(Class<T> clazz,
int pageNr,
int resultPerPage)
Gets the page.
|
<T> List<T> |
getPageOrderBy(Class<T> clazz,
int pageNr,
int resultPerPage,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
Gets the page order by.
|
<T> Long |
getSize(Class<T> clazz)
Gets the size.
|
<T> T |
load(Class<T> clazz,
Object id)
Load.
|
<T,V> T findByQueryProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Class<V> clazz2, javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2, Object value)
T
- the generic typeV
- the value typeclazz
- the clazzproperty
- the propertyclazz2
- the clazz 2property2
- the property 2value
- the value<T> T findFirstByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value)
T
- the generic typeclazz
- the clazzproperty
- the propertyvalue
- the value<T,V> List<T> findListByEmbeddedProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,V> property, Class<V> clazz2, javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2, Object value)
T
- the generic typeV
- the value typeclazz
- the clazzproperty
- the propertyclazz2
- the clazz 2property2
- the property 2value
- the value<T> List<T> findListByProperty(Class<T> clazz, Object[] values, javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
T
- the generic typeclazz
- the clazzvalues
- the valuesproperties
- the properties<T> List<T> findListByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value)
T
- the generic typeclazz
- the clazzproperty
- the propertyvalue
- the value<T,V> List<T> findOrderedByPropertyListByEmbeddedProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,V> property, Class<V> clazz2, javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2, Object value, javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
T
- the generic typeV
- the value typeclazz
- the clazzproperty
- the propertyclazz2
- the clazz 2property2
- the property 2value
- the valueorderByProperty
- the order by property<T,V> List<T> findOrderedListByEmbeddedProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,V> property, Class<V> clazz2, javax.persistence.metamodel.SingularAttribute<V,? extends Object> property2, Object value, javax.persistence.metamodel.SingularAttribute<V,? extends Object> orderByProperty)
T
- the generic typeV
- the value typeclazz
- the clazzproperty
- the propertyclazz2
- the clazz 2property2
- the property 2value
- the valueorderByProperty
- the order by property<T> List<T> findOrderedListByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value, javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
T
- the generic typeclazz
- the clazzproperty
- the propertyvalue
- the valueorderByProperty
- the order by property<T> List<T> findOrderedListByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty, Object[] values, javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
T
- the generic typeclazz
- the clazzorderByProperty
- the order by propertyvalues
- the valuesproperties
- the properties<T> List<T> getAll(Class<T> clazz)
T
- the generic typeclazz
- the clazz<T> List<T> getAllOrderBy(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
T
- the generic typeclazz
- the clazzproperty
- the property<T> List<T> getPage(Class<T> clazz, int pageNr, int resultPerPage)
T
- the generic typeclazz
- the clazzpageNr
- the page nrresultPerPage
- the result per page<T> List<T> getPageOrderBy(Class<T> clazz, int pageNr, int resultPerPage, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
T
- the generic typeclazz
- the clazzpageNr
- the page nrresultPerPage
- the result per pageproperty
- the property<T> Long getSize(Class<T> clazz)
T
- the generic typeclazz
- the clazzCopyright © 2010–2017 www.hack23.com. All rights reserved.