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
  • Constructor Details

  • Method Details

    • 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. Use getContributors() instead
    • getContributors

      @Deprecated public List<ConfluenceUser> getContributors()
      Deprecated.
      since 6.4.0 use getContributorSet()
      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. See getLastModifier() instead.
      Returns:
      the username of the last modifier
    • getLastModificationDate

      public Date getLastModificationDate()
    • getVersionComment

      public String getVersionComment()
    • getRenderedVersionComment

      public String getRenderedVersionComment()
    • isVersionCommentAvailable

      public boolean isVersionCommentAvailable()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object