org.kuali.rice.krad.web.bind
Class UifViewBeanWrapper
java.lang.Object
   org.springframework.beans.PropertyEditorRegistrySupport
org.springframework.beans.PropertyEditorRegistrySupport
       org.springframework.beans.AbstractPropertyAccessor
org.springframework.beans.AbstractPropertyAccessor
           org.springframework.beans.BeanWrapperImpl
org.springframework.beans.BeanWrapperImpl
               org.kuali.rice.krad.web.bind.UifViewBeanWrapper
org.kuali.rice.krad.web.bind.UifViewBeanWrapper
- All Implemented Interfaces: 
- org.springframework.beans.BeanWrapper, org.springframework.beans.ConfigurablePropertyAccessor, org.springframework.beans.PropertyAccessor, org.springframework.beans.PropertyEditorRegistry, org.springframework.beans.TypeConverter
- public class UifViewBeanWrapper 
- extends org.springframework.beans.BeanWrapperImpl
Class is a top level BeanWrapper for a UIF View Model
 
 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
 
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
| Fields inherited from interface org.springframework.beans.PropertyAccessor | 
| NESTED_PROPERTY_SEPARATOR, NESTED_PROPERTY_SEPARATOR_CHAR, PROPERTY_KEY_PREFIX, PROPERTY_KEY_PREFIX_CHAR, PROPERTY_KEY_SUFFIX, PROPERTY_KEY_SUFFIX_CHAR | 
 
 
 
| Methods inherited from class org.springframework.beans.BeanWrapperImpl | 
| convertForProperty, convertIfNecessary, getAutoGrowCollectionLimit, getNestedPath, getPropertyDescriptor, getPropertyDescriptorInternal, getPropertyDescriptors, getPropertyTypeDescriptor, getRootClass, getRootInstance, getSecurityContext, getWrappedClass, getWrappedInstance, isAutoGrowNestedPaths, isReadableProperty, isWritableProperty, newNestedBeanWrapper, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setIntrospectionClass, setSecurityContext, toString | 
 
| Methods inherited from class org.springframework.beans.AbstractPropertyAccessor | 
| convertIfNecessary, isExtractOldValueForEditor, setExtractOldValueForEditor, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues | 
 
| Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport | 
| copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, setConversionService, useConfigValueEditors | 
 
 
| Methods inherited from interface org.springframework.beans.ConfigurablePropertyAccessor | 
| getConversionService, isExtractOldValueForEditor, setConversionService, setExtractOldValueForEditor | 
 
| Methods inherited from interface org.springframework.beans.PropertyAccessor | 
| setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues | 
 
| Methods inherited from interface org.springframework.beans.PropertyEditorRegistry | 
| findCustomEditor, registerCustomEditor, registerCustomEditor | 
 
| Methods inherited from interface org.springframework.beans.TypeConverter | 
| convertIfNecessary | 
 
UifViewBeanWrapper
public UifViewBeanWrapper(ViewModel model)
registerEditorFromView
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
 
- 
- Parameters:
- propertyName- - name of the property to find field and editor for
 
findEditorForPropertyName
protected PropertyEditor findEditorForPropertyName(String propertyName)
- 
 
getPropertyType
public Class<?> getPropertyType(String propertyName)
                         throws org.springframework.beans.BeansException
- 
- Specified by:
- getPropertyTypein interface- org.springframework.beans.PropertyAccessor
- Overrides:
- getPropertyTypein class- org.springframework.beans.BeanWrapperImpl
 
- 
- Throws:
- org.springframework.beans.BeansException
 
getBeanWrapperForPropertyPath
protected org.springframework.beans.BeanWrapperImpl getBeanWrapperForPropertyPath(String propertyPath)
- 
- Overrides:
- getBeanWrapperForPropertyPathin class- org.springframework.beans.BeanWrapperImpl
 
- 
 
getPropertyValue
public Object getPropertyValue(String propertyName)
                        throws org.springframework.beans.BeansException
- 
- Specified by:
- getPropertyValuein interface- org.springframework.beans.PropertyAccessor
- Overrides:
- getPropertyValuein class- org.springframework.beans.BeanWrapperImpl
 
- 
- Throws:
- org.springframework.beans.BeansException
 
setPropertyValue
public void setPropertyValue(org.springframework.beans.PropertyValue pv)
                      throws org.springframework.beans.BeansException
- 
- Specified by:
- setPropertyValuein interface- org.springframework.beans.PropertyAccessor
- Overrides:
- setPropertyValuein class- org.springframework.beans.BeanWrapperImpl
 
- 
- Throws:
- org.springframework.beans.BeansException
 
setPropertyValue
public void setPropertyValue(String propertyName,
                             Object value)
                      throws org.springframework.beans.BeansException
- 
- Specified by:
- setPropertyValuein interface- org.springframework.beans.PropertyAccessor
- Overrides:
- setPropertyValuein class- org.springframework.beans.BeanWrapperImpl
 
- 
- Throws:
- org.springframework.beans.BeansException
 
setWrappedInstance
public void setWrappedInstance(Object object,
                               String nestedPath,
                               Object rootObject)
- 
- Overrides:
- setWrappedInstancein class- org.springframework.beans.BeanWrapperImpl
 
- 
 
setWrappedInstance
public void setWrappedInstance(Object object)
- 
- Overrides:
- setWrappedInstancein class- org.springframework.beans.BeanWrapperImpl
 
- 
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.