public interface Page
| Modifier and Type | Method and Description |
|---|---|
void |
addPublicPage(Page page)
Add a public wiki page
|
void |
addWikiPage(Page page)
Add a wiki page as child page
|
Collection<? extends Attachment> |
getAttachments()
Get the attachments of this page
|
String |
getAuthor()
The Author is changed when any part of the document changes (content, attachments).
|
String |
getComment() |
Attachment |
getContent()
Get the actual content of the page
|
Date |
getCreatedDate()
The date when creating page.
|
javax.jcr.Node |
getJCRPageNode()
Get JCR node of wiki page
|
String |
getName()
Get jcr node name
|
String |
getOwner()
Get the owner of the page
|
PageImpl |
getParentPage()
get the parent page
|
HashMap<String,String[]> |
getPermission()
Get map of permission of page
|
String |
getSyntax()
Get the syntax used in that page
|
String |
getTitle() |
Date |
getUpdatedDate()
The date when any part of the document changes (content, attachments).
|
String |
getURL()
get URL of page.
|
VersionableMixin |
getVersionableMixin()
get Versionable Mixin
|
Wiki |
getWiki()
get Wiki of page
|
boolean |
hasPermission(PermissionType permissionType) |
boolean |
hasPermission(PermissionType permissionType,
org.exoplatform.services.security.Identity user)
Check if user has permisison on page or not
|
boolean |
isMinorEdit()
is page in minor edit or not
|
void |
remove()
Detroy wiki page
|
void |
setComment(String comment) |
void |
setMinorEdit(boolean isMinorEdit)
is page in minor edit or not
|
void |
setName(String name)
set jcr node name
|
void |
setNonePermission()
Reset page permisison
|
void |
setPermission(HashMap<String,String[]> permissions)
Set permission to page
|
void |
setSyntax(String syntax) |
void |
setTitle(String title) |
void |
setURL(String url)
set url
|
String getName()
void setName(String name)
name - NodenameString getOwner()
String getAuthor()
Date getCreatedDate()
Date getUpdatedDate()
Attachment getContent()
String getSyntax()
void setSyntax(String syntax)
String getTitle()
void setTitle(String title)
String getComment()
void setComment(String comment)
Collection<? extends Attachment> getAttachments() throws Exception
Exceptionboolean hasPermission(PermissionType permissionType) throws Exception
Exceptionboolean hasPermission(PermissionType permissionType, org.exoplatform.services.security.Identity user) throws Exception
permissionType - The type of permisison to check PermissionType}user - The user to checkExceptionHashMap<String,String[]> getPermission() throws Exception
Exceptionvoid setPermission(HashMap<String,String[]> permissions) throws Exception
permissions - ExceptionString getURL()
void addWikiPage(Page page)
page - javax.jcr.Node getJCRPageNode()
throws Exception
ExceptionVersionableMixin getVersionableMixin()
void remove()
Wiki getWiki()
void setMinorEdit(boolean isMinorEdit)
isMinorEdit - boolean isMinorEdit()
void setURL(String url)
url - PageImpl getParentPage()
void addPublicPage(Page page) throws Exception
page - ExceptionCopyright © 2003–2014 eXo Platform SAS. All rights reserved.