|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.v2.query.DateRangeQuery
public class DateRangeQuery
Query for search results that have been modified within the specified range of dates.
Nested Class Summary | |
---|---|
static class |
DateRangeQuery.Builder
Helps create a DateRangeQuery object |
static class |
DateRangeQuery.DateRange
Class to represent a date range. |
static class |
DateRangeQuery.DateRangeQueryType
|
Constructor Summary | |
---|---|
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. |
|
DateRangeQuery(DateRangeQuery.DateRange dateRange,
DateRangeQuery.DateRangeQueryType dateRangeQueryType)
Query for search results that have been modified within the specified range of dates. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
DateRangeQuery.DateRangeQueryType |
getDateRangeQueryType()
|
java.util.Date |
getFromDate()
|
java.lang.String |
getKey()
|
java.util.List |
getParameters()
List of parameters as String s or SearchQuery s. |
java.util.Date |
getToDate()
|
int |
hashCode()
|
boolean |
isIncludeFrom()
|
boolean |
isIncludeTo()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateRangeQuery(@Nullable java.util.Date from, @Nullable java.util.Date to, boolean includeFrom, boolean includeTo, DateRangeQuery.DateRangeQueryType dateRangeQueryType)
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 rangeincludeTo
- include the end date in the rangedateRangeQueryType
- the type of range query. See
DateRangeQuery.DateRangeQueryType
public DateRangeQuery(DateRangeQuery.DateRange dateRange, DateRangeQuery.DateRangeQueryType dateRangeQueryType)
dateRange
- the dateRange. See DateRangeQuery.DateRange
dateRangeQueryType
- the type of range query. See
DateRangeQuery.DateRangeQueryType
Method Detail |
---|
public java.lang.String getKey()
getKey
in interface SearchQuery
public java.util.List getParameters()
SearchQuery
String
s or SearchQuery
s.
getParameters
in interface SearchQuery
String
s or SearchQuery
s.public java.util.Date getFromDate()
public java.util.Date getToDate()
public boolean isIncludeFrom()
public boolean isIncludeTo()
public DateRangeQuery.DateRangeQueryType getDateRangeQueryType()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |