com.ibm.portal.portlet
Interface ModifiablePortletPreferencesProvider

All Superinterfaces:
MetaDataProvider, ModifiableMetaDataProvider
All Known Subinterfaces:
ModifiablePortletDefinition, ModifiablePortletEntity

public interface ModifiablePortletPreferencesProvider
extends ModifiableMetaDataProvider

Interface representing a modifiable portlet preferences provider.

Since:
6.1.0

Method Summary
 ModifiableMetaData getModifiableMetaData()
          Returns the same modifiable preferences as #getPortletPreferencesLayer()
 ModifiablePortletPreferences getModifiablePortletPreferencesLayer()
          Returns the modifiable preferences layer that corresponds to the resource implementing the ModifiablePortletPreferencesProvider
 
Methods inherited from interface com.ibm.portal.MetaDataProvider
getMetaData
 

Method Detail

getModifiableMetaData

ModifiableMetaData getModifiableMetaData()
                                         throws CannotInstantiateModifiableNodeException
Returns the same modifiable preferences as #getPortletPreferencesLayer()

Specified by:
getModifiableMetaData in interface ModifiableMetaDataProvider
Returns:
an Implementation of ModifiableMetaData that also implements ModifiablePortletPreferences, never null
Throws:
CannotInstantiateModifiableNodeException - in case a modifiable meta data cannot be instantiated

getModifiablePortletPreferencesLayer

ModifiablePortletPreferences getModifiablePortletPreferencesLayer()
                                                                  throws CannotInstantiateModifiableNodeException
Returns the modifiable preferences layer that corresponds to the resource implementing the ModifiablePortletPreferencesProvider

Returns:
a modifiable portlet preferences layer, never null
Throws:
CannotInstantiateModifiableNodeException - in case modifiable portlet preferences layer cannot be instantiated