public class InventorySummaryHandler extends AbstractRestBean implements InventorySummaryLocal
AbstractRestBean.CacheKey| Modifier and Type | Field and Description |
|---|---|
protected ResourceManagerLocal |
resourceMgr |
cache, caller, resMgr, resourceGroupManager, wrappedCollectionJson, wrappedCollectionJsonType| Constructor and Description |
|---|
InventorySummaryHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.StreamingOutput |
generateReport(javax.servlet.http.HttpServletRequest request,
String resourceTypeId,
String version)
Generates an inventory summary report.
|
javax.ws.rs.core.StreamingOutput |
generateReportInternal(javax.servlet.http.HttpServletRequest request,
String resourceTypeId,
String version,
org.rhq.core.domain.auth.Subject user) |
protected List<String> |
getColumns() |
protected String |
getDebugReportName() |
protected List<String> |
getDetailsColumns() |
protected String |
getDetailsHeader() |
protected org.rhq.core.domain.criteria.ResourceCriteria |
getDetailsQueryCriteria(Integer resourceTypeId,
String version) |
protected String |
getHeader() |
protected LinkedHashMap<String,PropertyConverter<org.rhq.core.domain.resource.Resource>> |
getPropertyConverters(javax.servlet.http.HttpServletRequest request) |
protected List<org.rhq.core.domain.resource.composite.ResourceInstallCount> |
getSummaryCounts() |
createPagingHeader, createUILink, fetchGroup, fetchResource, fillGroup, fillRWT, getFromCache, getFromCache, getLinkToGroup, getLinkToResource, getLinkToResourceType, getMetricScheduleInternal, paginate, putToCache, putToCache, removeFromCache, renderTemplate, setCachingHeader, start, withMediaType, wrapForPagingprotected ResourceManagerLocal resourceMgr
public javax.ws.rs.core.StreamingOutput generateReportInternal(javax.servlet.http.HttpServletRequest request,
String resourceTypeId,
String version,
org.rhq.core.domain.auth.Subject user)
generateReportInternal in interface InventorySummaryLocalpublic javax.ws.rs.core.StreamingOutput generateReport(javax.servlet.http.HttpServletRequest request,
String resourceTypeId,
String version)
InventorySummaryLocalgenerateReport in interface InventorySummaryLocalresourceTypeId - Corresponds to the resourceTypeId query string parameter and
must be specified to generate the details version of the report.version - Corresponds to the version query string parameter and should be
specified to generate the details version of the report.protected String getDebugReportName()
protected org.rhq.core.domain.criteria.ResourceCriteria getDetailsQueryCriteria(Integer resourceTypeId, String version)
protected List<org.rhq.core.domain.resource.composite.ResourceInstallCount> getSummaryCounts()
protected String getHeader()
protected String getDetailsHeader()
protected LinkedHashMap<String,PropertyConverter<org.rhq.core.domain.resource.Resource>> getPropertyConverters(javax.servlet.http.HttpServletRequest request)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.