|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Page
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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
Exception
boolean hasPermission(PermissionType permissionType)
throws Exception
Exception
boolean hasPermission(PermissionType permissionType,
org.exoplatform.services.security.Identity user)
throws Exception
permissionType - The type of permisison to check PermissionType}user - The user to check
Exception
HashMap<String,String[]> getPermission()
throws Exception
Exception
void 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 -
Exception
void setNonePermission()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||