public class ChannelListUnsubscribeSubmitAction extends BaseSetOperateOnSelectedItemsAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNSUBSCRIBE_ACTION |
SUBMITTED| Constructor and Description |
|---|
ChannelListUnsubscribeSubmitAction() |
| Modifier and Type | Method and Description |
|---|---|
protected DataResult |
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 form,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> params) |
org.apache.struts.action.ActionForward |
processUnsubscribeAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.Boolean |
unsubscribe(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
RhnSetElement elementIn,
User userIn)
This method is called when the "Unsubscribe"
button is clicked in the Channels List page.
|
addToMessage, addToMessage, getEmptySelectionMessage, getNoScriptMessage, handleEmptySelection, handleNoScript, operateOnElement, operateOnSelectedSet, operateOnSelectedSet, processMessagegetKeyMethodMap, 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 static final java.lang.String UNSUBSCRIBE_ACTION
protected DataResult getDataResult(User user, org.apache.struts.action.ActionForm formIn, javax.servlet.http.HttpServletRequest request)
getDataResult in class RhnSetActionprotected RhnSetDecl getSetDecl()
RhnSetDeclgetSetDecl 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.processMethodKeys in class RhnListDispatchActionmap - Mapping between method and button names.protected void processParamMap(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> params)
processParamMap in class RhnListDispatchActionpublic org.apache.struts.action.ActionForward processUnsubscribeAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm formIn,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mapping - ActionMappingformIn - ActionFormrequest - ServletRequestresponse - ServletResponsepublic java.lang.Boolean unsubscribe(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest req,
RhnSetElement elementIn,
User userIn)
form - Action form object.req - The servlet request objectelementIn - The checked element in the setuserIn - logged in user