public class UifViewBeanWrapper extends org.springframework.beans.BeanWrapperImpl
Registers custom property editors configured on the field associated with the property name for which
we are getting or setting a value. In addition determines if the field requires encryption and if so applies
the UifEncryptionPropertyEditorWrapper
| Constructor and Description |
|---|
UifViewBeanWrapper(ViewModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyEditor |
findEditorForPropertyName(String propertyName) |
Class<?> |
getPropertyType(String propertyName) |
Object |
getPropertyValue(String propertyName) |
protected void |
registerEditorFromView(String propertyName)
Attempts to find a corresponding data field for the given property name in the current view or previous view,
then if the field has a property editor configured it is registered with the property editor registry to use
for this property
|
void |
setPropertyValue(org.springframework.beans.PropertyValue pv) |
void |
setPropertyValue(String propertyName,
Object value) |
void |
setWrappedInstance(Object object) |
void |
setWrappedInstance(Object object,
String nestedPath,
Object rootObject) |
convertForProperty, convertIfNecessary, getAutoGrowCollectionLimit, getBeanWrapperForPropertyPath, getNestedPath, getPropertyDescriptor, getPropertyDescriptorInternal, getPropertyDescriptors, getPropertyTypeDescriptor, getRootClass, getRootInstance, getSecurityContext, getWrappedClass, getWrappedInstance, isAutoGrowNestedPaths, isReadableProperty, isWritableProperty, newNestedBeanWrapper, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setIntrospectionClass, setSecurityContext, toStringconvertIfNecessary, isExtractOldValueForEditor, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuescopyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, setConversionService, useConfigValueEditorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConversionService, isExtractOldValueForEditor, setConversionService, setExtractOldValueForEditorsetPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuespublic UifViewBeanWrapper(ViewModel model)
protected void registerEditorFromView(String propertyName)
propertyName - - name of the property to find field and editor forprotected PropertyEditor findEditorForPropertyName(String propertyName)
public Class<?> getPropertyType(String propertyName) throws org.springframework.beans.BeansException
getPropertyType in interface org.springframework.beans.PropertyAccessorgetPropertyType in class org.springframework.beans.BeanWrapperImplorg.springframework.beans.BeansExceptionpublic Object getPropertyValue(String propertyName) throws org.springframework.beans.BeansException
getPropertyValue in interface org.springframework.beans.PropertyAccessorgetPropertyValue in class org.springframework.beans.BeanWrapperImplorg.springframework.beans.BeansExceptionpublic void setPropertyValue(org.springframework.beans.PropertyValue pv) throws org.springframework.beans.BeansException
setPropertyValue in interface org.springframework.beans.PropertyAccessorsetPropertyValue in class org.springframework.beans.BeanWrapperImplorg.springframework.beans.BeansExceptionpublic void setPropertyValue(String propertyName, Object value) throws org.springframework.beans.BeansException
setPropertyValue in interface org.springframework.beans.PropertyAccessorsetPropertyValue in class org.springframework.beans.BeanWrapperImplorg.springframework.beans.BeansExceptionpublic void setWrappedInstance(Object object, String nestedPath, Object rootObject)
setWrappedInstance in class org.springframework.beans.BeanWrapperImplpublic void setWrappedInstance(Object object)
setWrappedInstance in class org.springframework.beans.BeanWrapperImplCopyright © 2005–2016 The Kuali Foundation. All rights reserved.