@Repository(value="DataViewer") public final class DataViewerImpl extends Object implements com.hack23.cia.service.data.api.DataViewer
Constructor and Description |
---|
DataViewerImpl()
Instantiates a new data viewer impl.
|
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) |
<T> T |
findFirstByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object 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> List<T> |
findListByProperty(Class<T> clazz,
Object[] values,
javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties) |
<T> List<T> |
findListByProperty(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object 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,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> 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> 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> List<T> |
getAll(Class<T> clazz) |
<T> List<T> |
getAllOrderBy(Class<T> clazz,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property) |
<T> List<T> |
getPage(Class<T> clazz,
int pageNr,
int resultPerPage) |
<T> List<T> |
getPageOrderBy(Class<T> clazz,
int pageNr,
int resultPerPage,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property) |
<T> Long |
getSize(Class<T> clazz) |
<T> T |
load(Class<T> clazz,
Object id) |
public <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)
findByQueryProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <T> T findFirstByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value)
findFirstByProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <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)
findListByEmbeddedProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> findListByProperty(Class<T> clazz, Object[] values, javax.persistence.metamodel.SingularAttribute<T,? extends Object>... properties)
findListByProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> findListByProperty(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property, Object value)
findListByProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <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)
findOrderedByPropertyListByEmbeddedProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <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)
findOrderedListByEmbeddedProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <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)
findOrderedListByProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <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)
findOrderedListByProperty
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> getAll(Class<T> clazz)
getAll
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> getAllOrderBy(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
getAllOrderBy
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> getPage(Class<T> clazz, int pageNr, int resultPerPage)
getPage
in interface com.hack23.cia.service.data.api.DataViewer
public <T> List<T> getPageOrderBy(Class<T> clazz, int pageNr, int resultPerPage, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
getPageOrderBy
in interface com.hack23.cia.service.data.api.DataViewer
public <T> Long getSize(Class<T> clazz)
getSize
in interface com.hack23.cia.service.data.api.DataViewer
Copyright © 2010–2017 www.hack23.com. All rights reserved.