com.atlassian.confluence.it
Class BlogPost

java.lang.Object
  extended by com.atlassian.confluence.it.AbstractContentEntity
      extended by com.atlassian.confluence.it.BlogPost
All Implemented Interfaces:
ContentEntity, LinkableContent, TitledContent

public class BlogPost
extends AbstractContentEntity
implements LinkableContent


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModifier
 
Constructor Summary
BlogPost(BlogPost blogPost)
           
BlogPost(Space space, java.lang.String title, java.lang.String content)
           
 
Method Summary
 java.lang.String getAddCommentUrl(java.util.Date blogPostDate)
           
 java.lang.String getDateString(java.util.Date blogPostDate)
           
 java.lang.String getEditUrl()
          Return the url where this entity can be edited.
 Space getSpace()
          Return the space this content belongs to.
 java.lang.String getTitle()
           
 java.lang.String getUrl()
           
 java.lang.String getUrl(java.util.Date blogPostDate)
           
 int getVersion()
           
 void setVersion(int version)
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getId, getLastModifier, setContent, setId, setLastModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogPost

public BlogPost(Space space,
                java.lang.String title,
                java.lang.String content)

BlogPost

public BlogPost(BlogPost blogPost)
Method Detail

getSpace

public Space getSpace()
Description copied from interface: ContentEntity
Return the space this content belongs to.

Specified by:
getSpace in interface ContentEntity

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface ContentEntity
Specified by:
getTitle in interface TitledContent
Returns:
the title of this entity

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getEditUrl

public java.lang.String getEditUrl()
Description copied from interface: ContentEntity
Return the url where this entity can be edited.

Specified by:
getEditUrl in interface ContentEntity

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface LinkableContent

getUrl

public java.lang.String getUrl(java.util.Date blogPostDate)

getAddCommentUrl

public java.lang.String getAddCommentUrl(java.util.Date blogPostDate)

getDateString

public java.lang.String getDateString(java.util.Date blogPostDate)


Copyright © 2003-2010 Atlassian. All Rights Reserved.