Package org.bsc.confluence.xmlrpc.model
Class Page
- java.lang.Object
-
- org.bsc.confluence.xmlrpc.model.MapObject
-
- org.bsc.confluence.xmlrpc.model.PageSummary
-
- org.bsc.confluence.xmlrpc.model.Page
-
- All Implemented Interfaces:
ConfluenceService.Model.Page,ConfluenceService.Model.PageSummary
public class Page extends PageSummary implements ConfluenceService.Model.Page
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()the page contentStringgetContentStatus()status of the page (eg current or deleted)DategetCreated()timestamp page was createdStringgetCreator()username of the creatorDategetModified()timestamp page was modifiedStringgetModifier()username of the page's last modifierintgetVersion()the version number of this pagebooleanisCurrent()whether the page is current and not deletedbooleanisHomePage()whether or not this page is the space's homepagevoidsetContent(String content)voidsetContentStatus(String contentStatus)voidsetCreated(Date created)voidsetCreator(String creator)voidsetCurrent(boolean current)voidsetHomePage(boolean homePage)voidsetModified(Date modified)voidsetModifier(String modifier)voidsetVersion(int version)Map<String,Object>toRawMap()-
Methods inherited from class org.bsc.confluence.xmlrpc.model.PageSummary
getId, getLocks, getParentId, getSpace, getTitle, getUrl, setId, setLocks, setParentId, setSpace, setTitle, setUrl
-
Methods inherited from class org.bsc.confluence.xmlrpc.model.MapObject
getBoolean, getDate, getInt, getList, getLong, getMap, getString, setBoolean, setBoolean, setDate, setDate, setInt, setList, setLong, setMap, setString, toMap, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.bsc.confluence.ConfluenceService.Model.PageSummary
getId, getParentId, getSpace, getTitle
-
-
-
-
Method Detail
-
getVersion
public int getVersion()
the version number of this page- Specified by:
getVersionin interfaceConfluenceService.Model.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)
-
-