public class RevisionCriteriaFactory extends Object
| Constructor and Description |
|---|
RevisionCriteriaFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public RevisionCriteria createRevisionCriteria()
public RevisionCriteria createRevisionCriteria(String author)
author - the author of the result setpublic RevisionCriteria createRevisionCriteria(String author, boolean includeMinorVersions)
author - the author of the result setincludeMinorVersions - include minor versions in the setpublic RevisionCriteria createRevisionCriteria(Period period)
period - the time period during which the revisions has been createdpublic RevisionCriteria createRevisionCriteria(Period period, boolean includeMinorVersions)
period - the time period during which the revisions has been createdincludeMinorVersions - include minor versions in the setpublic RevisionCriteria createRevisionCriteria(String author, Period period)
author - the author of the result setperiod - the time period during which the revisions has been createdpublic 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 setCopyright © 2004–2022 XWiki. All rights reserved.