public class Copy2ChannelsAction extends BaseCopyToAction
Constructor and Description |
---|
Copy2ChannelsAction() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getData(javax.servlet.http.HttpServletRequest req)
Return the list of global config-channels, other than the current one, that
we could copy files into
What data set are we showing?
|
ConfigChannel |
getDestinationFromId(java.lang.Long destId)
In this context, the destination-id isA config-channel-id
Where are we copying to?
Based on an Id, return a channel - what the "id" means is determined by the subclass,
which knows what getData().get(n).getId() means...
|
java.lang.String |
getJspLabel()
JSP knows channels
What does the JSP expect the list-set to be called?
|
RhnSetDecl |
getSetDecl()
The set we use to handle selection is CONFIG_CHANNELS
What set should we be using?
|
java.lang.String |
getSuccessKey(int numFiles,
int numChannels)
When we tell the user things worked, what's the bean-key?
|
doCopy, doDisplay, execute, getFileSetDecl, setupRequest
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet
public java.util.List getData(javax.servlet.http.HttpServletRequest req)
getData
in class BaseCopyToAction
req
- incoming HttpServletRequestpublic ConfigChannel getDestinationFromId(java.lang.Long destId)
getDestinationFromId
in class BaseCopyToAction
destId
- ID of destination-entitypublic java.lang.String getJspLabel()
getJspLabel
in class BaseCopyToAction
public RhnSetDecl getSetDecl()
getSetDecl
in class BaseCopyToAction
public java.lang.String getSuccessKey(int numFiles, int numChannels)
getSuccessKey
in class BaseCopyToAction
numFiles
- TODOnumChannels
- TODO