Package com.atlassian.confluence.core
Class VersionHistorySummary
java.lang.Object
com.atlassian.confluence.core.VersionHistorySummary
That bit of a ContentEntityObject relevant to a version history
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVersionHistorySummary
(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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.since 6.4.0 usegetContributorSet()
long
getId()
Deprecated.since 5.11.Deprecated.since 5.2.int
int
hashCode()
boolean
static String
renderVersionComment
(String versionComment) Provide a standard wiki-rendering for version comments.
-
Constructor Details
-
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
-
-
Method Details
-
renderVersionComment
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.since 5.11. UsegetContributors()
instead -
getContributors
Deprecated.since 6.4.0 usegetContributorSet()
- Returns:
- a list of
ConfluenceUser
who have contributed to changes on the page
-
getContributorSet
- Returns:
- a set of
ConfluenceUser
who have contributed to changes on the page - Since:
- 6.4.0
-
getLastModifierName
Deprecated.since 5.2. SeegetLastModifier()
instead.- Returns:
- the username of the last modifier
-
getLastModificationDate
-
getVersionComment
-
getRenderedVersionComment
-
isVersionCommentAvailable
public boolean isVersionCommentAvailable() -
hashCode
public int hashCode() -
equals
-