Class StatGraphDB

java.lang.Object
sk.iway.iwcm.stat.StatGraphDB

public class StatGraphDB extends Object
StatGraphDB.java
  • Field Details

  • Constructor Details

    • StatGraphDB

      protected StatGraphDB()
  • Method Details

    • getCountryTimeData

      public static Map<String,Map<Date,Number>> getCountryTimeData(int max_size, Date from, Date to, String groupIdsQuery)
      Povodne sa zobrazovali iba domeny, napr. .com, .sk a podobne. Stara funkcionalita sa zachovava pomocou tohoto volania.
      Parameters:
      max_size - int kolko zaznamov chceme zobrazit
      from - Date odkedy
      to - Date dokedy
      groupIdsQuery -
      Returns:
      TimeSeriesCollection zoznam podkladov pre graf
      See Also:
    • getCountryTimeData

      public static Map<String,Map<Date,Number>> getCountryTimeData(int maxRows, Date from, Date to, String groupIdsQuery, boolean countryNameAsTld, javax.servlet.http.HttpServletRequest request)
    • getCountryTimeData

      public static Map<String,Map<Date,Number>> getCountryTimeData(int maxRows, Date from, Date to, String groupIdsQuery, boolean countryNameAsTld, javax.servlet.http.HttpServletRequest request, boolean withoutBots)
      Gets the countryTimeData attribute of the StatDB object
      Parameters:
      maxRows - Description of the Parameter
      from - Description of the Parameter
      to - Description of the Parameter
      Returns:
      The countryTimeData value
    • getBrowserTimeData

      public static Map<String,Map<Date,Number>> getBrowserTimeData(int maxRows, Date from, Date to, String groupIdsQuery)
    • getBrowserTimeData

      public static Map<String,Map<Date,Number>> getBrowserTimeData(int maxRows, Date from, Date to, String groupIdsQuery, boolean withoutBots)
      Gets the browserTimeData attribute of the StatDB object
      Parameters:
      maxRows - Description of the Parameter
      from - Description of the Parameter
      to - Description of the Parameter
      Returns:
      The browserTimeData value
    • getInquiryTimeData

      public static Map<String,Map<Date,Number>> getInquiryTimeData(int maxRows, Date from, Date to, int questionId, int userId, javax.servlet.http.HttpServletRequest request)
      Gets the InquiryTimeData attribute of the StatDB object
      Parameters:
      maxRows - Description of the Parameter
      from - Description of the Parameter
      to - Description of the Parameter
      questionId -
      request -
      Returns:
      The inquiryTimeData value
    • getInquiryPieData

      public static Map<String,Number> getInquiryPieData(Date from, Date to, int questionId, int userId, Prop prop, javax.servlet.http.HttpServletRequest request)
      Gets the InquiryPieData attribute of the StatDB object
      Parameters:
      from - Description of the Parameter
      to - Description of the Parameter
      questionId - Description of the Parameter
      request - Description of the Parameter
      Returns:
      The inquiryPieData value