
@Component
@Transactional(propagation=REQUIRED)
@Secured(value={"ROLE_ANONYMOUS","ROLE_USER","ROLE_ADMIN"})
public final class ViewDataDataContainerFactoryImpl
extends Object
implements com.hack23.cia.service.data.api.DataViewer, ViewDataDataContainerFactory
| Constructor and Description |
|---|
ViewDataDataContainerFactoryImpl()
Instantiates a new view data data container factory impl.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable,I extends Serializable> |
createDataContainer(Class<T> clazz)
Creates a new ViewDataDataContainer object.
|
<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 ViewDataDataContainerFactoryImpl()
public <T extends Serializable,I extends Serializable> com.hack23.cia.service.api.DataContainer<T,I> createDataContainer(Class<T> clazz)
ViewDataDataContainerFactorycreateDataContainer in interface ViewDataDataContainerFactoryT - the generic typeI - the generic typeclazz - the clazzpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <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.DataViewerpublic <T> List<T> getAll(Class<T> clazz)
getAll in interface com.hack23.cia.service.data.api.DataViewerpublic <T> List<T> getAllOrderBy(Class<T> clazz, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
getAllOrderBy in interface com.hack23.cia.service.data.api.DataViewerpublic <T> T load(Class<T> clazz, Object id)
load in interface com.hack23.cia.service.data.api.DataViewerpublic <T> List<T> getPage(Class<T> clazz, int pageNr, int resultPerPage)
getPage in interface com.hack23.cia.service.data.api.DataViewerpublic <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.DataViewerCopyright © 2010–2017 www.hack23.com. All rights reserved.