lumis.portal.servicecontainer
Class RequestPreferences

Package class diagram package RequestPreferences
java.lang.Object
  extended by lumis.portal.servicecontainer.RequestPreferences
All Implemented Interfaces:
PortletPreferences, IPreferences

public class RequestPreferences
extends Object
implements IPreferences

The preferences object returned by the ServiceContainerRequest.

Since:
4.0.7

Field Summary
 
Fields inherited from interface lumis.portal.preferences.IPreferences
TYPE_SERVICE_INTERFACE_INSTANCE
 
Constructor Summary
RequestPreferences(ServiceContainerRequest request, IPreferences preferences)
           
 
Method Summary
 Map getMap()
           
 Enumeration getNames()
           
 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

RequestPreferences

public RequestPreferences(ServiceContainerRequest request,
                          IPreferences preferences)
Method Detail

getMap

public Map getMap()
Specified by:
getMap in interface PortletPreferences

getNames

public Enumeration getNames()
Specified by:
getNames in interface PortletPreferences

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,
                  ValidatorException
Specified by:
store in interface PortletPreferences
Throws:
IOException
ValidatorException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.