com.atlassian.confluence.it
Class BlogPost

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

public class BlogPost
extends java.lang.Object
implements ContentEntity


Constructor Summary
BlogPost(Space space, java.lang.String title, java.lang.String content)
           
 
Method Summary
 java.lang.String getContent()
          Return the content of this entity.
 java.lang.String getEditUrl()
          Return the url where this entity can be edited.
 long getId()
          Return the id used for persistence of this entity.
 Space getSpace()
          Return the space this content belongs to.
 java.lang.String getTitle()
           
 int getVersion()
           
 void setContent(java.lang.String content)
           
 void setId(long id)
          Set the id used for persistence of this entity.
 void setVersion(int version)
           
 
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)
Method Detail

getId

public long getId()
Description copied from interface: ContentEntity
Return the id used for persistence of this entity.

Specified by:
getId in interface ContentEntity

setId

public void setId(long id)
Description copied from interface: ContentEntity
Set the id used for persistence of this entity.

Specified by:
setId in interface ContentEntity

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

getContent

public java.lang.String getContent()
Description copied from interface: ContentEntity
Return the content of this entity.

Specified by:
getContent in interface ContentEntity

setContent

public void setContent(java.lang.String content)

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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.