org.hyperic.hq.ui.action.resource.server.monitor.visibility
Class ServerInventoryHelper
java.lang.Object
org.hyperic.hq.ui.action.resource.common.monitor.visibility.InventoryHelper
org.hyperic.hq.ui.action.resource.server.monitor.visibility.ServerInventoryHelper
public class ServerInventoryHelper
- extends InventoryHelper
A class that provides server-specific implementations of utility
methods for common monitoring tasks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerInventoryHelper
public ServerInventoryHelper(AppdefEntityID entityId)
getChildResourceTypes
public java.util.List getChildResourceTypes(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext ctx,
AppdefResourceValue resource)
throws PermissionException,
AppdefEntityNotFoundException,
java.rmi.RemoteException,
SessionException,
javax.servlet.ServletException
- Get the set of service types representing a server's services.
- Specified by:
getChildResourceTypes
in class InventoryHelper
- Parameters:
request
- the http requestctx
- the servlet contextresource
- the application
- Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionException
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 service type from the Bizapp.
- Specified by:
getChildResourceType
in class InventoryHelper
- Parameters:
request
- the http requestctx
- the servlet contextid
- the id of the service 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,
SessionException,
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 requestresource
- the appdef resource whose children we are
counting
- Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionException
javax.servlet.ServletException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.