org.broadleafcommerce.openadmin.server.service.persistence.module
Class FieldManager
java.lang.Object
org.broadleafcommerce.openadmin.server.service.persistence.module.FieldManager
public class FieldManager
- extends Object
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityConfiguration
protected EntityConfiguration entityConfiguration
dynamicEntityDao
protected DynamicEntityDao dynamicEntityDao
middleFields
protected List<org.broadleafcommerce.openadmin.server.service.persistence.module.FieldManager.SortableValue> middleFields
FieldManager
public FieldManager(EntityConfiguration entityConfiguration,
DynamicEntityDao dynamicEntityDao)
getSingleField
public static Field getSingleField(Class<?> clazz,
String fieldName)
throws IllegalStateException
- Throws:
IllegalStateException
getField
public Field getField(Class<?> clazz,
String fieldName)
throws IllegalStateException
- Throws:
IllegalStateException
getFieldValue
public Object getFieldValue(Object bean,
String fieldName)
throws IllegalAccessException,
FieldNotAvailableException
- Throws:
IllegalAccessException
FieldNotAvailableException
setFieldValue
public Object setFieldValue(Object bean,
String fieldName,
Object newValue)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
persistMiddleEntities
public void persistMiddleEntities()
getEntityConfiguration
public EntityConfiguration getEntityConfiguration()
Copyright © 2013. All Rights Reserved.