Class LogAnalyzer
- java.lang.Object
- 
- de.uplanet.lucy.server.auxiliaries.LogAnalyzer
 
- 
 @VelocityCallable("singleton") public final class LogAnalyzer extends Object
- 
- 
Constructor SummaryConstructors Constructor Description LogAnalyzer()Default constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<AppVisit>createAppVisitComparator(int p_iComparatorID, UserReport p_report, String p_strLangID)Creates a comparator for AppVisits.ILogFiltercreateFilter(String p_strFilterClass)Create a statistics report filter.Comparator<PageVisit>createPageVisitComparator(int p_iComparatorID, UserReport p_report, String p_strLangID)Creates a comparator for PageVisits.IOrder<?>createSortOrder(String p_strOrderClass)Create a statistics report sort order.ApplicationReportgetApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strAppGuid, String p_strDateFrom, String p_strDateTo)GlobalReportgetReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strDateFrom, String p_strDateTo)Get a global statistics log report.UserReportgetUserReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strDateFrom, String p_strDateTo, long p_lTimeOut, long p_lInactivity, Collection<String> p_userGuids)
 
- 
- 
- 
Method Detail- 
getReportpublic GlobalReport getReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strDateFrom, String p_strDateTo) throws Exception Get a global statistics log report.- Parameters:
- p_conn- The database connection to be used.
- p_strLangId- The language identifier.
- p_strDateFrom- The report's start date.
- p_strDateTo- The report's end date.
- Returns:
- The global report.
- Throws:
- Exception- - If an error occurred.
 
 - 
getApplicationReportpublic ApplicationReport getApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strAppGuid, String p_strDateFrom, String p_strDateTo) throws Exception - Throws:
- Exception
 
 - 
createFilterpublic ILogFilter createFilter(String p_strFilterClass) throws Exception Create a statistics report filter.- Parameters:
- p_strFilterClass- The name of the filter class.
- Returns:
- The requested filter, or nullif an error occurred.
- Throws:
- Exception- - If the filter could not be created
 
 - 
createSortOrderpublic IOrder<?> createSortOrder(String p_strOrderClass) throws Exception Create a statistics report sort order.- Parameters:
- p_strOrderClass- The name of the sort order class.
- Returns:
- The requested sort order, or nullif an error occurred.
- Throws:
- Exception- - If the sort order not be created
 
 - 
getUserReportpublic UserReport getUserReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, String p_strDateFrom, String p_strDateTo, long p_lTimeOut, long p_lInactivity, Collection<String> p_userGuids) throws Exception - Throws:
- Exception
 
 - 
createAppVisitComparatorpublic Comparator<AppVisit> createAppVisitComparator(int p_iComparatorID, UserReport p_report, String p_strLangID) Creates a comparator for AppVisits.- Parameters:
- p_iComparatorID-
 ID of the comparator:
 - 1 - AppNameComparator
- else - NoneAppVisitComparator
 
- p_report- The currently used UserReport.
- Returns:
- The requested comparator.
 
 - 
createPageVisitComparatorpublic Comparator<PageVisit> createPageVisitComparator(int p_iComparatorID, UserReport p_report, String p_strLangID) Creates a comparator for PageVisits.- Parameters:
- p_iComparatorID-
 ID of the comparator:
 - 1 - PageNameComparator
- else - NonePageVisitComparator
 
- p_report- The currently used UserReport.
- p_strLangID- The ID of the current language.
- Returns:
- The requested comparator.
 
 
- 
 
-