T
- the generic typeI
- the generic typepublic interface DataContainer<T extends Serializable,I extends Serializable>
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,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.
|
List<T> |
findListByProperty(Object[] values,
javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
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.
|
List<T> |
findOrderedListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty,
Object[] values,
javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
Find ordered list by property.
|
List<T> |
findOrderedListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
Find ordered list by property.
|
List<T> |
getAll()
Gets the all.
|
List<T> |
getAllBy(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
Gets the all by.
|
List<T> |
getAllOrderBy(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
Gets the all order by.
|
List<T> |
getPage(int pageNr,
int resultPerPage)
Gets the page.
|
List<T> |
getPageOrderBy(int pageNr,
int resultPerPage,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderBy)
Gets the page order by.
|
Long |
getSize()
Gets the size.
|
T |
load(I id)
Load.
|
List<T> getAllOrderBy(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
property
- the propertyList<T> getPage(int pageNr, int resultPerPage)
pageNr
- the page nrresultPerPage
- the result per pageList<T> getPageOrderBy(int pageNr, int resultPerPage, javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderBy)
pageNr
- the page nrresultPerPage
- the result per pageorderBy
- the order byList<T> getAllBy(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value)
property
- the propertyvalue
- the valueList<T> findListByProperty(Object[] values, javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
values
- the valuesproperties
- the propertiesList<T> findOrderedListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value, javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty)
property
- the propertyvalue
- the valueorderByProperty
- the order by propertyList<T> findOrderedListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> orderByProperty, Object[] values, javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
orderByProperty
- the order by propertyvalues
- the valuesproperties
- the properties<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 clazz2property2
- the property2value
- 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 clazz2property2
- the property2value
- the value<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 clazz2property2
- the property2value
- the valueorderByProperty
- the order 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)
T
- the generic typeV
- the value typeclazz
- the clazzproperty
- the propertyclazz2
- the clazz2property2
- the property2value
- the valueorderByProperty
- the order by propertyLong getSize()
Copyright © 2010–2017 www.hack23.com. All rights reserved.