Class PortletWindowPreferenceRegistryContextImpl
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.registry.PortletWindowPreferenceRegistryContextImpl
-
- All Implemented Interfaces:
PortletWindowPreferenceRegistryContext
public class PortletWindowPreferenceRegistryContextImpl extends Object implements PortletWindowPreferenceRegistryContext
PortletWindowPreferenceRegistryContextImpl is a concrete implementation of the PortletWindowPreferenceRegistryContext interface.
-
-
Constructor Summary
Constructors Constructor Description PortletWindowPreferenceRegistryContextImpl()
PortletWindowPreferenceRegistryContextImpl(String context)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Constructor Detail
-
PortletWindowPreferenceRegistryContextImpl
public PortletWindowPreferenceRegistryContextImpl() throws PortletRegistryException
- Throws:
PortletRegistryException
-
PortletWindowPreferenceRegistryContextImpl
public PortletWindowPreferenceRegistryContextImpl(String context) throws PortletRegistryException
- Throws:
PortletRegistryException
-
-
Method Detail
-
getPreferencesReadOnly
public Map<String,Object> getPreferencesReadOnly(String portletWindowName, String userName) throws PortletRegistryException
- Specified by:
getPreferencesReadOnly
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
getPreferences
public Map<String,Object> getPreferences(String portletWindowName, String userName) throws PortletRegistryException
- Specified by:
getPreferences
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
savePreferences
public void savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap) throws PortletRegistryException
- Specified by:
savePreferences
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
savePreferences
public void savePreferences(String portletName, String portletWindowName, String userName, Map<String,Object> prefMap, boolean readOnly) throws PortletRegistryException
- Specified by:
savePreferences
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
removeWindowPreference
public void removeWindowPreference(String portletWindowName) throws PortletRegistryException
- Specified by:
removeWindowPreference
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
removePreferences
public void removePreferences(String portletName) throws PortletRegistryException
- Specified by:
removePreferences
in interfacePortletWindowPreferenceRegistryContext
- Throws:
PortletRegistryException
-
-