Class MockPortletPreferences
Object
com.liferay.portal.kernel.test.portlet.MockPortletPreferences
- All Implemented Interfaces:
PortletPreferences
- Author:
- Dante Wang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMap()getNames()String[]booleanisReadOnly(String key) voidvoidsetPreferencesValidator(PreferencesValidator preferencesValidator) voidsetReadOnly(String key, boolean readOnly) voidvoidvoidstore()
-
Constructor Details
-
MockPortletPreferences
public MockPortletPreferences()
-
-
Method Details
-
getMap
- Specified by:
getMapin interfacePortletPreferences
-
getNames
- Specified by:
getNamesin interfacePortletPreferences
-
getValue
- Specified by:
getValuein interfacePortletPreferences
-
getValues
- Specified by:
getValuesin interfacePortletPreferences
-
isReadOnly
- Specified by:
isReadOnlyin interfacePortletPreferences
-
reset
- Specified by:
resetin interfacePortletPreferences- Throws:
ReadOnlyException
-
setPreferencesValidator
-
setReadOnly
-
setValue
- Specified by:
setValuein interfacePortletPreferences- Throws:
ReadOnlyException
-
setValues
- Specified by:
setValuesin interfacePortletPreferences- Throws:
ReadOnlyException
-
store
- Specified by:
storein interfacePortletPreferences- Throws:
IOExceptionValidatorException
-