com.ibm.portal.portletmodel
Interface PortletEntity
- All Superinterfaces:
- Identifiable, MetaDataProvider, PortletPreferencesProvider
- All Known Subinterfaces:
- ModifiablePortletEntity
public interface PortletEntity
- extends Identifiable, PortletPreferencesProvider
Interface that represents user settings for a portlet. A portlet entity
provides preferences for portlets when they are accessed through a portlet
window that is associated with this portlet entity.
Portlet entities may be created or removed within the current user request,
e.g. if personalized configuration is stored for the first time. Therefore the
portlet entity for a given portlet window may change over time, and you should
not use the ObjectID of a portlet entity as a key for storing
data.
Note for IBM Portlets: the PortletPreferencesProvider.getPortletPreferencesLayer()
method returns the portlet data for IBM portlets. In the returned PortletPreferences
object, any values that are not of type String will be returned as null
.
- Since:
- 6.0.1
- See Also:
- PortletWindow