org.edorasframework.portletfaces.bean.model
Class PortletPreferenceMap

java.lang.Object
  extended by org.edorasframework.portletfaces.bean.model.PortletPreferenceMap
All Implemented Interfaces:
Map<String,Object>

public class PortletPreferenceMap
extends Object
implements Map<String,Object>

This is a JSF model managed-bean that implements the Map interface so that portlet preferences can be retreived/set via EL.

Author:
"Neil Griffin", mimacom ag

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
PortletPreferenceMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object preferenceName)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object preferenceName)
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 Object put(String preferenceName, Object value)
           
 void putAll(Map<? extends String,? extends Object> map)
           
 Object remove(Object preferenceName)
           
 void resetAll()
           
 int size()
           
 void store()
           
 Collection<Object> 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

PortletPreferenceMap

public PortletPreferenceMap()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Object>

containsKey

public boolean containsKey(Object preferenceName)
Specified by:
containsKey in interface Map<String,Object>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Object>

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>

get

public Object get(Object preferenceName)
Specified by:
get in interface Map<String,Object>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>

put

public Object put(String preferenceName,
                  Object value)
Specified by:
put in interface Map<String,Object>

putAll

public void putAll(Map<? extends String,? extends Object> map)
Specified by:
putAll in interface Map<String,Object>

remove

public Object remove(Object preferenceName)
Specified by:
remove in interface Map<String,Object>

resetAll

public void resetAll()

size

public int size()
Specified by:
size in interface Map<String,Object>

store

public void store()
           throws javax.portlet.ValidatorException,
                  IOException
Throws:
javax.portlet.ValidatorException
IOException

values

public Collection<Object> values()
Specified by:
values in interface Map<String,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>


Copyright 2009, http://www.edorasframework.org