Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.admin.user
Class RegisterAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.hyperic.hq.ui.action.BaseAction
          extended by org.hyperic.hq.ui.action.admin.user.RegisterAction

public class RegisterAction
extends BaseAction

An WorkflowAction subclass that registers a user in the BizApp.


Field Summary
 
Fields inherited from class org.hyperic.hq.ui.action.BaseAction
NO_RETURN_PATH, YES_RETURN_PATH
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
RegisterAction()
           
 
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)
          Create the user with the attributes specified in the given NewForm and save it into the session attribute Constants.USER_ATTR.
 
Methods inherited from class org.hyperic.hq.ui.action.BaseAction
checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, constructForward, constructForward, constructForward, constructForward, execute, returnAdd, returnAdd, returnAdd, returnCancelled, returnCancelled, returnCancelled, returnCancelled, returnFailure, returnFailure, returnFailure, returnFailure, returnFailure, returnNew, returnNew, returnNew, returnNew, returnNew, returnOkAssign, returnOkAssign, returnRemove, returnRemove, returnRemove, returnReset, returnReset, returnReset, returnReset, returnSuccess, returnSuccess, returnSuccess, returnSuccess, returnSuccess
 
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

RegisterAction

public RegisterAction()
Method Detail

execute

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 java.lang.Exception
Create the user with the attributes specified in the given NewForm and save it into the session attribute Constants.USER_ATTR.

Overrides:
execute in class BaseAction
Throws:
java.lang.Exception

Hyperic HQ Plugin API v. 4.4.0.2

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