com.atlassian.confluence.it
Class Page

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

public class Page
extends java.lang.Object
implements ContentEntity


Constructor Summary
Page(Space space, java.lang.String title, java.lang.String content)
           
Page(Space space, java.lang.String title, java.lang.String content, long parentPageId)
           
Page(java.lang.String title, java.lang.String content, Page parentPage)
           
 
Method Summary
 java.lang.String getAddCommentUrl()
           
 java.lang.String getContent()
          Return the content of this entity.
 java.lang.String getEditPageTitle()
           
 java.lang.String getEditUrl()
          Return the url where this entity can be edited.
 long getId()
          Return the id used for persistence of this entity.
 java.lang.String getPageInfoUrl()
           
 java.lang.String getPageSourceUrl()
           
 long getParentPageId()
           
 Space getSpace()
          Return the space this content belongs to.
 java.lang.String getTitle()
           
 java.lang.String getUrl()
           
 int getVersion()
           
 java.lang.String getViewPageTitle()
           
 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

Page

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

Page

public Page(Space space,
            java.lang.String title,
            java.lang.String content,
            long parentPageId)

Page

public Page(java.lang.String title,
            java.lang.String content,
            Page parentPage)
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()

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)

getParentPageId

public long getParentPageId()

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getUrl

public java.lang.String getUrl()

getViewPageTitle

public java.lang.String getViewPageTitle()

getEditPageTitle

public java.lang.String getEditPageTitle()

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

getPageInfoUrl

public java.lang.String getPageInfoUrl()

getPageSourceUrl

public java.lang.String getPageSourceUrl()

getAddCommentUrl

public java.lang.String getAddCommentUrl()

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

getId

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

Specified by:
getId in interface ContentEntity


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