public class AttributeValidationHelper extends Object
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 KimAttribute |
getAttributeDefinitionById(String id) |
protected KimAttribute |
getAttributeDefinitionByName(String attributeName) |
Map<String,String> |
getBlankValueQualifiersMap(List<KimTypeAttribute> attributes) |
void |
moveValidationErrorsToErrorMap(List<RemotableAttributeError> validationErrors) |
public AttributeValidationHelper()
protected KimAttribute getAttributeDefinitionById(String id)
protected KimAttribute getAttributeDefinitionByName(String attributeName)
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 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–2014 The Kuali Foundation. All rights reserved.