public class Copy2SystemsAction extends BaseCopyToAction
Constructor and Description |
---|
Copy2SystemsAction() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getData(javax.servlet.http.HttpServletRequest req)
Return the list of systems whose local-channels this user can copy files to
What data set are we showing?
|
ConfigChannel |
getDestinationFromId(java.lang.Long destId)
For this class, the destination-id is a server-id, and the resulting
config-channel is the local channel for that system
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 is showing systems
What does the JSP expect the list-set to be called?
|
RhnSetDecl |
getSetDecl()
The RhnSet we use to handle selection is the CONFIG_SYSTEMS set
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