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[]
boolean
isReadOnly
(String key) void
void
setPreferencesValidator
(PreferencesValidator preferencesValidator) void
setReadOnly
(String key, boolean readOnly) void
void
void
store()
-
Constructor Details
-
MockPortletPreferences
public MockPortletPreferences()
-
-
Method Details
-
getMap
- Specified by:
getMap
in interfacePortletPreferences
-
getNames
- Specified by:
getNames
in interfacePortletPreferences
-
getValue
- Specified by:
getValue
in interfacePortletPreferences
-
getValues
- Specified by:
getValues
in interfacePortletPreferences
-
isReadOnly
- Specified by:
isReadOnly
in interfacePortletPreferences
-
reset
- Specified by:
reset
in interfacePortletPreferences
- Throws:
ReadOnlyException
-
setPreferencesValidator
-
setReadOnly
-
setValue
- Specified by:
setValue
in interfacePortletPreferences
- Throws:
ReadOnlyException
-
setValues
- Specified by:
setValues
in interfacePortletPreferences
- Throws:
ReadOnlyException
-
store
- Specified by:
store
in interfacePortletPreferences
- Throws:
IOException
ValidatorException
-