public class NewsAction
extends org.sakaiproject.cheftool.VelocityPortletPaneledAction
NewsAction is the Sakai RSS news tool.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FEED_ACCESS
Basic feed access event.
|
protected static String |
FEED_UPDATE
Basic feed update event.
|
protected static String |
PARAM_CHANNEL_URL
portlet configuration parameter names.
|
protected static String |
STATE_CHANNEL_URL |
protected static String |
STATE_DETECT_REGISTERED_EVENT |
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, Log, MODE_OPTIONS, SAKAI_CSRF_TOKEN, STATE_ACTION, STATE_FLOAT, STATE_HELPER, STATE_MESSAGE, STATE_MODE, STATE_NEW_PANEL, STATE_OBSERVER, STATE_OBSERVER2, STATE_PRESENCE_OBSERVER, STATE_TOOL| Constructor and Description |
|---|
NewsAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildMainPanelContext(org.sakaiproject.cheftool.VelocityPortlet portlet,
org.sakaiproject.cheftool.Context context,
org.sakaiproject.cheftool.RunData rundata,
org.sakaiproject.event.api.SessionState state)
build the context for the Main (Layout) panel
|
String |
buildOptionsPanelContext(org.sakaiproject.cheftool.VelocityPortlet portlet,
org.sakaiproject.cheftool.Context context,
org.sakaiproject.cheftool.RunData rundata,
org.sakaiproject.event.api.SessionState state)
Setup for the options panel.
|
void |
doCancel(org.sakaiproject.cheftool.RunData data,
org.sakaiproject.cheftool.Context context)
Handle a user clicking the "Done" button in the Options panel
|
void |
doUpdate(org.sakaiproject.cheftool.RunData data,
org.sakaiproject.cheftool.Context context)
Handle a user clicking the "Done" button in the Options panel
|
protected String |
getCurrentSitePageId()
Get the current site page our current tool is placed on.
|
protected void |
initState(org.sakaiproject.event.api.SessionState state,
org.sakaiproject.cheftool.VelocityPortlet portlet,
org.sakaiproject.cheftool.JetspeedRunData rundata)
Populate the state object, if needed.
|
actionDispatch, addAlert, addOptionsMenu, allowedToOptions, cancelOptions, checkCSRFToken, clientWindowId, disableObservers, doGet, doOptions, doReset, enableObservers, getContext, getDateFormatString, getTimeFormatString, helperActionDispatch, 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, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logprotected static final String PARAM_CHANNEL_URL
protected static final String STATE_CHANNEL_URL
protected static final String FEED_ACCESS
protected static final String FEED_UPDATE
protected static final String STATE_DETECT_REGISTERED_EVENT
protected void initState(org.sakaiproject.event.api.SessionState state,
org.sakaiproject.cheftool.VelocityPortlet portlet,
org.sakaiproject.cheftool.JetspeedRunData rundata)
initState in class org.sakaiproject.cheftool.VelocityPortletPaneledActionpublic String buildMainPanelContext(org.sakaiproject.cheftool.VelocityPortlet portlet, org.sakaiproject.cheftool.Context context, org.sakaiproject.cheftool.RunData rundata, org.sakaiproject.event.api.SessionState state)
public String buildOptionsPanelContext(org.sakaiproject.cheftool.VelocityPortlet portlet, org.sakaiproject.cheftool.Context context, org.sakaiproject.cheftool.RunData rundata, org.sakaiproject.event.api.SessionState state)
public void doUpdate(org.sakaiproject.cheftool.RunData data,
org.sakaiproject.cheftool.Context context)
public void doCancel(org.sakaiproject.cheftool.RunData data,
org.sakaiproject.cheftool.Context context)
protected String getCurrentSitePageId()
Copyright © 2003-2014 The Sakai Foundation. All Rights Reserved.