org.kuali.rice.krad.web.bind
Class UifViewBeanWrapper

java.lang.Object
  extended by org.springframework.beans.PropertyEditorRegistrySupport
      extended by org.springframework.beans.AbstractPropertyAccessor
          extended by org.springframework.beans.BeanWrapperImpl
              extended by 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

This class is a top level BeanWrapper for a UIF View (form). It will call the view service to find formatters and check if fields are encrypted.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
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
 
Constructor Summary
UifViewBeanWrapper(Object object)
           
 
Method Summary
protected  void callViewService(String propertyName)
           
protected  PropertyEditor findEditorForPropertyName(String propertyName)
           
 Class<?> getPropertyType(String propertyName)
           
 Object getPropertyValue(String propertyName)
           
 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)
           
 
Methods inherited from class org.springframework.beans.BeanWrapperImpl
convertForProperty, convertIfNecessary, getAutoGrowCollectionLimit, getBeanWrapperForPropertyPath, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

UifViewBeanWrapper

public UifViewBeanWrapper(Object object)
Method Detail

callViewService

protected void callViewService(String propertyName)

findEditorForPropertyName

protected PropertyEditor findEditorForPropertyName(String propertyName)

getPropertyType

public Class<?> getPropertyType(String propertyName)
                         throws org.springframework.beans.BeansException
Specified by:
getPropertyType in interface org.springframework.beans.PropertyAccessor
Overrides:
getPropertyType in class org.springframework.beans.BeanWrapperImpl
Throws:
org.springframework.beans.BeansException

getPropertyValue

public Object getPropertyValue(String propertyName)
                        throws org.springframework.beans.BeansException
Specified by:
getPropertyValue in interface org.springframework.beans.PropertyAccessor
Overrides:
getPropertyValue in 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:
setPropertyValue in interface org.springframework.beans.PropertyAccessor
Overrides:
setPropertyValue in 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:
setPropertyValue in interface org.springframework.beans.PropertyAccessor
Overrides:
setPropertyValue in class org.springframework.beans.BeanWrapperImpl
Throws:
org.springframework.beans.BeansException

setWrappedInstance

public void setWrappedInstance(Object object,
                               String nestedPath,
                               Object rootObject)
Overrides:
setWrappedInstance in class org.springframework.beans.BeanWrapperImpl

setWrappedInstance

public void setWrappedInstance(Object object)
Overrides:
setWrappedInstance in class org.springframework.beans.BeanWrapperImpl


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.