com.atlassian.confluence.core
Class VersionHistorySummary

java.lang.Object
  extended by com.atlassian.confluence.core.VersionHistorySummary

public class VersionHistorySummary
extends Object

That bit of a ContentEntityObject relevant to a version history


Constructor Summary
VersionHistorySummary(ContentEntityObject entity)
           
VersionHistorySummary(long contentId, int version, String lastModifierName, Date lastModifiedDate, String versionComment)
           
 
Method Summary
 long getId()
           
 Date getLastModificationDate()
           
 String getLastModifierName()
           
 String getRenderedVersionComment()
           
 int getVersion()
           
 String getVersionComment()
           
 boolean isVersionCommentAvailable()
           
static String renderVersionComment(String versionComment)
          Provide a standard wiki-rendering for version comments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionHistorySummary

public VersionHistorySummary(long contentId,
                             int version,
                             String lastModifierName,
                             Date lastModifiedDate,
                             String versionComment)

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()

getLastModifierName

public String getLastModifierName()

getLastModificationDate

public Date getLastModificationDate()

getVersionComment

public String getVersionComment()

getRenderedVersionComment

public String getRenderedVersionComment()

isVersionCommentAvailable

public boolean isVersionCommentAvailable()


Copyright © 2003-2012 Atlassian. All Rights Reserved.