com.atlassian.confluence.search.v2.query
Class DateRangeQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.DateRangeQuery
- All Implemented Interfaces:
- SearchQuery
public class DateRangeQuery
- extends java.lang.Object
- implements SearchQuery
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DateRangeQuery
public DateRangeQuery(java.util.Date from,
java.util.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 rangeto
- the end date in the rangeincludeFrom
- include the beginning date in the rangeincludeTo
- include the end date in the rangedateRangeQueryType
- the type of range query. See
DateRangeQuery.DateRangeQueryType
DateRangeQuery
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
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface SearchQuery
- Returns:
- the plugin key
getParameters
public java.util.List getParameters()
- Description copied from interface:
SearchQuery
- List of parameters as
String
s or SearchQuery
s.
- Specified by:
getParameters
in interface SearchQuery
- Returns:
String
s or SearchQuery
s.
getFromDate
public java.util.Date getFromDate()
getToDate
public java.util.Date getToDate()
isIncludeFrom
public boolean isIncludeFrom()
isIncludeTo
public boolean isIncludeTo()
getDateRangeQueryType
public DateRangeQuery.DateRangeQueryType getDateRangeQueryType()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.