|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xpn.xwiki.criteria.impl.RevisionCriteriaFactory
public class RevisionCriteriaFactory
Constructor Summary | |
---|---|
RevisionCriteriaFactory()
|
Method Summary | |
---|---|
RevisionCriteria |
createRevisionCriteria()
Creates a default RevisionCriteria, the default criteria matches the versions created by any author, from January 1, 1970, 00:00:00 GMT (epoch) to the current date, minor versions aren't included. |
RevisionCriteria |
createRevisionCriteria(Period period)
Creates a revision criteria matching the revisions created by any author, during the given period. |
RevisionCriteria |
createRevisionCriteria(Period period,
boolean includeMinorVersions)
Creates a revision criteria matching the revisions created by any author, during the given period. |
RevisionCriteria |
createRevisionCriteria(String author)
Creates a revision criteria matching all the revisions created by the given author. |
RevisionCriteria |
createRevisionCriteria(String author,
boolean includeMinorVersions)
Creates a revision criteria matching all the revisions created by the given author. |
RevisionCriteria |
createRevisionCriteria(String author,
Period period)
Creates a revision criteria matching the revisions created by the given author, during the given period. |
RevisionCriteria |
createRevisionCriteria(String author,
Period period,
boolean includeMinorVersions)
Creates a revision criteria matching the revisions created by the given author, during the given period. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RevisionCriteriaFactory()
Method Detail |
---|
public RevisionCriteria createRevisionCriteria()
public RevisionCriteria createRevisionCriteria(String author)
author
- the author of the result set
public RevisionCriteria createRevisionCriteria(String author, boolean includeMinorVersions)
author
- the author of the result setincludeMinorVersions
- include minor versions in the set
public RevisionCriteria createRevisionCriteria(Period period)
period
- the time period during which the revisions has been created
public RevisionCriteria createRevisionCriteria(Period period, boolean includeMinorVersions)
period
- the time period during which the revisions has been createdincludeMinorVersions
- include minor versions in the set
public RevisionCriteria createRevisionCriteria(String author, Period period)
author
- the author of the result setperiod
- the time period during which the revisions has been created
public RevisionCriteria createRevisionCriteria(String author, Period period, boolean includeMinorVersions)
author
- the author of the result setperiod
- the time period during which the revisions has been createdincludeMinorVersions
- include minor versions in the set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |