Package com.atlassian.confluence.core
Class VersionHistorySummary
- java.lang.Object
 - 
- com.atlassian.confluence.core.VersionHistorySummary
 
 
- 
public class VersionHistorySummary extends Object
That bit of a ContentEntityObject relevant to a version history 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersionHistorySummary.Builder 
- 
Constructor Summary
Constructors Constructor Description VersionHistorySummary(long contentId, int version, ConfluenceUser lastModifier, Date lastModifiedDate, String versionComment)Deprecated.since 6.4.0VersionHistorySummary(long contentId, int version, ConfluenceUser lastModifier, List<ConfluenceUser> contributors, Date lastModifiedDate, String versionComment)Deprecated.since 6.4.0VersionHistorySummary(long contentId, int version, String lastModifier, Date lastModifiedDate, String versionComment)Deprecated.since 5.2.VersionHistorySummary(ContentEntityObject entity) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)List<ConfluenceUser>getContributors()Deprecated.since 6.4.0 usegetContributorSet()Set<ConfluenceUser>getContributorSet()longgetId()DategetLastModificationDate()ConfluenceUsergetLastModifier()Deprecated.since 5.11.StringgetLastModifierName()Deprecated.since 5.2.StringgetRenderedVersionComment()intgetVersion()StringgetVersionComment()inthashCode()booleanisVersionCommentAvailable()static StringrenderVersionComment(String versionComment)Provide a standard wiki-rendering for version comments. 
 - 
 
- 
- 
Constructor Detail
- 
VersionHistorySummary
@Deprecated public VersionHistorySummary(long contentId, int version, String lastModifier, Date lastModifiedDate, String versionComment)
Deprecated. 
- 
VersionHistorySummary
@Deprecated public VersionHistorySummary(long contentId, int version, ConfluenceUser lastModifier, Date lastModifiedDate, String versionComment)
Deprecated.since 6.4.0- Since:
 - 5.2
 
 
- 
VersionHistorySummary
@Deprecated public VersionHistorySummary(long contentId, int version, ConfluenceUser lastModifier, List<ConfluenceUser> contributors, Date lastModifiedDate, String versionComment)
Deprecated.since 6.4.0- Since:
 - 5.2
 
 
- 
VersionHistorySummary
public VersionHistorySummary(ContentEntityObject entity)
 
 - 
 
- 
Method Detail
- 
renderVersionComment
public static String renderVersionComment(String versionComment)
Provide a standard wiki-rendering for version comments. By default, version comments are rendered with only simple text markup, and with no paragraphs.- Parameters:
 versionComment-- Returns:
 - the comment, rendered for display.
 
 
- 
getId
public long getId()
 
- 
getVersion
public int getVersion()
 
- 
getLastModifier
@Deprecated public ConfluenceUser getLastModifier()
Deprecated.since 5.11. UsegetContributors()instead 
- 
getContributors
@Deprecated public List<ConfluenceUser> getContributors()
Deprecated.since 6.4.0 usegetContributorSet()- Returns:
 - a list of 
ConfluenceUserwho have contributed to changes on the page 
 
- 
getContributorSet
public Set<ConfluenceUser> getContributorSet()
- Returns:
 - a set of 
ConfluenceUserwho have contributed to changes on the page - Since:
 - 6.4.0
 
 
- 
getLastModifierName
@Deprecated public String getLastModifierName()
Deprecated.since 5.2. SeegetLastModifier()instead.- Returns:
 - the username of the last modifier
 
 
- 
getLastModificationDate
public Date getLastModificationDate()
 
- 
getVersionComment
public String getVersionComment()
 
- 
getRenderedVersionComment
public String getRenderedVersionComment()
 
- 
isVersionCommentAvailable
public boolean isVersionCommentAvailable()
 
 - 
 
 -