com.liferay.faces.bridge.preference
Class PreferenceImpl

java.lang.Object
  extended by com.liferay.faces.bridge.preference.PreferenceImpl
All Implemented Interfaces:
Preference

public class PreferenceImpl
extends Object
implements Preference

Author:
Neil Griffin

Constructor Summary
PreferenceImpl(javax.portlet.PortletPreferences portletPreferences, String name)
           
 
Method Summary
 String getName()
           
 String getValue()
           
 List<String> getValues()
           
 boolean isReadOnly()
           
 void reset()
           
 void setName(String name)
           
 void setValue(String value)
           
 void setValues(String[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceImpl

public PreferenceImpl(javax.portlet.PortletPreferences portletPreferences,
                      String name)
Method Detail

reset

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

getName

public String getName()
Specified by:
getName in interface Preference

setName

public void setName(String name)
Specified by:
setName in interface Preference

getValue

public String getValue()
Specified by:
getValue in interface Preference

setValue

public void setValue(String value)
              throws javax.portlet.ReadOnlyException
Specified by:
setValue in interface Preference
Throws:
javax.portlet.ReadOnlyException

getValues

public List<String> getValues()
Specified by:
getValues in interface Preference

setValues

public void setValues(String[] values)
               throws javax.portlet.ReadOnlyException
Specified by:
setValues in interface Preference
Throws:
javax.portlet.ReadOnlyException

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface Preference


Copyright © 2014 Liferay, Inc.. All Rights Reserved.