|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Strings or SearchQuerys. |
| 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 search
public DateModifiedQuery(int daysAgo,
java.util.Date currentTime)
daysAgo - number of days ago to querycurrentTime - date to pretend is the current time| Method Detail |
|---|
public java.lang.String getKey()
getKey in interface SearchQuerypublic java.util.List getParameters()
SearchQueryStrings or SearchQuerys.
getParameters in interface SearchQueryStrings or SearchQuerys.public java.util.Date getFromTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||