public class

DateRangeQuery

extends Object
implements SearchQuery
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.DateRangeQuery

Class Overview

Query for search results that have been modified within the specified range of dates.

Summary

Nested Classes
class DateRangeQuery.Builder Helps create a DateRangeQuery object  
class DateRangeQuery.DateRange Class to represent a date range. 
enum DateRangeQuery.DateRangeQueryType  
Public Constructors
DateRangeQuery(Date from, Date to, boolean includeFrom, boolean includeTo, DateRangeQuery.DateRangeQueryType dateRangeQueryType)
Query for search results that have been modified within the specified range of dates.
DateRangeQuery(DateRangeQuery.DateRange dateRange, DateRangeQuery.DateRangeQueryType dateRangeQueryType)
Query for search results that have been modified within the specified range of dates.
Public Methods
boolean equals(Object obj)
DateRangeQuery.DateRangeQueryType getDateRangeQueryType()
Date getFromDate()
String getKey()
List getParameters()
List of parameters as Strings or SearchQuerys.
Date getToDate()
int hashCode()
boolean isIncludeFrom()
boolean isIncludeTo()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public DateRangeQuery (Date from, Date to, boolean includeFrom, boolean includeTo, DateRangeQuery.DateRangeQueryType dateRangeQueryType)

Query for search results that have been modified within the specified range of dates.

Parameters
from the beginning of the date range (can be null)
to the end date in the range (can be null)
includeFrom include the beginning date in the range
includeTo include the end date in the range
dateRangeQueryType the type of range query. See DateRangeQuery.DateRangeQueryType

public DateRangeQuery (DateRangeQuery.DateRange dateRange, DateRangeQuery.DateRangeQueryType dateRangeQueryType)

Query for search results that have been modified within the specified range of dates.

Parameters
dateRange the dateRange. See DateRangeQuery.DateRange
dateRangeQueryType the type of range query. See DateRangeQuery.DateRangeQueryType

Public Methods

public boolean equals (Object obj)

public DateRangeQuery.DateRangeQueryType getDateRangeQueryType ()

public Date getFromDate ()

public String getKey ()

public List getParameters ()

List of parameters as Strings or SearchQuerys.

Returns

public Date getToDate ()

public int hashCode ()

public boolean isIncludeFrom ()

public boolean isIncludeTo ()