Esri Geoportal Server
1.0

com.esri.gpt.control.identity
Class HasAttributeMap

java.lang.Object
  extended by com.esri.gpt.framework.jsf.FacesMap<Boolean>
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
HasAttributeMap(UserAttributeMap map)
          Constructs based upon a supplied user attribute map.
 
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
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

HasAttributeMap

public HasAttributeMap(UserAttributeMap map)
Constructs based upon a supplied user attribute map.

Parameters:
map - the user attribute map
Method Detail

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

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.