fr.paris.lutece.plugins.searchstats.business
Class QueryRecordDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.searchstats.business.QueryRecordDAO
All Implemented Interfaces:
IQueryRecordDAO

public final class QueryRecordDAO
extends java.lang.Object
implements IQueryRecordDAO

This class provides Data Access methods for QueryRecord objects


Constructor Summary
QueryRecordDAO()
           
 
Method Summary
 void insert(QueryRecord queryRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 java.util.List<RecordCount> selectQueryRecordDatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin, boolean bNoResult)
          Load the list of RecordCount for each date that have at least a record
 java.util.List<QueryRecord> selectQueryRecordListByCriteria(fr.paris.lutece.portal.service.plugin.Plugin plugin, RecordFilter filter)
          Load the list of queryRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRecordDAO

public QueryRecordDAO()
Method Detail

insert

public void insert(QueryRecord queryRecord,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Specified by:
insert in interface IQueryRecordDAO
Parameters:
queryRecord - The queryRecord object
plugin - The Plugin using this data access service

selectQueryRecordDatesList

public java.util.List<RecordCount> selectQueryRecordDatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                              boolean bNoResult)
Load the list of RecordCount for each date that have at least a record

Specified by:
selectQueryRecordDatesList in interface IQueryRecordDAO
Parameters:
plugin - The Plugin using this data access service
Returns:
The list of the RecordCount

selectQueryRecordListByCriteria

public java.util.List<QueryRecord> selectQueryRecordListByCriteria(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                   RecordFilter filter)
Load the list of queryRecords

Specified by:
selectQueryRecordListByCriteria in interface IQueryRecordDAO
Parameters:
plugin - The Plugin using this data access service
filter - Filter containing criterias
Returns:
The list of the QueryRecords


Copyright © 2012 Mairie de Paris. All Rights Reserved.