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)

Field Summary
protected  Map<String,org.kuali.rice.kim.impl.common.attribute.KimAttributeBo> attributeDefinitionMap
           
protected  BusinessObjectService businessObjectService
           
 
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  org.kuali.rice.kim.impl.common.attribute.KimAttributeBo getAttributeDefinition(String id)
           
 Map<String,String> getBlankValueQualifiersMap(List<KimTypeAttribute> attributes)
           
 BusinessObjectService getBusinessObjectService()
           
 void moveValidationErrorsToErrorMap(List<RemotableAttributeError> validationErrors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessObjectService

protected BusinessObjectService businessObjectService

attributeDefinitionMap

protected Map<String,org.kuali.rice.kim.impl.common.attribute.KimAttributeBo> attributeDefinitionMap
Constructor Detail

AttributeValidationHelper

public AttributeValidationHelper()
Method Detail

getAttributeDefinition

protected org.kuali.rice.kim.impl.common.attribute.KimAttributeBo getAttributeDefinition(String id)

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)

getBusinessObjectService

public BusinessObjectService getBusinessObjectService()

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.