Interface PortletWindowPreferenceRegistryContext
-
- All Known Implementing Classes:
PortletWindowPreferenceRegistryContextImpl
public interface PortletWindowPreferenceRegistryContext
PortletWindowPreferenceRegistryContext provides information pertaining to the portlet window preference registry. This includes information about portlet preferences.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
getPreferences(String portletWindowName, String userName)
Map<String,Object>
getPreferencesReadOnly(String portletWindowName, String userName)
void
removePreferences(String portletName)
void
removeWindowPreference(String portletWindowName)
void
savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap)
void
savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap, boolean readOnly)
-
-
-
Method Detail
-
getPreferences
Map<String,Object> getPreferences(String portletWindowName, String userName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
getPreferencesReadOnly
Map<String,Object> getPreferencesReadOnly(String portletWindowName, String userName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
savePreferences
void savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap) throws PortletRegistryException
- Throws:
PortletRegistryException
-
savePreferences
void savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap, boolean readOnly) throws PortletRegistryException
- Throws:
PortletRegistryException
-
removeWindowPreference
void removeWindowPreference(String portletWindowName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
removePreferences
void removePreferences(String portletName) throws PortletRegistryException
- Throws:
PortletRegistryException
-
-