public class RhnSetHelper
extends java.lang.Object
| Constructor and Description |
|---|
RhnSetHelper(org.apache.struts.action.ActionMapping mappingIn,
RhnSetDecl setIn,
javax.servlet.http.HttpServletRequest requestIn)
Constructor
|
RhnSetHelper(RhnSetDecl setIn)
Use this constructor if u just
need to deal with the set.
|
RhnSetHelper(RhnSetDecl setIn,
javax.servlet.http.HttpServletRequest requestIn)
Constructor for just a request
|
| Modifier and Type | Method and Description |
|---|---|
User |
getUser()
Get the currentUser
|
org.apache.struts.action.ActionForward |
selectall(DataResult dr,
java.util.Map paramsIn)
Puts all systems visible to the user into the set.
|
void |
selectAllData(java.util.List result,
User user)
Puts all selectable data in a given data result into an rhn set.
|
void |
setForward(java.lang.String forwardIn) |
org.apache.struts.action.ActionForward |
unselectall(java.util.Map paramsIn)
Clears set for the user.
|
org.apache.struts.action.ActionForward |
updatelist(java.util.Map paramsIn)
Updates RhnSet with checked set elements
|
RhnSet |
updateSet()
Updates the set with the items on the current page
|
public RhnSetHelper(org.apache.struts.action.ActionMapping mappingIn,
RhnSetDecl setIn,
javax.servlet.http.HttpServletRequest requestIn)
mappingIn - associated with the helpersetIn - we are operating onrequestIn - to associatepublic RhnSetHelper(RhnSetDecl setIn, javax.servlet.http.HttpServletRequest requestIn)
setIn - RhnSetDecl to associate with the helperrequestIn - to associate with helperpublic RhnSetHelper(RhnSetDecl setIn)
setIn - the set we are operating onpublic org.apache.struts.action.ActionForward updatelist(java.util.Map paramsIn)
paramsIn - Map of request parameters you want to forward
along with the ActionForwardpublic RhnSet updateSet()
public org.apache.struts.action.ActionForward selectall(DataResult dr, java.util.Map paramsIn)
dr - DataResult to use to select everything with.paramsIn - Map of request parameters you want to forward
along with the ActionForwardpublic void selectAllData(java.util.List result,
User user)
result - DataResult to use to select everything with.user - the user needed to access the set.public org.apache.struts.action.ActionForward unselectall(java.util.Map paramsIn)
paramsIn - Map of request parameters you want to forward
along with the ActionForwardpublic User getUser()
public void setForward(java.lang.String forwardIn)
forwardIn - The forward to set.