Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.service
Class RESTService

java.lang.Object
  extended by org.hyperic.hq.ui.service.BaseService
      extended by org.hyperic.hq.ui.service.RESTService
All Implemented Interfaces:
org.apache.tapestry.engine.IEngineService

public class RESTService
extends BaseService

The UI Dashboard Widgets Service


Field Summary
static java.lang.String SERVICE_NAME
           
 
Fields inherited from class org.hyperic.hq.ui.service.BaseService
_linkFactory, _request, _response, _servletContext, EMPTY_RESPONSE, ERROR_GENERIC, PARAM_CLONE, PARAM_CLONE_TARGET_ID, PARAM_CONFIG, PARAM_CTYPE, PARAM_DELETE, PARAM_INTERVAL, PARAM_METRIC_TEMPLATE_ID, PARAM_PAGE_NUM, PARAM_PAGE_SIZE, PARAM_PLATFORM_ID, PARAM_REGEX_FILTER, PARAM_RESOURCE_ID, PARAM_ROTATION, PARAM_SCHEDULE, PARAM_SEARCH_QUERY, PARAM_SERVICE_ID, PARAM_SERVICE_VERSION, PARAM_TIME_RANGE, SERVICE_ID_ALERT_SUM_WIDGET, SERVICE_ID_CHART_WIDGET, SERVICE_ID_CLONE_PLATFORM_WIDGET, SERVICE_ID_GROUP_MANAGER_WIDGET, SERVICE_ID_MAINTENANCE_WINDOW_WIDGET, SERVICE_VERSION_1_0
 
Constructor Summary
RESTService()
           
 
Method Summary
 org.apache.tapestry.engine.ILink getLink(boolean post, java.lang.Object parameter)
          Generates the service urls
 java.lang.String getName()
           
 void service(org.apache.tapestry.IRequestCycle cycle)
          The Service method.
 
Methods inherited from class org.hyperic.hq.ui.service.BaseService
setLinkFactory, setRequest, setResponse, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Constructor Detail

RESTService

public RESTService()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.apache.tapestry.engine.IEngineService
Specified by:
getName in class BaseService

getLink

public org.apache.tapestry.engine.ILink getLink(boolean post,
                                                java.lang.Object parameter)
Generates the service urls

Specified by:
getLink in interface org.apache.tapestry.engine.IEngineService
Specified by:
getLink in class BaseService

service

public void service(org.apache.tapestry.IRequestCycle cycle)
             throws java.io.IOException
The Service method. Supports services of version 1.0+

Specified by:
service in interface org.apache.tapestry.engine.IEngineService
Specified by:
service in class BaseService
Throws:
java.io.IOException

Hyperic HQ Plugin API v. 4.4.0.2

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