Package dw.xmlrpc
Class PageVersion
- java.lang.Object
-
- dw.xmlrpc.PageVersion
-
public class PageVersion extends java.lang.Object
Describe a version of a page. Dokuwiki may not always return every field (because the information is already missing on Dokuwiki's side or because it isn't meant to give such field for a given query). Hence it's better to always check if a given field isn't null before using it.
-
-
Constructor Summary
Constructors Constructor Description PageVersion(java.lang.String pageId, java.lang.String author, java.lang.String ip, java.lang.String type, java.lang.String summary, java.util.Date modified, java.lang.Integer version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
author()
Author of the revisionjava.lang.String
ip()
Ip who made this revisionjava.util.Date
lastModified()
Date of the revisionjava.util.Date
modified()
Alias of lastModifie Provided because it's called this way by the xmlrpc queryjava.lang.String
pageId()
Page id (namespace + name)java.lang.String
summary()
Summary of the revisionjava.lang.String
toString()
java.lang.String
type()
Type of revision (creation, edition, ...)java.lang.String
user()
Alias ofauthor()
Provided because this is how this fields is named by the xmlrpc queryjava.lang.Integer
version()
Version of the revision, as a timestamp Should correspond tomodified()
-
-
-
Method Detail
-
pageId
public java.lang.String pageId()
Page id (namespace + name)
-
author
public java.lang.String author()
Author of the revision
-
user
public java.lang.String user()
Alias ofauthor()
Provided because this is how this fields is named by the xmlrpc query
-
ip
public java.lang.String ip()
Ip who made this revision
-
type
public java.lang.String type()
Type of revision (creation, edition, ...)
-
summary
public java.lang.String summary()
Summary of the revision
-
lastModified
public java.util.Date lastModified()
Date of the revision
-
modified
public java.util.Date modified()
Alias of lastModifie Provided because it's called this way by the xmlrpc query
-
version
public java.lang.Integer version()
Version of the revision, as a timestamp Should correspond tomodified()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-