public class Page extends PageSummary
Modifier and Type | Method and Description |
---|---|
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() |
getId, getLocks, getParentId, getSpace, getTitle, getUrl, setId, setLocks, setParentId, setSpace, setTitle, setUrl
public Page()
public Page(Map data)
public int getVersion()
public void setVersion(int version)
public String getContent()
public void setContent(String content)
public Date getCreated()
public void setCreated(Date created)
public String getCreator()
public void setCreator(String creator)
public Date getModified()
public void setModified(Date modified)
public String getModifier()
public void setModifier(String modifier)
public boolean isHomePage()
public void setHomePage(boolean homePage)
public String getContentStatus()
public void setContentStatus(String contentStatus)
public boolean isCurrent()
public void setCurrent(boolean current)
Copyright © 2016 The Codehaus Foundation. All rights reserved.