AddUsersFormPrepareAction (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.ui.action.resource.common.monitor.alerts.config.AddUsersFormPrepareAction class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.ui.action.resource.common.monitor.alerts.config
Class AddUsersFormPrepareAction

    java.lang.Object
      org.apache.struts.action.Action
          org.apache.struts.tiles.actions.TilesAction
              org.hyperic.hq.ui.action.resource.common.monitor.alerts.config.AddNotificationsFormPrepareAction
                  org.hyperic.hq.ui.action.resource.common.monitor.alerts.config.AddUsersFormPrepareAction

    public class AddUsersFormPrepareAction

extends AddNotificationsFormPrepareAction

An Action that retrieves data from the BizApp to facilitate display of the form to add users to AlertDefinition.

Field Summary

Fields inherited from class org.apache.struts.action.Action
`servlet`

Constructor Summary
`AddUsersFormPrepareAction()`

Method Summary
`org.apache.struts.action.ActionForward` | `execute(org.apache.struts.tiles.ComponentContext context, 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: `AlertDefinitionValue` object identified by `Constants.ALERT_DEFS_ATTR` `List` of available `AuthzSubjectValue` objects (those not already associated with the alert def) in `Constants.AVAIL_USERS_ATTR` `Integer` number of available users in `Constants.NUM_AVAIL_USERS_ATTR` `List` of pending `AuthzSubjectValue` objects (those in queue to be associated with the definition) in `Constants.PENDING_USERS_ATTR` `Integer` number of pending users in `Constants.NUM_PENDING_USERS_ATTR`

Methods inherited from class org.hyperic.hq.ui.action.resource.common.monitor.alerts.config.AddNotificationsFormPrepareAction
`getNotificationIds`

Methods inherited from class org.apache.struts.tiles.actions.TilesAction
`execute`

Methods inherited from class org.apache.struts.action.Action
`addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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

### AddUsersFormPrepareAction

    public AddUsersFormPrepareAction()

Method Detail

### execute

    public org.apache.struts.action.ActionForward execute(org.apache.struts.tiles.ComponentContext context,
                                                          org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws java.lang.Exception

  Retrieve this data and store it in the specified request parameters:
  - `AlertDefinitionValue` object identified by `Constants.ALERT_DEFS_ATTR`
  - `List` of available `AuthzSubjectValue` objects (those not already associated with the alert def) in `Constants.AVAIL_USERS_ATTR`
  - `Integer` number of available users in `Constants.NUM_AVAIL_USERS_ATTR`
  - `List` of pending `AuthzSubjectValue` objects (those in queue to be associated with the definition) in `Constants.PENDING_USERS_ATTR`
  - `Integer` number of pending users in `Constants.NUM_PENDING_USERS_ATTR`

  Overrides:
    `execute` in class `org.apache.struts.tiles.actions.TilesAction`
  Throws:
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.