lumis.report.hourlypagecacheclear
Class HourlyPageCacheClearJRDataSourceProvider

Package class diagram package HourlyPageCacheClearJRDataSourceProvider
java.lang.Object
  extended by lumis.report.hourlypagecacheclear.HourlyPageCacheClearJRDataSourceProvider
All Implemented Interfaces:
IJRDataSourceProvider

public class HourlyPageCacheClearJRDataSourceProvider
extends Object
implements IJRDataSourceProvider

Data source provider used for the hourly page cache cleaning report.

Since:
6.0.0

Constructor Summary
HourlyPageCacheClearJRDataSourceProvider()
           
 
Method Summary
 net.sf.jasperreports.engine.JRDataSource create(net.sf.jasperreports.engine.JasperReport jasperreport, Map<String,Object> parameters)
          Creates a data source for the given report.
 void dispose(net.sf.jasperreports.engine.JRDataSource jrDataSource)
          Called when a data source created by IJRDataSourceProvider.create(JasperReport, Map) is no longer used.
static net.sf.jasperreports.engine.JRDataSource getDataForChart(Date startDate, Date endDate, String rootChannelPath, Integer channelPathFilterType, String channelPath, Integer userLoginFilterType, String userLogin, Integer serverIdFilterType, String serverId, Integer serviceIdFilterType, String serviceId, Integer userGroupFilterType, String userGroup)
          Returns a data source for the hourly page cache cleaning report.
static net.sf.jasperreports.engine.JRDataSource getDataForTable(Date startDate, Date endDate, String rootChannelPath, Integer channelPathFilterType, String channelPath, Integer userLoginFilterType, String userLogin, Integer serverIdFilterType, String serverId, Integer serviceIdFilterType, String serviceId, Integer userGroupFilterType, String userGroup)
          Returns a data source for the hourly page cache cleaning report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HourlyPageCacheClearJRDataSourceProvider

public HourlyPageCacheClearJRDataSourceProvider()
Method Detail

getDataForTable

public static net.sf.jasperreports.engine.JRDataSource getDataForTable(Date startDate,
                                                                       Date endDate,
                                                                       String rootChannelPath,
                                                                       Integer channelPathFilterType,
                                                                       String channelPath,
                                                                       Integer userLoginFilterType,
                                                                       String userLogin,
                                                                       Integer serverIdFilterType,
                                                                       String serverId,
                                                                       Integer serviceIdFilterType,
                                                                       String serviceId,
                                                                       Integer userGroupFilterType,
                                                                       String userGroup)
                                                                throws net.sf.jasperreports.engine.JRException
Returns a data source for the hourly page cache cleaning report. Used in the table.

Parameters:
startDate - the start date.
endDate - the end date.
rootChannelPath - the root channel path.
channelPathFilterType - the channel path filter type.
channelPath - the channel path filter
userLoginFilterType - the user login filter type.
userLogin - the user login filter.
serverIdFilterType - the server identifier filter type.
serverId - the service identifier filter.
serviceIdFilterType - the service identifier filter type;
serviceId - the service identifier filter.
userGroupFilterType - the user groups filter type.
userGroup - the user groups filter.
Returns:
the data for report.
Throws:
net.sf.jasperreports.engine.JRException
Since:
6.0.0

getDataForChart

public static net.sf.jasperreports.engine.JRDataSource getDataForChart(Date startDate,
                                                                       Date endDate,
                                                                       String rootChannelPath,
                                                                       Integer channelPathFilterType,
                                                                       String channelPath,
                                                                       Integer userLoginFilterType,
                                                                       String userLogin,
                                                                       Integer serverIdFilterType,
                                                                       String serverId,
                                                                       Integer serviceIdFilterType,
                                                                       String serviceId,
                                                                       Integer userGroupFilterType,
                                                                       String userGroup)
                                                                throws net.sf.jasperreports.engine.JRException
Returns a data source for the hourly page cache cleaning report. Used in the chart.

Parameters:
startDate - the start date.
endDate - the end date.
rootChannelPath - the root channel path.
channelPathFilterType - the channel path filter type.
channelPath - the channel path filter
userLoginFilterType - the user login filter type.
userLogin - the user login filter.
serverIdFilterType - the server identifier filter type.
serverId - the service identifier filter.
serviceIdFilterType - the service identifier filter type;
serviceId - the service identifier filter.
userGroupFilterType - the user groups filter type.
userGroup - the user groups filter.
Returns:
the data for report.
Throws:
net.sf.jasperreports.engine.JRException
Since:
6.0.0

create

public net.sf.jasperreports.engine.JRDataSource create(net.sf.jasperreports.engine.JasperReport jasperreport,
                                                       Map<String,Object> parameters)
                                                throws net.sf.jasperreports.engine.JRException,
                                                       PortalException
Description copied from interface: IJRDataSourceProvider
Creates a data source for the given report.

Specified by:
create in interface IJRDataSourceProvider
Parameters:
jasperreport - the report.
parameters - the parameters that are provided for the report.
Returns:
the data source.
Throws:
net.sf.jasperreports.engine.JRException
PortalException

dispose

public void dispose(net.sf.jasperreports.engine.JRDataSource jrDataSource)
             throws net.sf.jasperreports.engine.JRException,
                    PortalException
Description copied from interface: IJRDataSourceProvider
Called when a data source created by IJRDataSourceProvider.create(JasperReport, Map) is no longer used.

Specified by:
dispose in interface IJRDataSourceProvider
Parameters:
jrDataSource - the data source object.
Throws:
net.sf.jasperreports.engine.JRException
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.