org.hyperic.hq.ui.action.resource.platform.monitor.visibility
Class RootInventoryHelper
java.lang.Object
org.hyperic.hq.ui.action.resource.common.monitor.visibility.InventoryHelper
org.hyperic.hq.ui.action.resource.platform.monitor.visibility.RootInventoryHelper
public class RootInventoryHelper
- extends InventoryHelper
A class that provides an implementation of some auto-group
monitoring functions for auto-groups of platforms. We call it
"root" because there is no parent resource(s) in this case.
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
RootInventoryHelper
public RootInventoryHelper()
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 requestctx
- the servlet contextresource
- 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 platform type from the Bizapp.
- Specified by:
getChildResourceType
in class InventoryHelper
- Parameters:
request
- the http requestctx
- the servlet contextid
- 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 requestresource
- the appdef resource whose children we are
counting
- Throws:
PermissionException
AppdefEntityNotFoundException
java.rmi.RemoteException
SessionNotFoundException
SessionTimeoutException
javax.servlet.ServletException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.