Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.json.action.escalation
Class BaseAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.hyperic.hq.ui.json.action.escalation.BaseAction
Direct Known Subclasses:
JsonByEscalationId, ListActiveEscalations, ListAllEscalationName, RemoveAction, RemoveEscalation, SaveAction, SaveEscalation, UpdateEscalation, UpdateEscalationOrder

public abstract class BaseAction
extends org.apache.struts.action.Action


Field Summary
protected static java.lang.String ALERTDEF_ID
           
protected static java.lang.String ALLOW_PAUSE
           
protected static java.lang.String DESCRIPTION
           
protected static java.lang.String GALERTDEF_ID
           
protected static java.lang.String ID
           
protected static java.lang.String MAX_WAIT_TIME
           
protected static java.lang.String NAME
           
protected static java.lang.String NOTIFY_ALL
           
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
BaseAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
abstract  void execute(JsonActionContext context)
           
protected  void streamResult(JsonActionContext context)
           
 
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
 

Field Detail

ID

protected static final java.lang.String ID
See Also:
Constant Field Values

NOTIFY_ALL

protected static final java.lang.String NOTIFY_ALL
See Also:
Constant Field Values

ALLOW_PAUSE

protected static final java.lang.String ALLOW_PAUSE
See Also:
Constant Field Values

NAME

protected static final java.lang.String NAME
See Also:
Constant Field Values

MAX_WAIT_TIME

protected static final java.lang.String MAX_WAIT_TIME
See Also:
Constant Field Values

DESCRIPTION

protected static java.lang.String DESCRIPTION

ALERTDEF_ID

protected static java.lang.String ALERTDEF_ID

GALERTDEF_ID

protected static java.lang.String GALERTDEF_ID
Constructor Detail

BaseAction

public BaseAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping map,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Overrides:
execute in class org.apache.struts.action.Action
Throws:
java.lang.Exception

execute

public abstract void execute(JsonActionContext context)
                      throws java.lang.Exception
Throws:
java.lang.Exception

streamResult

protected void streamResult(JsonActionContext context)
                     throws org.json.JSONException,
                            java.io.IOException
Throws:
org.json.JSONException
java.io.IOException

Hyperic HQ Plugin API v. 4.4.0.2

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