|
||||||||||
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.DateModifiedQuery
public class DateModifiedQuery
Constructor Summary | |
---|---|
DateModifiedQuery(int daysAgo)
Query for search results that have been modified within the last n days. |
|
DateModifiedQuery(int daysAgo,
java.util.Date currentTime)
Constructor for testing that allows you to fool the query into thinking that some provided date is the current time. |
Method Summary | |
---|---|
java.util.Date |
getFromTime()
|
java.lang.String |
getKey()
|
java.util.List |
getParameters()
List of parameters as String s or SearchQuery s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateModifiedQuery(int daysAgo)
daysAgo
- number of days ago to searchpublic DateModifiedQuery(int daysAgo, java.util.Date currentTime)
daysAgo
- number of days ago to querycurrentTime
- date to pretend is the current timeMethod 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 getFromTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |