com.ibm.portal.state.accessors.portlet
Interface LegacyPortletAccessor
- All Superinterfaces:
- Accessor, Disposable, Identifiable, PortletAccessor
- All Known Subinterfaces:
- LegacyPortletAccessorController
Deprecated. because the legacy API is deprecated
@Deprecated
public interface LegacyPortletAccessor
- extends PortletAccessor
Interface providing read-only accessor methods for legacy (4.x) portlets.
Extends the functionality provided by the PortletAccessor
which
in turn is also suitable for standard portlets.
The added methods allow for reading the previous portlet mode and window state
of a particular portlet.
- Since:
- 5.1
getPreviousWindowState
javax.portlet.WindowState getPreviousWindowState()
- Deprecated.
- Provides the previous window state. If no window state history has been recorded
the default window state 'normal' will be returned.
- Returns:
- The previous
WindowState
(not null
).
getPreviousPortletMode
javax.portlet.PortletMode getPreviousPortletMode()
- Deprecated.
- Provides the previous portlet mode. If no portlet mode history has been
recorded, the default mode 'view' will be returned.
- Returns:
- The previous
PortletMode
(not null
).