Methods
| Modifier and Type |
Method and Description |
void |
addAttachment(AttachmentImpl attachment) |
protected void |
addPage(String pageName,
PageImpl page) |
void |
addPublicPage(PageImpl page) |
String |
addRelatedPage(PageImpl page)
add a related page
|
void |
addWikiPage(PageImpl page) |
NTVersion |
checkin() |
void |
checkout() |
abstract AttachmentImpl |
createAttachment() |
AttachmentImpl |
createAttachment(String fileName,
org.chromattic.ext.ntdef.Resource contentResource) |
protected abstract AttachmentImpl |
createContent() |
protected abstract MigratingMixin |
createMigratingMixin() |
abstract UpdateAttachmentMixin |
createUpdateAttachmentMixin() |
protected abstract WatchedMixin |
createWatchedMixin() |
String |
getActivityId() |
abstract ActivityInfoMixin |
getActivityInfoMixin() |
AttachmentImpl |
getAttachment(String attachmentId) |
AttachmentImpl |
getAttachmentByRootPermisison(String attachmentId) |
Collection<AttachmentImpl> |
getAttachments() |
abstract Collection<AttachmentImpl> |
getAttachmentsByChromattic() |
Collection<AttachmentImpl> |
getAttachmentsExcludeContent() |
Collection<AttachmentImpl> |
getAttachmentsExcludeContentByRootPermisison() |
abstract String |
getAuthor() |
Map<String,PageImpl> |
getChildPages() |
Map<String,PageImpl> |
getChildrenByRootPermission() |
protected abstract Map<String,PageImpl> |
getChildrenContainer() |
org.chromattic.api.ChromatticSession |
getChromatticSession() |
abstract String |
getComment() |
AttachmentImpl |
getContent() |
protected abstract AttachmentImpl |
getContentByChromattic() |
abstract Date |
getCreatedDate() |
String |
getID() |
javax.jcr.Node |
getJCRPageNode() |
javax.jcr.Session |
getJCRSession() |
abstract MigratingMixin |
getMigratingMixin() |
abstract MovedMixin |
getMovedMixin() |
MOWService |
getMOWService() |
abstract String |
getName() |
abstract boolean |
getOverridePermission() |
abstract String |
getOwner() |
abstract PageImpl |
getParentPage() |
abstract String |
getPath() |
HashMap<String,String[]> |
getPermission() |
Map<String,javax.jcr.Value> |
getReferredUUIDs()
get reference uuids of current page
|
List<PageImpl> |
getRelatedPages() |
abstract RemovedMixin |
getRemovedMixin() |
abstract RenamedMixin |
getRenamedMixin() |
abstract String |
getSyntax() |
String |
getTitle() |
abstract String |
getTitleByChromattic() |
abstract Trash |
getTrash() |
abstract UncachedMixin |
getUncachedMixin() |
abstract UpdateAttachmentMixin |
getUpdateAttachmentMixin() |
abstract Date |
getUpdatedDate() |
abstract String |
getURL() |
VersionableMixin |
getVersionableMixin() |
abstract WatchedMixin |
getWatchedMixin() |
WikiImpl |
getWiki() |
WikiHome |
getWikiHome() |
PageImpl |
getWikiPage(String pageId) |
abstract String |
getWorkspace() |
boolean |
hasPermission(PermissionType permissionType) |
boolean |
hasPermission(PermissionType permissionType,
org.exoplatform.services.security.Identity user) |
boolean |
isMinorEdit() |
void |
makeVersionable() |
void |
makeWatched() |
void |
migrateAttachmentPermission() |
void |
migrateLegacyData()
Migrates old page history data on the fly: 1.create version history of content child node
based on the history of page node, 2.remove the mix:versionable from page node.
|
abstract void |
remove() |
void |
removeAllRelatedPages() |
void |
removeAttachment(String attachmentId) |
String |
removeRelatedPage(PageImpl page)
remove a specified related page.
|
void |
restore(String versionName,
boolean removeExisting) |
void |
setActivityId(String activityId) |
abstract void |
setActivityInfoMixin(ActivityInfoMixin activity) |
abstract void |
setAuthor(String author) |
abstract void |
setComment(String comment) |
void |
setComponentManager(org.xwiki.component.manager.ComponentManager componentManager) |
protected abstract void |
setContentByChromattic(AttachmentImpl content) |
abstract void |
setCreatedDate(Date date) |
abstract void |
setMigratingMixin(MigratingMixin mix) |
void |
setMinorEdit(boolean isMinorEdit) |
abstract void |
setMovedMixin(MovedMixin move) |
void |
setMOWService(MOWService mowService) |
abstract void |
setName(String name) |
void |
setNonePermission() |
abstract void |
setOverridePermission(boolean isOverridePermission) |
abstract void |
setOwner(String owner) |
abstract void |
setParentPage(PageImpl page) |
void |
setPermission(HashMap<String,String[]> permissions) |
abstract void |
setRemovedMixin(RemovedMixin remove) |
abstract void |
setRenamedMixin(RenamedMixin mix) |
abstract void |
setSyntax(String syntax) |
void |
setTitle(String title) |
abstract void |
setTitleByChromattic(String title) |
abstract void |
setTrash(Trash trash) |
abstract void |
setUncachedMixin(UncachedMixin mix) |
abstract void |
setUpdateAttachmentMixin(UpdateAttachmentMixin mix) |
abstract void |
setUpdatedDate(Date date) |
abstract void |
setURL(String url) |
abstract void |
setWatchedMixin(WatchedMixin mix) |