Package com.xpn.xwiki.api
Class RevisionInfo
- java.lang.Object
-
- com.xpn.xwiki.api.Api
-
- com.xpn.xwiki.api.RevisionInfo
-
public class RevisionInfo extends Api
API object for get info about some version of Document.- Version:
- $Id: 796cf0181bb79688898fd4285d6b0fa771729a1d $
-
-
Constructor Summary
Constructors Constructor Description RevisionInfo(XWikiRCSNodeInfo nodeInfo, XWikiContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
String
getComment()
Date
getDate()
String
getVersion()
boolean
isMinorEdit()
-
Methods inherited from class com.xpn.xwiki.api.Api
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
-
-
-
-
Constructor Detail
-
RevisionInfo
public RevisionInfo(XWikiRCSNodeInfo nodeInfo, XWikiContext context)
- Parameters:
nodeInfo
- - from that nodeinfo all information is gettingcontext
- - needed forApi
-
-
Method Detail
-
getVersion
public String getVersion()
- Returns:
- version of this revision
-
getDate
public Date getDate()
- Returns:
- date of this revision
-
getAuthor
public String getAuthor()
- Returns:
- author of this revision
-
getComment
public String getComment()
- Returns:
- revision comment
-
isMinorEdit
public boolean isMinorEdit()
- Returns:
- is revision is minor
-
-