Liferay 6.1.2-ce-ga3

com.liferay.portlet
Class PortalPreferencesWrapper

java.lang.Object
  extended by com.liferay.portlet.PortalPreferencesWrapper
All Implemented Interfaces:
PortletPreferences

public class PortalPreferencesWrapper
extends Object
implements PortletPreferences


Constructor Summary
PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl)
           
 
Method Summary
 Map<String,String[]> getMap()
           
 Enumeration<String> getNames()
           
 PortalPreferencesImpl getPortalPreferencesImpl()
           
 String getValue(String key, String def)
           
 String[] getValues(String key, String[] def)
           
 boolean isReadOnly(String key)
           
 void reset(String key)
           
 void setValue(String key, String value)
           
 void setValues(String key, String[] values)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalPreferencesWrapper

public PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl)
Method Detail

getMap

public Map<String,String[]> getMap()
Specified by:
getMap in interface PortletPreferences

getNames

public Enumeration<String> getNames()
Specified by:
getNames in interface PortletPreferences

getPortalPreferencesImpl

public PortalPreferencesImpl getPortalPreferencesImpl()

getValue

public String getValue(String key,
                       String def)
Specified by:
getValue in interface PortletPreferences

getValues

public String[] getValues(String key,
                          String[] def)
Specified by:
getValues in interface PortletPreferences

isReadOnly

public boolean isReadOnly(String key)
Specified by:
isReadOnly in interface PortletPreferences

reset

public void reset(String key)
           throws ReadOnlyException
Specified by:
reset in interface PortletPreferences
Throws:
ReadOnlyException

setValue

public void setValue(String key,
                     String value)
              throws ReadOnlyException
Specified by:
setValue in interface PortletPreferences
Throws:
ReadOnlyException

setValues

public void setValues(String key,
                      String[] values)
               throws ReadOnlyException
Specified by:
setValues in interface PortletPreferences
Throws:
ReadOnlyException

store

public void store()
           throws IOException
Specified by:
store in interface PortletPreferences
Throws:
IOException

Liferay 6.1.2-ce-ga3