Class RefererStatsStoreItem

  • All Implemented Interfaces:
    XWikiStatsStoreItem

    public class RefererStatsStoreItem
    extends AbstractStatsStoreItem
    Store referer statistics into the database.
    Since:
    1.4M2
    Version:
    $Id: 0c74cb73a41dd81281de01ab4c31e2353cc16f82 $
    • Constructor Detail

      • RefererStatsStoreItem

        public RefererStatsStoreItem​(String name,
                                     Date periodDate,
                                     StatsUtil.PeriodType periodType,
                                     String referer,
                                     XWikiContext context)
        Create new instance of RefererStatsStoreItem.
        Parameters:
        name - the full name of the document.
        periodDate - the period date.
        periodType - the period type.
        referer - the referer.
        context - the XWiki context.
    • Method Detail

      • getId

        public String getId()
        Returns:
        identifier for this type of store item. This value is used to merge same statistics in one database query.