org.rhq.enterprise.server.resource
Class ResourceBossBean

java.lang.Object
  extended by org.rhq.enterprise.server.resource.ResourceBossBean
All Implemented Interfaces:
ResourceBossLocal

public class ResourceBossBean
extends Object
implements ResourceBossLocal

The boss for "high-level" operations involving Resources and/or Groups.

Author:
Ian Springer

Constructor Summary
ResourceBossBean()
           
 
Method Summary
 org.rhq.core.domain.resource.InventorySummary getInventorySummary(org.rhq.core.domain.auth.Subject user)
          Returns a summary of inventoried Resources and Groups that are viewable by the specified user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBossBean

public ResourceBossBean()
Method Detail

getInventorySummary

public org.rhq.core.domain.resource.InventorySummary getInventorySummary(org.rhq.core.domain.auth.Subject user)
Description copied from interface: ResourceBossLocal
Returns a summary of inventoried Resources and Groups that are viewable by the specified user. The summary includes the total number of platforms, servers, services, org.rhq.core.domain.resource.group.CompatibleGroups, and org.rhq.core.domain.resource.group.MixedGroups. Only Resources with an inventory status of COMMITTED are tallied.

Specified by:
getInventorySummary in interface ResourceBossLocal
Parameters:
user - a JON user
Returns:
a summary of inventory that is viewable by the specified user


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.