public class AddGroupResourcesFormPrepareAction
extends org.apache.struts.action.Action
| Constructor and Description |
|---|
AddGroupResourcesFormPrepareAction() |
| Modifier and Type | Method and Description |
|---|---|
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. |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic 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_ATTRexecute in class org.apache.struts.action.ActionExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.