org.kuali.rice.kim.document.rule
Class AttributeValidationHelper

java.lang.Object
  extended by org.kuali.rice.kim.document.rule.AttributeValidationHelper

public class AttributeValidationHelper
extends Object

This is a description of what this class does - wliang don't forget to fill this in.

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

Constructor Summary
AttributeValidationHelper()
           
 
Method Summary
 Map<String,String> convertAttributesToMap(List<? extends KimAttributeDataBo> attributes)
           
 List<RemotableAttributeError> convertErrors(String errorPath, Map<String,String> attrIdxMap, List<RemotableAttributeError> localErrors)
           
 List<RemotableAttributeError> convertErrorsForMappedFields(String errorPath, List<RemotableAttributeError> localErrors)
           
 Map<String,String> convertQualifiersToAttrIdxMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)
           
 Map<String,String> convertQualifiersToMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)
           
protected  KimAttribute getAttributeDefinitionById(String id)
           
protected  KimAttribute getAttributeDefinitionByName(String attributeName)
           
 Map<String,String> getBlankValueQualifiersMap(List<KimTypeAttribute> attributes)
           
 void moveValidationErrorsToErrorMap(List<RemotableAttributeError> validationErrors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValidationHelper

public AttributeValidationHelper()
Method Detail

getAttributeDefinitionById

protected KimAttribute getAttributeDefinitionById(String id)

getAttributeDefinitionByName

protected KimAttribute getAttributeDefinitionByName(String attributeName)

convertAttributesToMap

public Map<String,String> convertAttributesToMap(List<? extends KimAttributeDataBo> attributes)

convertQualifiersToMap

public Map<String,String> convertQualifiersToMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)

getBlankValueQualifiersMap

public Map<String,String> getBlankValueQualifiersMap(List<KimTypeAttribute> attributes)

convertQualifiersToAttrIdxMap

public Map<String,String> convertQualifiersToAttrIdxMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)

moveValidationErrorsToErrorMap

public void moveValidationErrorsToErrorMap(List<RemotableAttributeError> validationErrors)

convertErrorsForMappedFields

public List<RemotableAttributeError> convertErrorsForMappedFields(String errorPath,
                                                                  List<RemotableAttributeError> localErrors)

convertErrors

public List<RemotableAttributeError> convertErrors(String errorPath,
                                                   Map<String,String> attrIdxMap,
                                                   List<RemotableAttributeError> localErrors)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.