com.esri.gpt.control.identity
Class HasAttributeMap
java.lang.Object
com.esri.gpt.framework.jsf.FacesMap<Boolean>
com.esri.gpt.control.identity.HasAttributeMap
- All Implemented Interfaces:
- Serializable, Map<String,Boolean>
public class HasAttributeMap
- extends FacesMap<Boolean>
Provides a Map interface to determine if a user attribute should be
rendered.
Only configured attributes will be rendered.
rendered="#{SelfCareController.hasUserAttribute['firstName']}"
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Method Summary |
Boolean |
get(Object key)
Implements the "get" method for a Map to determine if a user attribute
is available. |
Methods inherited from class com.esri.gpt.framework.jsf.FacesMap |
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasAttributeMap
public HasAttributeMap(UserAttributeMap map)
- Constructs based upon a supplied user attribute map.
- Parameters:
map
- the user attribute map
get
public Boolean get(Object key)
- Implements the "get" method for a Map to determine if a user attribute
is available.
The supplied key should be a string.
- Specified by:
get
in interface Map<String,Boolean>
- Overrides:
get
in class FacesMap<Boolean>
- Parameters:
key
- the key for the user attribute to check
- Returns:
- Boolean.TRUE if the attribute has been configured
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.