public class XWikiRCSNodeInfo extends AbstractSimpleClass implements Comparable<XWikiRCSNodeInfo>
Constructor and Description |
---|
XWikiRCSNodeInfo()
default constructor used in Hibernate to load this class.
|
XWikiRCSNodeInfo(XWikiRCSNodeId id) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(XWikiRCSNodeInfo o) |
String |
getAuthor() |
String |
getComment() |
XWikiRCSNodeContent |
getContent(XWikiContext context) |
Date |
getDate() |
XWikiRCSNodeId |
getId() |
org.suigeneris.jrcs.rcs.Version |
getVersion() |
boolean |
isDiff() |
boolean |
isMinorEdit() |
void |
setAuthor(String updateAuthor) |
void |
setComment(String comment) |
void |
setContent(XWikiRCSNodeContent content) |
void |
setDate(Date updateDate) |
void |
setDiff(boolean diff) |
void |
setId(XWikiRCSNodeId id) |
equals, hashCode, toString
public XWikiRCSNodeInfo()
public XWikiRCSNodeInfo(XWikiRCSNodeId id)
id
- - primary key.public XWikiRCSNodeId getId()
public void setId(XWikiRCSNodeId id)
id
- - primary key.public Date getDate()
public void setDate(Date updateDate)
updateDate
- - date of this modification.public String getAuthor()
public void setAuthor(String updateAuthor)
updateAuthor
- - author of modification.public String getComment()
public void setComment(String comment)
comment
- - modification's comment.public boolean isMinorEdit()
public boolean isDiff()
public void setDiff(boolean diff)
diff
- - is patch (true) or full version (false). Should not be used directly.XWikiPatch.setDiff(boolean)
public XWikiRCSNodeContent getContent(XWikiContext context) throws XWikiException
context
- - load with this context. If null then do not load.XWikiRCSNodeContent
for this node.XWikiException
- if can't loadpublic void setContent(XWikiRCSNodeContent content)
content
- - XWikiRCSNodeContent
for this node.public org.suigeneris.jrcs.rcs.Version getVersion()
public int compareTo(XWikiRCSNodeInfo o)
compareTo
in interface Comparable<XWikiRCSNodeInfo>
Copyright © 2004–2021 XWiki. All rights reserved.