Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.platform.monitor.visibility
Class PlatformInventoryHelper

java.lang.Object
  extended by org.hyperic.hq.ui.action.resource.common.monitor.visibility.InventoryHelper
      extended by org.hyperic.hq.ui.action.resource.platform.monitor.visibility.PlatformInventoryHelper

public class PlatformInventoryHelper
extends InventoryHelper

A class that provides platform-specific implementations of utility methods for common monitoring tasks.


Field Summary
 
Fields inherited from class org.hyperic.hq.ui.action.resource.common.monitor.visibility.InventoryHelper
entityId, log
 
Constructor Summary
PlatformInventoryHelper(AppdefEntityID entityId)
           
 
Method Summary
 java.util.Map getChildCounts(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext ctx, AppdefResourceValue resource)
          Get from the Bizapp the numbers of children of the given resource.
 AppdefResourceType getChildResourceType(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext ctx, AppdefEntityTypeID id)
          Get a server type from the Bizapp.
 java.util.List getChildResourceTypes(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext ctx, AppdefResourceValue resource)
          Get the set of server types representing a platform's servers.
 
Methods inherited from class org.hyperic.hq.ui.action.resource.common.monitor.visibility.InventoryHelper
getHelper, getSelectedChildId, getSelectedChildId, getSelectedChildType, isResourceConfigured, selectDefaultSubtab, showPerformanceSubtabs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformInventoryHelper

public PlatformInventoryHelper(AppdefEntityID entityId)
Method Detail

getChildResourceTypes

public java.util.List getChildResourceTypes(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.ServletContext ctx,
                                            AppdefResourceValue resource)
                                     throws PermissionException,
                                            AppdefEntityNotFoundException,
                                            java.rmi.RemoteException,
                                            SessionNotFoundException,
                                            SessionTimeoutException,
                                            javax.servlet.ServletException
Get the set of server types representing a platform's servers.

Specified by:
getChildResourceTypes in class InventoryHelper
Parameters:
request - the http request
ctx - the servlet context
resource - the platform
Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionNotFoundException
SessionTimeoutException
javax.servlet.ServletException

getChildResourceType

public AppdefResourceType getChildResourceType(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.ServletContext ctx,
                                               AppdefEntityTypeID id)
                                        throws PermissionException,
                                               AppdefEntityNotFoundException,
                                               java.rmi.RemoteException,
                                               SessionNotFoundException,
                                               SessionTimeoutException,
                                               javax.servlet.ServletException
Get a server type from the Bizapp.

Specified by:
getChildResourceType in class InventoryHelper
Parameters:
request - the http request
ctx - the servlet context
id - the id of the server type
Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionNotFoundException
SessionTimeoutException
javax.servlet.ServletException

getChildCounts

public java.util.Map getChildCounts(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.ServletContext ctx,
                                    AppdefResourceValue resource)
                             throws PermissionException,
                                    AppdefEntityNotFoundException,
                                    java.rmi.RemoteException,
                                    SessionNotFoundException,
                                    SessionTimeoutException,
                                    javax.servlet.ServletException
Get from the Bizapp the numbers of children of the given resource. Returns a Map of counts keyed by child resource type.

Specified by:
getChildCounts in class InventoryHelper
Parameters:
request - the http request
resource - the appdef resource whose children we are counting
Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionNotFoundException
SessionTimeoutException
javax.servlet.ServletException

Hyperic HQ Plugin API v. 4.4.0.2

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