edu.wisc.my.webproxy.beans
Class PortletPreferencesWrapper

java.lang.Object
  extended by edu.wisc.my.webproxy.beans.PortletPreferencesWrapper
All Implemented Interfaces:
javax.portlet.PortletPreferences

public class PortletPreferencesWrapper
extends Object
implements javax.portlet.PortletPreferences

Author:
dgrimwood

Constructor Summary
PortletPreferencesWrapper(javax.portlet.PortletPreferences pp, Map userInfo)
           
 
Method Summary
 Map getMap()
           
 Enumeration getNames()
           
 String getValue(String attribute, String def)
           
 String[] getValues(String attribute, String[] def)
           
 boolean isReadOnly(String arg0)
           
 void reset(String arg0)
           
 void setValue(String arg0, String arg1)
           
 void setValues(String arg0, String[] arg1)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesWrapper

public PortletPreferencesWrapper(javax.portlet.PortletPreferences pp,
                                 Map userInfo)
Method Detail

isReadOnly

public boolean isReadOnly(String arg0)
Specified by:
isReadOnly in interface javax.portlet.PortletPreferences
Parameters:
userInfo -
Throws:
javax.portlet.ReadOnlyException

getValue

public String getValue(String attribute,
                       String def)
Specified by:
getValue in interface javax.portlet.PortletPreferences

getValues

public String[] getValues(String attribute,
                          String[] def)
Specified by:
getValues in interface javax.portlet.PortletPreferences

setValue

public void setValue(String arg0,
                     String arg1)
              throws javax.portlet.ReadOnlyException
Specified by:
setValue in interface javax.portlet.PortletPreferences
Throws:
javax.portlet.ReadOnlyException

setValues

public void setValues(String arg0,
                      String[] arg1)
               throws javax.portlet.ReadOnlyException
Specified by:
setValues in interface javax.portlet.PortletPreferences
Throws:
javax.portlet.ReadOnlyException

getNames

public Enumeration getNames()
Specified by:
getNames in interface javax.portlet.PortletPreferences

getMap

public Map getMap()
Specified by:
getMap in interface javax.portlet.PortletPreferences

reset

public void reset(String arg0)
           throws javax.portlet.ReadOnlyException
Specified by:
reset in interface javax.portlet.PortletPreferences
Throws:
javax.portlet.ReadOnlyException

store

public void store()
           throws IOException,
                  javax.portlet.ValidatorException
Specified by:
store in interface javax.portlet.PortletPreferences
Throws:
IOException
javax.portlet.ValidatorException


Copyright © 2010 Jasig. All Rights Reserved.