public abstract class VelocityPortletStateAction extends VelocityPortletPaneledAction
VelocityPortletStateAction is an extension of VelocityPortletAction which provides a way to associate Controller state with each instances of the portlet using this action.
ATTR_CONFIG, ATTR_CONTEXT, ATTR_FRAME_FOCUS, ATTR_FRAME_REFRESH, ATTR_PORTLET, ATTR_RUNDATA, ATTR_TOP_REFRESH, BUTTON, CONTEXT_SITE_COLLECTION_ID, CONTEXT_SITE_COLLECTION_URL, HELPER_LINK_MODE, HELPER_MODE_DONE, LAYOUT_MAIN, MODE_OPTIONS, SAKAI_CSRF_TOKEN, STATE_ACTION, STATE_FLOAT, STATE_HELPER, STATE_MESSAGE, STATE_MODE, STATE_NEW_PANEL, STATE_NOTIF, STATE_OBSERVER, STATE_OBSERVER2, STATE_PRESENCE_OBSERVER, STATE_TOOLALERT_ATTR, ALERT_STATE_INITED, HELPER_ID, MAIN_PANEL, MENU_ATTR, PARAM_ACTION, PARAM_ACTION_COMBO, TITLE_PANEL, TOOL_MODE_ATTR, TOOL_MODE_DEFAULTm_validatorATTR_PARAMS| Constructor and Description |
|---|
VelocityPortletStateAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ControllerState |
getState(Context context,
RunData rundata,
Class stateClass)
Get the proper state for this instance (if portlet is not known, only context).
|
protected ControllerState |
getState(String peid,
RunData rundata,
Class stateClass)
Get the proper state for this instance (if portlet id is known).
|
protected ControllerState |
getState(VelocityPortlet portlet,
RunData rundata,
Class stateClass)
Get the proper state for this instance (if portlet is known).
|
protected void |
releaseState(Context context,
RunData rundata)
Release the proper state for this instance (if portlet is not known, only context).
|
protected void |
releaseState(String peid,
RunData rundata)
Release the proper state for this instance (if portlet id is known).
|
protected void |
releaseState(VelocityPortlet portlet,
RunData rundata)
Release the proper state for this instance (if portlet is known).
|
actionDispatch, addAlert, addAlert, addFlashNotif, addOptionsMenu, allowedToOptions, cancelOptions, checkCSRFToken, checkRunData, clientWindowId, disableObservers, doGet, doOptions, doReset, enableObservers, getContext, getDateFormatString, getTimeFormatString, helperActionDispatch, initState, initState, justDelivered, mainPanelUpdateId, panelMethodName, processAction, resetTool, saveOptions, scheduleFocusRefresh, schedulePeerFrameRefresh, scheduleTopRefresh, setVmCourier, setVmStdRef, switchPanel, titlePanelUpdateId, toolModeDispatch, updateStatedoPost, getAlert, getAlert, getMenu, getPid, getState, getToolMode, prepState, sendToHelper, setToolMode, startHelper, startHelpergetActionURL, getVmReference, includeVm, setVmReferencesendParentRedirect, service, setNoCacheHeadersdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, serviceprotected ControllerState getState(Context context, RunData rundata, Class stateClass)
context - The Template Context (it contains a reference to the portlet).rundata - The Jetspeed (Turbine) rundata associated with the request.stateClass - The Class of the ControllerState to find / create.protected ControllerState getState(VelocityPortlet portlet, RunData rundata, Class stateClass)
portlet - The portlet being rendered.rundata - The Jetspeed (Turbine) rundata associated with the request.stateClass - The Class of the ControllerState to find / create.protected ControllerState getState(String peid, RunData rundata, Class stateClass)
peid - The portlet id.rundata - The Jetspeed (Turbine) rundata associated with the request.stateClass - The Class of the ControllerState to find / create.protected void releaseState(Context context, RunData rundata)
context - The Template Context (it contains a reference to the portlet).rundata - The Jetspeed (Turbine) rundata associated with the request.protected void releaseState(VelocityPortlet portlet, RunData rundata)
portlet - The portlet being rendered.rundata - The Jetspeed (Turbine) rundata associated with the request.Copyright © 2003–2021 Sakai Project. All rights reserved.