Anyframe Web

anyframe.web.springmvc.util.ria.mip
Class MiPDataBinder

java.lang.Object
  extended by org.springframework.validation.DataBinder
      extended by anyframe.web.springmvc.util.ria.mip.MiPDataBinder
All Implemented Interfaces:
org.springframework.beans.PropertyEditorRegistry, org.springframework.beans.TypeConverter

public class MiPDataBinder
extends org.springframework.validation.DataBinder

The class expanding the org.springframework.validation.DataBinder

As data changing util class, when using the Tobesoft's MiPlatform's to develop the UI, it includes the method for changing the value of VariableList and Dataset used as data transmitting object.

Author:
Jonghoon Kim

Field Summary
 
Fields inherited from class org.springframework.validation.DataBinder
DEFAULT_OBJECT_NAME, logger
 
Constructor Summary
MiPDataBinder(java.lang.Object target)
          MiPDataBinder's constructor.
MiPDataBinder(java.lang.Object target, boolean convertToCamelCase)
          MiPDataBinder's constructor.
 
Method Summary
 void bind(com.tobesoft.platform.data.Dataset dataList, int rowNum)
          Maps to Dataset the VO's value set using the MiPDataBinder constructor
 void bind(com.tobesoft.platform.data.Dataset dataList, int rowNum, boolean isDeleted)
          Maps to the Dataset the VO's value set using the MiPDataBinder constructor If delete record, the isDeleted is true.
 void bind(com.tobesoft.platform.data.VariableList variableList)
          Maps to VariableList the VO's value set by using the MiPDataBinder constructor.
 
Methods inherited from class org.springframework.validation.DataBinder
applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, convertIfNecessary, convertIfNecessary, doBind, findCustomEditor, getAllowedFields, getBindingErrorProcessor, getBindingResult, getDisallowedFields, getErrors, getInternalBindingResult, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTypeConverter, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, setAllowedFields, setBindingErrorProcessor, setDisallowedFields, setExtractOldValueForEditor, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiPDataBinder

public MiPDataBinder(java.lang.Object target)
MiPDataBinder's constructor.

Parameters:
target - Value Object

MiPDataBinder

public MiPDataBinder(java.lang.Object target,
                     boolean convertToCamelCase)
MiPDataBinder's constructor.

Parameters:
target - Value Object
convertToCamenCase - When changing to CamelCase the attribute name, then true
Method Detail

bind

public void bind(com.tobesoft.platform.data.VariableList variableList)
Maps to VariableList the VO's value set by using the MiPDataBinder constructor.

Parameters:
variableList - VariableList

bind

public void bind(com.tobesoft.platform.data.Dataset dataList,
                 int rowNum)
Maps to Dataset the VO's value set using the MiPDataBinder constructor

Parameters:
dataList - MiPlatform Dataset
rowNum - the row number of record

bind

public void bind(com.tobesoft.platform.data.Dataset dataList,
                 int rowNum,
                 boolean isDeleted)
Maps to the Dataset the VO's value set using the MiPDataBinder constructor If delete record, the isDeleted is true.

Parameters:
dataList - MiPlatform Dataset
rowNum - record's row number
isDeleted - when delete record, then true

Anyframe Web

Copyright © 2008-2009 Samsung SDS. All Rights Reserved.