public class FieldManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DynamicEntityDao |
dynamicEntityDao |
protected EntityConfiguration |
entityConfiguration |
static String |
MAPFIELDSEPARATOR |
protected List<org.broadleafcommerce.openadmin.server.service.persistence.module.FieldManager.SortableValue> |
middleFields |
| Constructor and Description |
|---|
FieldManager(EntityConfiguration entityConfiguration,
DynamicEntityDao dynamicEntityDao) |
| Modifier and Type | Method and Description |
|---|---|
EntityConfiguration |
getEntityConfiguration() |
Field |
getField(Class<?> clazz,
String fieldName) |
Object |
getFieldValue(Object bean,
String fieldName) |
static Field |
getSingleField(Class<?> clazz,
String fieldName) |
Map<String,Serializable> |
persistMiddleEntities() |
Object |
setFieldValue(Object bean,
String fieldName,
Object newValue) |
public static final String MAPFIELDSEPARATOR
protected EntityConfiguration entityConfiguration
protected DynamicEntityDao dynamicEntityDao
protected List<org.broadleafcommerce.openadmin.server.service.persistence.module.FieldManager.SortableValue> middleFields
public FieldManager(EntityConfiguration entityConfiguration, DynamicEntityDao dynamicEntityDao)
public static Field getSingleField(Class<?> clazz, String fieldName) throws IllegalStateException
IllegalStateExceptionpublic Field getField(Class<?> clazz, String fieldName) throws IllegalStateException
IllegalStateExceptionpublic Object getFieldValue(Object bean, String fieldName) throws IllegalAccessException, FieldNotAvailableException
public Object setFieldValue(Object bean, String fieldName, Object newValue) throws IllegalAccessException, InstantiationException
public Map<String,Serializable> persistMiddleEntities() throws InstantiationException, IllegalAccessException
public EntityConfiguration getEntityConfiguration()
Copyright © 2017. All Rights Reserved.