org.jasig.portal.portlets.swapper
Class AttributeSwapRequestValidator
java.lang.Object
org.jasig.portal.portlets.swapper.AttributeSwapRequestValidator
public class AttributeSwapRequestValidator
- extends Object
Validator for PersonQuery
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSwapRequestValidator
public AttributeSwapRequestValidator()
getAttributeSwapperHelper
public IAttributeSwapperHelper getAttributeSwapperHelper()
setAttributeSwapperHelper
public void setAttributeSwapperHelper(IAttributeSwapperHelper attributeSwapperHelper)
IAttributeSwapperHelper to use for getting configuration and query information from for validation.
validateAttributesForm
public void validateAttributesForm(AttributeSwapRequest attributeSwapRequest,
org.springframework.binding.message.MessageContext context)
- Ensures all passed attributes are part of the valid query attribute set.
checkAttributesMap
protected void checkAttributesMap(org.springframework.binding.message.MessageContext context,
String basePath,
Set<String> swappableAttributes,
Map<String,Attribute> attributesToCopy)
- Checks the keys in the Map on the model against a Set to ensure there are no values in the Map that aren't also in the Set
Copyright © 2010 Jasig. All Rights Reserved.