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 class
VersionHistorySummary.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 boolean
equals(Object obj)
List<ConfluenceUser>
getContributors()
Deprecated.since 6.4.0 usegetContributorSet()
Set<ConfluenceUser>
getContributorSet()
long
getId()
Date
getLastModificationDate()
ConfluenceUser
getLastModifier()
Deprecated.since 5.11.String
getLastModifierName()
Deprecated.since 5.2.String
getRenderedVersionComment()
int
getVersion()
String
getVersionComment()
int
hashCode()
boolean
isVersionCommentAvailable()
static String
renderVersionComment(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
ConfluenceUser
who have contributed to changes on the page
-
getContributorSet
public Set<ConfluenceUser> getContributorSet()
- Returns:
- a set of
ConfluenceUser
who 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()
-
-