public class AttributeValidationHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.kuali.rice.kim.impl.common.attribute.KimAttributeBo> |
attributeDefinitionMap |
protected BusinessObjectService |
businessObjectService |
Constructor and Description |
---|
AttributeValidationHelper() |
Modifier and Type | Method and Description |
---|---|
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) |
protected BusinessObjectService businessObjectService
protected Map<String,org.kuali.rice.kim.impl.common.attribute.KimAttributeBo> attributeDefinitionMap
public AttributeValidationHelper()
protected org.kuali.rice.kim.impl.common.attribute.KimAttributeBo getAttributeDefinition(String id)
public Map<String,String> convertAttributesToMap(List<? extends KimAttributeDataBo> attributes)
public Map<String,String> convertQualifiersToMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)
public Map<String,String> getBlankValueQualifiersMap(List<KimTypeAttribute> attributes)
public Map<String,String> convertQualifiersToAttrIdxMap(List<? extends KimDocumentAttributeDataBusinessObjectBase> qualifiers)
public BusinessObjectService getBusinessObjectService()
public void moveValidationErrorsToErrorMap(List<RemotableAttributeError> validationErrors)
public List<RemotableAttributeError> convertErrorsForMappedFields(String errorPath, List<RemotableAttributeError> localErrors)
public List<RemotableAttributeError> convertErrors(String errorPath, Map<String,String> attrIdxMap, List<RemotableAttributeError> localErrors)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.