public class RankChannelsAction extends BaseRankChannels
POSSIBLE_CHANNELS, RANKED_VALUES, SELECTED_CHANNELSUBMITTED| Constructor and Description |
|---|
RankChannelsAction() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map |
getKeyMethodMap() |
protected void |
populateWidgetLabels(java.util.LinkedHashSet labelValues,
RequestContext context)
Extension point for each of the subclasses to add content
LabelValues before more content is added to it using rhn sets
to the RankWidget check box..
|
protected void |
processParams(RequestContext context,
java.util.Map map)
Extension points for each of the BaseRankChannel sub classses
to add params to forwarding page..
|
protected void |
setup(RequestContext context,
org.apache.struts.action.DynaActionForm form,
RhnSet set)
Extension point for doing additional setup stuff
before the jsp is loaded...
|
protected org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
update(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Updates the set and then applies changes to the server
|
getChannelIds, getRhnSet, handleNoScript, setupWidgetgetMethodName, getStrutsDelegate, isSubmitted, l10n, lvexecute, getLookupMapNamecancelled, dispatchMethod, getMethod, getParameteraddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected java.util.Map getKeyMethodMap()
getKeyMethodMap in class org.apache.struts.actions.LookupDispatchActionprotected org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
unspecified in class org.apache.struts.actions.DispatchActionpublic org.apache.struts.action.ActionForward update(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - struts ActionMappingformIn - struts ActionFormrequest - HttpServletRequestresponse - HttpServletResponseprotected void setup(RequestContext context, org.apache.struts.action.DynaActionForm form, RhnSet set)
BaseRankChannelssetup in class BaseRankChannelscontext - the request context of the current request.form - the action form for setting up form contents on the new pageset - the set storing the rank contentsprotected void populateWidgetLabels(java.util.LinkedHashSet labelValues,
RequestContext context)
populateWidgetLabels in class BaseRankChannelslabelValues - a LinkedHashSet/List in some sense that
holds a bunch of lv(Channel labels, Channel ids).
This is a Linked Hash Set becasue we needed to
throw away duplicate insertions while maintaining
the correct order of insertion.context - the request context of the current requestprotected void processParams(RequestContext context, java.util.Map map)
BaseRankChannelsprocessParams in class BaseRankChannelscontext - the request context of the current request.map - the params to be updated