public class CRUDEntityProcessor extends Object
| Constructor and Description |
|---|
CRUDEntityProcessor() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(javax.persistence.EntityManager em,
net.inveed.commons.reflection.BeanTypeDesc<T> entityType,
String id) |
<T> List<T> |
list(javax.persistence.EntityManager em,
Class<T> type,
int pageSize,
int page) |
public <T> List<T> list(javax.persistence.EntityManager em, Class<T> type, int pageSize, int page)
public <T> T get(javax.persistence.EntityManager em,
net.inveed.commons.reflection.BeanTypeDesc<T> entityType,
String id)
throws com.fasterxml.jackson.core.JsonGenerationException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
com.fasterxml.jackson.core.JsonGenerationExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionCopyright © 2018. All rights reserved.