Uses of Class
com.xpn.xwiki.criteria.impl.Period
-
Packages that use Period Package Description com.xpn.xwiki.api com.xpn.xwiki.criteria.impl com.xpn.xwiki.stats.api com.xpn.xwiki.stats.impl com.xpn.xwiki.stats.impl.xwiki -
-
Uses of Period in com.xpn.xwiki.api
Methods in com.xpn.xwiki.api with parameters of type Period Modifier and Type Method Description Map<?,?>
StatsService. getActionStatistics(String action, Scope scope, Period period, Duration step)
Shows how the statistics for the specified action have evolved over the specified period of time.List<?>
StatsService. getBackLinkStatistics(String domain, Scope scope, Period period, Range range)
Retrieves back-link statistics.List<?>
StatsService. getDocumentStatistics(String action, Scope scope, Period period, Range range)
Retrieves document statistics.List<?>
StatsService. getRefererStatistics(String domain, Scope scope, Period period, Range range)
Retrieves referrer statistics.List<?>
StatsService. getVisitStatistics(String action, Period period, Range range)
Retrieves visit statistics. -
Uses of Period in com.xpn.xwiki.criteria.impl
Fields in com.xpn.xwiki.criteria.impl declared as Period Modifier and Type Field Description static Period
PeriodFactory. ALL_TIME
The period of time betweenPeriodFactory.MIN_DATE
andPeriodFactory.MAX_DATE
.Methods in com.xpn.xwiki.criteria.impl that return Period Modifier and Type Method Description static Period
PeriodFactory. createDayPeriod(long timestamp)
Creates a new Period instance that matches exactly the day that includes the specified time stamp.static Period
PeriodFactory. createDayPeriod(String date)
Creates a new Period instance that matches exactly the day that includes the specified date.static Period
PeriodFactory. createHourPeriod(long timestamp)
Creates a new Period instance that matches exactly the hour that includes the specified time stamp.static Period
PeriodFactory. createHourPeriod(String date)
Creates a new Period instance that matches exactly the hour that includes the specified date.static Period
PeriodFactory. createMaximumPeriod()
Creates a new Period instance that starts at the minimum value allowed by Date and ends at the maximum value allowed by Date.static Period
PeriodFactory. createMonthPeriod(long timestamp)
Creates a new Period instance that matches exactly the month that includes the specified time stamp.static Period
PeriodFactory. createMonthPeriod(String date)
Creates a new Period instance that matches exactly the month that includes the specified date.static Period
PeriodFactory. createPeriod(long start, long end)
static Period
PeriodFactory. createPeriod(String start, String end)
Creates a new custom period.static Period
PeriodFactory. createSinceDaysPeriod(int numberOfDays)
Creates a new Period instance that matches all the instants between N days before the instantiation and the instantiation.static Period
PeriodFactory. createSinceHoursPeriod(int numberOfHours)
Creates a new Period instance that matches all the instants between N hours before the instantiation and the instantiation.static Period
PeriodFactory. createSinceMonthsPeriod(int numberOfMonths)
Creates a new Period instance that matches all the instants between N months before the instantiation and the instantiation.static Period
PeriodFactory. createSinceWeeksPeriod(int numberOfWeeks)
Creates a new Period instance that matches all the instants between N weeks before the instantiation and the instantiation.static Period
PeriodFactory. createSinceYearsPeriod(int numberOfYears)
Creates a new Period instance that matches all the instants between N years before the instantiation and the instantiation.static Period
PeriodFactory. createWeekPeriod(long timestamp)
Creates a new Period instance that matches exactly the week that includes the specified time stamp.static Period
PeriodFactory. createWeekPeriod(String date)
Creates a new Period instance that matches exactly the week that includes the specified date.static Period
PeriodFactory. createYearPeriod(long timestamp)
Creates a new Period instance that matches exactly the year that includes the specified time stamp.static Period
PeriodFactory. createYearPeriod(String date)
Creates a new Period instance that matches exactly the year that includes the specified date.static Period
PeriodFactory. getALL_TIME()
Helper method for accessingPeriodFactory.ALL_TIME
static field in velocitystatic Period
PeriodFactory. getCurrentDay()
static Period
PeriodFactory. getCurrentMonth()
static Period
PeriodFactory. getCurrentWeek()
static Period
PeriodFactory. getCurrentYear()
Period
RevisionCriteria. getPeriod()
Methods in com.xpn.xwiki.criteria.impl with parameters of type Period Modifier and Type Method Description RevisionCriteria
RevisionCriteriaFactory. createRevisionCriteria(Period period)
Creates a revision criteria matching the revisions created by any author, during the given period.RevisionCriteria
RevisionCriteriaFactory. createRevisionCriteria(Period period, boolean includeMinorVersions)
Creates a revision criteria matching the revisions created by any author, during the given period.RevisionCriteria
RevisionCriteriaFactory. createRevisionCriteria(String author, Period period)
Creates a revision criteria matching the revisions created by the given author, during the given period.RevisionCriteria
RevisionCriteriaFactory. createRevisionCriteria(String author, Period period, boolean includeMinorVersions)
Creates a revision criteria matching the revisions created by the given author, during the given period.void
RevisionCriteria. setPeriod(Period period)
Set the Period (time limits) desired for the resultsConstructors in com.xpn.xwiki.criteria.impl with parameters of type Period Constructor Description RevisionCriteria(String author, Period period, Range range, boolean includeMinorVersions)
Fully featured constructor, allow to set all the query parameters, null arguments are ignored -
Uses of Period in com.xpn.xwiki.stats.api
Methods in com.xpn.xwiki.stats.api with parameters of type Period Modifier and Type Method Description Map<?,?>
XWikiStatsService. getActionStatistics(String action, Scope scope, Period period, Duration step, XWikiContext context)
Shows how the statistics for the specified action have evolved over the specified period of time.List<?>
XWikiStatsService. getBackLinkStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
Retrieves back-link statistics.List<DocumentStats>
XWikiStatsService. getDocumentStatistics(String action, Scope scope, Period period, Range range, XWikiContext context)
Retrieves document statistics.List<RefererStats>
XWikiStatsService. getRefererStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
Retrieves referrer statistics.List<VisitStats>
XWikiStatsService. getVisitStatistics(String action, Period period, Range range, XWikiContext context)
Retrieves visit statistics. -
Uses of Period in com.xpn.xwiki.stats.impl
Methods in com.xpn.xwiki.stats.impl with parameters of type Period Modifier and Type Method Description Map<?,?>
XWikiStatsServiceImpl. getActionStatistics(String action, Scope scope, Period period, Duration step, XWikiContext context)
List<DocumentStats>
XWikiStatsServiceImpl. getBackLinkStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
List<DocumentStats>
XWikiStatsServiceImpl. getDocumentStatistics(String action, Scope scope, Period period, Range range, XWikiContext context)
List<RefererStats>
XWikiStatsServiceImpl. getRefererStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
List<VisitStats>
XWikiStatsServiceImpl. getVisitStatistics(String action, Period period, Range range, XWikiContext context)
-
Uses of Period in com.xpn.xwiki.stats.impl.xwiki
Methods in com.xpn.xwiki.stats.impl.xwiki with parameters of type Period Modifier and Type Method Description Map<org.joda.time.DateTime,Integer>
XWikiStatsReader. getActionStatistics(String action, Scope scope, Period period, Duration step, XWikiContext context)
Shows how the statistics for the specified action have evolved over the specified period of time.List<DocumentStats>
XWikiStatsReader. getBackLinkStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
Retrieves back-link statistics.List<DocumentStats>
XWikiStatsReader. getDocumentStatistics(String action, Scope scope, Period period, Range range, XWikiContext context)
Retrieves document statistics.List<RefererStats>
XWikiStatsReader. getRefererStatistics(String domain, Scope scope, Period period, Range range, XWikiContext context)
Retrieves referrer statistics.List<VisitStats>
XWikiStatsReader. getVisitStatistics(String action, Period period, Range range, XWikiContext context)
Retrieves visit statistics.
-