public interface AttributeRule
DeclaredRulePersonAttributeDao.| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> userInfo)
Indicates whether the rule applies to the user described by the specified
information.
|
java.util.Set<IPersonAttributes> |
evaluate(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> userInfo)
Applies the embodied rule to the user described by the specified
information and returns the result.
|
java.util.Set<java.lang.String> |
getAvailableQueryAttributes() |
java.util.Set<java.lang.String> |
getPossibleUserAttributeNames()
Indicates the complete set of user attribute names that may be
returned by a call to
evaluate. |
boolean appliesTo(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> userInfo)
AttributeRule must
not change the input Map. Implementations dictate
the expected types for the Keys and Values of the Map.userInfo - immutable Map of attributes to values for the implementation to determine if this rule applies, must not be null.java.lang.IllegalArgumentException - If userInfo is null.java.util.Set<IPersonAttributes> evaluate(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> userInfo)
IPersonAttributeDao.getPeopleWithMultivaluedAttributes(Map)userInfo - User infoIPersonAttributesjava.util.Set<java.lang.String> getPossibleUserAttributeNames()
evaluate.
This method follows the same contract as IPersonAttributeDao.getPossibleUserAttributeNames()java.util.Set<java.lang.String> getAvailableQueryAttributes()
IPersonAttributeDao.getAvailableQueryAttributes()Copyright © 2005-2018. All Rights Reserved.