org.broadleafcommerce.openadmin.server.service.persistence.module
public class FieldManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DynamicEntityDao |
dynamicEntityDao |
protected EntityConfiguration |
entityConfiguration |
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) |
void |
persistMiddleEntities() |
Object |
setFieldValue(Object bean,
String fieldName,
Object newValue) |
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 void persistMiddleEntities()
public EntityConfiguration getEntityConfiguration()
Copyright © 2015. All Rights Reserved.