public class RankChannels extends BaseRankChannels
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PRIORITY |
POSSIBLE_CHANNELS, RANKED_VALUES, SELECTED_CHANNEL
SUBMITTED
Constructor and Description |
---|
RankChannels() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
apply(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 moves the user to the confirm page.
|
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) |
getChannelIds, getRhnSet, handleNoScript, setupWidget
getMethodName, getStrutsDelegate, isSubmitted, l10n, lv
execute, getLookupMapName
cancelled, dispatchMethod, getMethod, getParameter
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public static final java.lang.String PRIORITY
protected java.util.Map getKeyMethodMap()
getKeyMethodMap
in class org.apache.struts.actions.LookupDispatchAction
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)
unspecified
in class org.apache.struts.actions.DispatchAction
public org.apache.struts.action.ActionForward apply(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)
BaseRankChannels
setup
in class BaseRankChannels
context
- 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 BaseRankChannels
labelValues
- 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)
BaseRankChannels
processParams
in class BaseRankChannels
context
- the request context of the current request.map
- the params to be updated