public class ChannelAction extends RhnSetAction
SUBMITTED| Constructor and Description |
|---|
ChannelAction() |
| Modifier and Type | Method and Description |
|---|---|
DataResult<ChannelOverview> |
getDataResult(User user,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request) |
protected RhnSetDecl |
getSetDecl()
The declaration of the set we are working with, must be one of the
constants from
RhnSetDecl |
protected void |
processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
This method is used to add additional buttons to a list display.
|
protected void |
processParamMap(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> params)
Add eid to our parameter map
|
org.apache.struts.action.ActionForward |
publish(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Publishes an unpublished errata (with id = eid) and adds the errata to the
channels selected on the confirmation page.
|
org.apache.struts.action.ActionForward |
updateChannels(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Updates the channels associated with this errata
|
getKeyMethodMap, getSetName, selectall, unselectall, unspecified, updatelist, updateSetcreateSuccessMessage, filter, getForwardName, makeParamMapgetMethodName, 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, setServletpublic org.apache.struts.action.ActionForward publish(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - ActionMapping for this actionformIn - The formrequest - The requestresponse - The responsepublic org.apache.struts.action.ActionForward updateChannels(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - ActionMapping for this actionformIn - The formrequest - The requestresponse - The responsepublic DataResult<ChannelOverview> getDataResult(User user, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request)
getDataResult in class RhnSetActionprotected void processMethodKeys(java.util.Map<java.lang.String,java.lang.String> map)
map.put("failed.jsp.rescheduleActions", "rescheduleAll");
If there are no additional actions then simply return.
Add publish method to our map of dispatch methodsprocessMethodKeys in class RhnListDispatchActionmap - Mapping between method and button names.protected void processParamMap(org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> params)
processParamMap in class RhnListDispatchActionprotected RhnSetDecl getSetDecl()
RhnSetActionRhnSetDeclgetSetDecl in class RhnSetAction