org.rhq.enterprise.server.rest.reporting
Class DriftComplianceHandler
java.lang.Object
org.rhq.enterprise.server.rest.AbstractRestBean
org.rhq.enterprise.server.rest.reporting.InventorySummaryHandler
org.rhq.enterprise.server.rest.reporting.DriftComplianceHandler
- All Implemented Interfaces:
- DriftComplianceLocal, InventorySummaryLocal
public class DriftComplianceHandler
- extends InventorySummaryHandler
- implements DriftComplianceLocal
| Methods inherited from class org.rhq.enterprise.server.rest.AbstractRestBean |
fetchGroup, fetchResource, fillRWT, getFqn, getFromCache, getFromCache, getResourceFromCache, getResourcesFromCacheByParentId, putResourceToCache, putToCache, putToCache, removeFromCache, renderTemplate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriftComplianceHandler
public DriftComplianceHandler()
generateReport
public javax.ws.rs.core.StreamingOutput generateReport(javax.servlet.http.HttpServletRequest request,
String resourceTypeId,
String version)
- Description copied from interface:
InventorySummaryLocal
- Generates an inventory summary report. The report can be in either a master or
details format.
- Specified by:
generateReport in interface DriftComplianceLocal- Specified by:
generateReport in interface InventorySummaryLocal- Overrides:
generateReport in class InventorySummaryHandler
resourceTypeId - 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.
- Returns:
- An output stream that contains the CSV report.
getSummaryCounts
protected List<org.rhq.core.domain.resource.composite.ResourceInstallCount> getSummaryCounts()
- Overrides:
getSummaryCounts in class InventorySummaryHandler
getDetailsQueryCriteria
protected org.rhq.core.domain.criteria.ResourceCriteria getDetailsQueryCriteria(Integer resourceTypeId,
String version)
- Overrides:
getDetailsQueryCriteria in class InventorySummaryHandler
getHeader
protected String getHeader()
- Overrides:
getHeader in class InventorySummaryHandler
getDetailsHeader
protected String getDetailsHeader()
- Overrides:
getDetailsHeader in class InventorySummaryHandler
getColumns
protected List<String> getColumns()
- Overrides:
getColumns in class InventorySummaryHandler
getDetailsColumns
protected List<String> getDetailsColumns()
- Overrides:
getDetailsColumns in class InventorySummaryHandler
getPropertyConverters
protected LinkedHashMap<String,PropertyConverter<org.rhq.core.domain.resource.Resource>> getPropertyConverters(javax.servlet.http.HttpServletRequest request)
- Overrides:
getPropertyConverters in class InventorySummaryHandler
getDebugReportName
protected String getDebugReportName()
- Overrides:
getDebugReportName in class InventorySummaryHandler
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.