com.liferay.portal.kernel.upgrade
Class MockPortletPreferences
java.lang.Object
com.liferay.portal.kernel.upgrade.MockPortletPreferences
- All Implemented Interfaces:
- PortletPreferences
public class MockPortletPreferences
- extends Object
- implements PortletPreferences
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockPortletPreferences
public MockPortletPreferences()
getMap
public Map<String,String[]> getMap()
- Specified by:
getMap in interface PortletPreferences
getNames
public Enumeration<String> getNames()
- Specified by:
getNames in interface PortletPreferences
getValue
public String getValue(String key,
String defaultValue)
- Specified by:
getValue in interface PortletPreferences
getValues
public String[] getValues(String key,
String[] defaultValues)
- Specified by:
getValues in interface PortletPreferences
isReadOnly
public boolean isReadOnly(String key)
- Specified by:
isReadOnly in interface PortletPreferences
reset
public void reset(String key)
- Specified by:
reset in interface PortletPreferences
setValue
public void setValue(String key,
String value)
- Specified by:
setValue in interface PortletPreferences
setValues
public void setValues(String key,
String[] values)
- Specified by:
setValues in interface PortletPreferences
store
public void store()
- Specified by:
store in interface PortletPreferences