| Package | Description |
|---|---|
| net.ideahut.springboot.crud | |
| net.ideahut.springboot.entity |
| Modifier and Type | Method and Description |
|---|---|
static EntityHelper.Builder |
CrudHelper.builder(EntityInfo entityInfo,
CrudRequest crudRequest,
boolean forSelect) |
<T> T |
CrudHandlerImpl.execute(CrudAction action,
EntityInfo entityInfo,
CrudRequest request) |
<T> T |
CrudHandler.execute(CrudAction action,
EntityInfo entityInfo,
CrudRequest request) |
static Object |
CrudHelper.getIdObject(EntityInfo entityInfo,
com.fasterxml.jackson.databind.JsonNode node) |
static Object |
CrudHelper.getIdObject(EntityInfo entityInfo,
String value) |
static <T> T |
CrudHelper.invokeObject(EntityInfo entityInfo,
T entity,
Map<String,Object> value) |
static <T> T |
CrudHelper.invokeObject(EntityInfo entityInfo,
T entity,
Map<String,Object> value,
boolean isRefreshObject) |
static <T> T |
CrudHelper.invokeObject(EntityInfo entityInfo,
T entity,
Map<String,Object> value,
boolean isRefreshObject,
org.hibernate.Session session) |
| Constructor and Description |
|---|
CrudEntity(EntityInfo entityInfo,
String crudName,
CrudId id,
List<CrudField> fields) |
| Modifier and Type | Method and Description |
|---|---|
EntityInfo |
EntityInfo.copy(Object source,
Object target) |
EntityInfo |
EntityInfo.copy(Object source,
Object target,
boolean isSkipNull,
Collection<String> skipFields) |
EntityInfo |
EntityInfo.copy(Object source,
Object target,
Collection<String> skipFields) |
EntityInfo |
FieldInfo.getEntityInfo() |
EntityInfo |
TrxManagerInfo.getEntityInfo(Class<?> entityClass) |
EntityInfo |
TrxManagerInfo.getEntityInfo(String tableSchema,
String tableName) |
EntityInfo |
EntityInfo.getParentInfo() |
EntityInfo |
EntityInfo.loadLazy(Object object,
List<String> tobeLoadFields) |
EntityInfo |
EntityInfo.nullLazyCollection(Object object) |
EntityInfo |
EntityInfo.prepare() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
EntityHelper.condition(int index,
EntityInfo entityInfo,
EntityFilter filter) |
static Object[] |
EntityHelper.condition(int index,
EntityInfo entityInfo,
String qlField,
EntityFilter.Condition condition,
EntityFilter.Logical logical,
String field,
Collection<String> value) |
static Object[] |
EntityHelper.condition(int index,
EntityInfo entityInfo,
String qlField,
EntityFilter filter) |
static FieldInfo |
EntityHelper.getFieldInfo(EntityInfo entityInfo,
String anyFieldName) |
static Object |
EntityHelper.getFieldValue(EntityInfo entityInfo,
String anyFieldName,
Collection<String> value) |
static Object |
EntityHelper.getFieldValue(EntityInfo entityInfo,
String anyFieldName,
String value) |
static void |
EntityHelper.loadLazy(Object entity,
EntityInfo entityInfo,
Collection<String> tobeLoadFields) |
static void |
EntityHelper.loadLazy(Object entity,
EntityInfo entityInfo,
Collection<String> loadFields,
Collection<String> selectedFields) |
static EntityHelper.Where |
EntityHelper.where(EntityInfo entityInfo,
CrudRequest request,
boolean forSelect) |
| Constructor and Description |
|---|
FieldInfo(EntityInfo entityInfo,
Field field,
String column,
org.hibernate.mapping.Column tableColumn,
boolean lazyObject,
boolean lazyCollection,
Class<?> collectionGenericType,
Boolean nullable,
Integer length,
Integer scale,
Integer precision,
String columnDefinition) |
Copyright © 2023. All rights reserved.