public class ChannelOverviewAction extends RhnAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHANNEL_EDITING
Are we editing?
|
static java.lang.String |
CHANNEL_SUMMARY
Current ChannelSummary, in request/responce
|
| Constructor and Description |
|---|
ChannelOverviewAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected ConfigChannel |
findChannel(org.apache.struts.action.DynaActionForm form,
javax.servlet.http.HttpServletRequest request,
ConfigChannelCreationHelper helper)
Find the channel specified in the request (if any).
|
protected ChannelSummary |
getSummary(User u,
ConfigChannel cc)
Grab the summary info for the specified channel
|
protected void |
setupForm(javax.servlet.http.HttpServletRequest request,
ConfigChannel cc,
org.apache.struts.action.DynaActionForm form,
java.util.Map params)
Given the incoming request, set up the ChanelOverview form with channel info
|
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessagesaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServletpublic static final java.lang.String CHANNEL_SUMMARY
public static final java.lang.String CHANNEL_EDITING
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
execute in class org.apache.struts.action.Actionprotected void setupForm(javax.servlet.http.HttpServletRequest request,
ConfigChannel cc,
org.apache.struts.action.DynaActionForm form,
java.util.Map params)
request - the incoming requestcc - the channel to be affectedform - the form to be filled inparams - the params to useprotected ChannelSummary getSummary(User u, ConfigChannel cc)
u - The user-contextcc - The channel of interestprotected ConfigChannel findChannel(org.apache.struts.action.DynaActionForm form, javax.servlet.http.HttpServletRequest request, ConfigChannelCreationHelper helper)
form - incoming channelOverviewFormrequest - incoming requesthelper - the ConfigChannelCreationHelper