com.ibm.portal.state.accessors.portlet
Interface LegacyPortletAccessorController

All Superinterfaces:
Accessor, Disposable, Identifiable, LegacyPortletAccessor, PortletAccessor, PortletAccessorController

Deprecated. because the legacy API is deprecated

@Deprecated
public interface LegacyPortletAccessorController
extends PortletAccessorController, LegacyPortletAccessor

Interface providing write accessor methods for legacy (4.x) portlets. Extends the functionality provided by the PortletAccessorController which in turn is also suitable for standard portlets.
The added methods allow for removing the previous portlet mode (window state) of a particular portlet from the respective stack.

Since:
5.1

Method Summary
 javax.portlet.PortletMode popPreviousPortletMode()
          Deprecated. Removes the previous portlet mode from the portlet mode stack and returns it.
 javax.portlet.WindowState popPreviousWindowState()
          Deprecated. Removes the previous window state from the window state stack and returns it.
 
Methods inherited from interface com.ibm.portal.state.accessors.portlet.PortletAccessorController
getParameters, setDigest, setPortletMode, setWindowState
 
Methods inherited from interface com.ibm.portal.state.accessors.portlet.LegacyPortletAccessor
getPreviousPortletMode, getPreviousWindowState
 
Methods inherited from interface com.ibm.portal.state.accessors.portlet.PortletAccessor
getDigest, getPortletMode, getPortletMode, getWindowState, getWindowState
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

popPreviousWindowState

javax.portlet.WindowState popPreviousWindowState()
Deprecated. 
Removes the previous window state from the window state stack and returns it.

Returns:
The previous WindowState or null if there is no window state history available.

popPreviousPortletMode

javax.portlet.PortletMode popPreviousPortletMode()
Deprecated. 
Removes the previous portlet mode from the portlet mode stack and returns it.

Returns:
The previous PortletMode or null if there is no portlet mode history available.