org.codehaus.swizzle.confluence
Class Page

java.lang.Object
  extended by org.codehaus.swizzle.confluence.MapObject
      extended by org.codehaus.swizzle.confluence.PageSummary
          extended by org.codehaus.swizzle.confluence.Page

public class Page
extends PageSummary

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
Page()
           
Page(Map data)
           
 
Method Summary
 String getContent()
          the page content
 String getContentStatus()
          status of the page (eg current or deleted)
 Date getCreated()
          timestamp page was created
 String getCreator()
          username of the creator
 Date getModified()
          timestamp page was modified
 String getModifier()
          username of the page's last modifier
 int getVersion()
          the version number of this page
 boolean isCurrent()
          whether the page is current and not deleted
 boolean isHomePage()
          whether or not this page is the space's homepage
 void setContent(String content)
           
 void setContentStatus(String contentStatus)
           
 void setCreated(Date created)
           
 void setCreator(String creator)
           
 void setCurrent(boolean current)
           
 void setHomePage(boolean homePage)
           
 void setModified(Date modified)
           
 void setModifier(String modifier)
           
 void setVersion(int version)
           
 Map toRawMap()
           
 
Methods inherited from class org.codehaus.swizzle.confluence.PageSummary
getId, getLocks, getParentId, getSpace, getTitle, getUrl, setId, setLocks, setParentId, setSpace, setTitle, setUrl
 
Methods inherited from class org.codehaus.swizzle.confluence.MapObject
getBoolean, getDate, getInt, getList, getMap, getString, setBoolean, setBoolean, setDate, setDate, setInt, setInt, setList, setMap, setString, toMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page

public Page()

Page

public Page(Map data)
Method Detail

getVersion

public int getVersion()
the version number of this page


setVersion

public void setVersion(int version)

getContent

public String getContent()
the page content


setContent

public void setContent(String content)

getCreated

public Date getCreated()
timestamp page was created


setCreated

public void setCreated(Date created)

getCreator

public String getCreator()
username of the creator


setCreator

public void setCreator(String creator)

getModified

public Date getModified()
timestamp page was modified


setModified

public void setModified(Date modified)

getModifier

public String getModifier()
username of the page's last modifier


setModifier

public void setModifier(String modifier)

isHomePage

public boolean isHomePage()
whether or not this page is the space's homepage


setHomePage

public void setHomePage(boolean homePage)

getContentStatus

public String getContentStatus()
status of the page (eg current or deleted)


setContentStatus

public void setContentStatus(String contentStatus)

isCurrent

public boolean isCurrent()
whether the page is current and not deleted


setCurrent

public void setCurrent(boolean current)

toRawMap

public Map toRawMap()
Overrides:
toRawMap in class MapObject


Copyright © 2012 The Codehaus Foundation. All Rights Reserved.