|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.rhq.enterprise.gui.legacy.action.resource.group.inventory.AddGroupResourcesFormPrepareAction
public class AddGroupResourcesFormPrepareAction
An Action that retrieves data from the BizApp to facilitate display of the AddGroupResources form.
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
AddGroupResourcesFormPrepareAction()
|
|
| Method Summary | |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Retrieve this data and store it in the specified request parameters: GroupValue object identified by Constants.RESOURCE_PARAM request parameter in
Constants.RESOURCE_ATTR
List of available AppdefResourceValue objects (those not already associated with
the group) in Constants.AVAIL_RESOURCES_ATTR
Integer number of available roles in Constants.NUM_AVAIL_RESOURCES_ATTR
List of pending OwnedRoleValue objects (those in queue to be associated with the
resource) in Constants.PENDING_RESOURCES_ATTR
Integer number of pending resources in Constants.NUM_PENDING_RESOURCES_ATTR
List of pending AppdefResourceValue ids (those in queue to be associated with the
resource) in Constants.PENDING_RESOURCES_SES_ATTR
This Action edits 2 lists of Resources: pending, and available. |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddGroupResourcesFormPrepareAction()
| Method Detail |
|---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
GroupValue object identified by Constants.RESOURCE_PARAM request parameter in
Constants.RESOURCE_ATTRList of available AppdefResourceValue objects (those not already associated with
the group) in Constants.AVAIL_RESOURCES_ATTRInteger number of available roles in Constants.NUM_AVAIL_RESOURCES_ATTRList of pending OwnedRoleValue objects (those in queue to be associated with the
resource) in Constants.PENDING_RESOURCES_ATTRInteger number of pending resources in Constants.NUM_PENDING_RESOURCES_ATTRList of pending AppdefResourceValue ids (those in queue to be associated with the
resource) in Constants.PENDING_RESOURCES_SES_ATTR
execute in class org.apache.struts.action.ActionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||