Modifier and Type | Method and Description |
---|---|
Page |
PageContentTypeApiSupport.create(Content newContent) |
Page |
PageContentTypeApiSupport.update(Content updatedContent,
Page page) |
Modifier and Type | Method and Description |
---|---|
Class<Page> |
PageContentTypeApiSupport.getEntityClass() |
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
PageContentTypeApiSupport.getChildrenForThisType(Page content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Page |
PageContentTypeApiSupport.update(Content updatedContent,
Page page) |
ValidationResult |
PageContentTypeApiSupport.validateUpdate(Content updatedContent,
Page sceo) |
Modifier and Type | Method and Description |
---|---|
Map<ContentId,Map<String,Object>> |
PageContentTypeApiSupport.getExtensions(Iterable<Page> pages,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
String |
HtmlExportHrefEvaluator.createHref(ConversionContext context,
Page page,
String anchor) |
Modifier and Type | Method and Description |
---|---|
Page |
PageResourceIdentifierResolver.resolve(PageResourceIdentifier pageResourceIdentifier,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultResourceIdentifierMatcher.matches(Page page,
ResourceIdentifier ri) |
Constructor and Description |
---|
AttachmentOwningContentResolver(ResourceIdentifierResolver<PageResourceIdentifier,Page> pageResourceResolver,
ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceResolver,
ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject> contentEntityResourceResolver,
ResourceIdentifierResolver<DraftResourceIdentifier,Draft> draftResourceResolver) |
Modifier and Type | Method and Description |
---|---|
ServiceCommand |
PageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf)
Retrieve a command for creating a new page for the specified user.
|
ServiceCommand |
DefaultPageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf) |
ServiceCommand |
PageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider)
This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
from creating a brand new page.
|
ServiceCommand |
DefaultPageService.newCreatePageCommandFromExisting(PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider) |
Modifier and Type | Method and Description |
---|---|
Page |
CreatePageCommandImpl.getCreatedPage() |
Page |
CreatePageCommand.getCreatedPage() |
Page |
TitleAndSpaceKeyPageLocator.getPage() |
Page |
IdPageLocator.getPage() |
Page |
PageLocator.getPage() |
Page |
MovePageToTopOfSpaceCommand.getPage() |
Page |
MovePageCommandImpl.getPage() |
Page |
PageProvider.getPage() |
Page |
SinglePageLocator.getPage() |
protected Page |
RemovePageVersionCommand.getPage() |
Page |
IdAndVersionPageLocator.getPage() |
Page |
MovePageCommand.getPage() |
Modifier and Type | Method and Description |
---|---|
boolean |
MovePageCommandHelper.childPageTitleAlreadyExists(Page sourcePage,
Space targetSpace) |
List<String> |
MovePageCommandHelper.listOfPageTitlesAlreadyExist(Page sourcePage,
Space targetSpace) |
Constructor and Description |
---|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper) |
CreatePageFromExistingCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper) |
SinglePageLocator(Page page) |
Modifier and Type | Method and Description |
---|---|
String |
PageUiSupport.getContentCssClass(Page content) |
String |
PageUiSupport.getContentTypeI18NKey(Page content) |
String |
PageUiSupport.getIconCssClass(Page content) |
String |
PageUiSupport.getIconFilePath(Page content,
int size) |
String |
PageUiSupport.getIconPath(Page content,
int size) |
Modifier and Type | Method and Description |
---|---|
List<Page> |
ContentPermissionManager.getPermittedChildren(Page page,
com.atlassian.user.User user)
Returns a list of
Page objects that are direct children of the passed in page. |
List<Page> |
DefaultContentPermissionManager.getPermittedChildren(Page page,
com.atlassian.user.User user)
Returns a list of
Page objects that are direct children of the passed in page. |
List<Page> |
ContentPermissionManager.getPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User user)
Gets the list of child pages under the given page that are visible to the given user.
|
List<Page> |
DefaultContentPermissionManager.getPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
List<Page> |
ContentPermissionManager.getPermittedChildren(Page page,
com.atlassian.user.User user)
Returns a list of
Page objects that are direct children of the passed in page. |
List<Page> |
DefaultContentPermissionManager.getPermittedChildren(Page page,
com.atlassian.user.User user)
Returns a list of
Page objects that are direct children of the passed in page. |
List<Page> |
ContentPermissionManager.getPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User user)
Gets the list of child pages under the given page that are visible to the given user.
|
List<Page> |
DefaultContentPermissionManager.getPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User user) |
Set<ContentPermission> |
ContentPermissionManager.getViewContentPermissions(Page page)
Deprecated.
since 5.8. use
ContentPermissionManager.getContentPermissionSets(ContentEntityObject, String) passing permission type ContentPermission.VIEW_PERMISSION |
Set<ContentPermission> |
DefaultContentPermissionManager.getViewContentPermissions(Page page)
Deprecated.
since 5.8. use
DefaultContentPermissionManager.getContentPermissionSets(ContentEntityObject, String) passing permission type ContentPermission.VIEW_PERMISSION |
boolean |
ContentPermissionManager.hasPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User remoteUser)
Does the given page have children visible to the given user.
|
boolean |
DefaultContentPermissionManager.hasPermittedChildrenIgnoreInheritedPermissions(Page page,
com.atlassian.user.User user) |
boolean |
ContentPermissionManager.isPermissionInherited(Page childPage)
Does the child page get its permissions from any ancestor?
|
boolean |
DefaultContentPermissionManager.isPermissionInherited(Page childPage) |
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentEntityObject> |
ContentEntityObjectDao.findContentBySpaceIdAndStatus(long spaceId,
String status,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<Page> predicate)
Retrieve content for a given space with a particular status.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentEntityObject> |
ContentEntityObjectHibernateDao.findContentBySpaceIdAndStatus(long spaceId,
String status,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<Page> predicate) |
Modifier and Type | Method and Description |
---|---|
Page |
PageCopyEvent.getDestination() |
Page |
PageMoveEvent.getNewParentpage()
Deprecated.
since 5.8. Use
PageMoveEvent.getNewParentPage() instead. |
Page |
PageMoveEvent.getNewParentPage() |
Page |
PageMoveEvent.getOldParentPage() |
Page |
PageCopyEvent.getOrigin() |
Page |
PageEvent.getPage() |
Modifier and Type | Method and Description |
---|---|
List<Page> |
PageMoveEvent.getMovedPageList() |
List<Page> |
PageMoveCompletedEvent.getMovedPageList() |
List<Page> |
PageChildrenReorderEvent.getNewSortedChildPages() |
List<Page> |
PageChildrenReorderEvent.getOldSortedChildPages() |
Constructor and Description |
---|
PageChildrenReorderEvent(Object src,
Page parentPage,
List<Page> oldSortedChildren,
List<Page> newSortedChildren,
com.atlassian.user.User user) |
PageCopyEvent(Object source,
Page origin,
Page destination,
ConfluenceUser initiator,
boolean suppressNotifications) |
PageCreateEvent(Object source,
Page page) |
PageCreateEvent(Object source,
Page page,
Map<String,Serializable> context) |
PageCreateEvent(Object source,
Page page,
Map<String,Serializable> context,
boolean suppressNotifications) |
PageCreateEvent(Object source,
Page page,
Map<String,Serializable> context,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger) |
PageCreateFromTemplateEvent(Object src,
Page page,
String templateId) |
PageEvent(Object source,
Page page)
Deprecated.
since 6.0, use
PageEvent.PageEvent(Object, Page, boolean) instead |
PageEvent(Object source,
Page page,
boolean suppressNotifications) |
PageInfoViewEvent(Object source,
Page page)
Deprecated.
since 6.2.0
|
PageInfoViewEvent(Object source,
Page page,
LocaleInfo localeInfo) |
PageMoveCompletedEvent(Page sourcePage,
List<Page> movedPageList,
Space oldSpace) |
PageMoveEvent(Object src,
Page movedPage,
List<Page> movedPageList,
Space oldSpace,
Page oldParentPage,
Integer oldPosition,
com.atlassian.user.User theMover,
boolean movedBecauseOfParent) |
PageMoveEvent(Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
Integer oldPosition,
com.atlassian.user.User theMover)
|
PageMoveEvent(Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
Integer oldPosition,
com.atlassian.user.User theMover,
boolean movedBecauseOfParent)
|
PageRemoveEvent(Object src,
Page removedPage) |
PageRestoreEvent(Object src,
Page page) |
PageTrashedEvent(Object source,
Page trashedPage,
com.atlassian.user.User trasher)
Deprecated.
since 6.0, use
PageTrashedEvent.PageTrashedEvent(Object, Page, User, boolean) instead |
PageTrashedEvent(Object source,
Page trashedPage,
com.atlassian.user.User trasher,
boolean suppressNotifications) |
PageUpdateEvent(Object src,
Page updatedPage)
|
PageUpdateEvent(Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications)
|
PageUpdateEvent(Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger) |
PageUpdateEvent(Object src,
Page updatedPage,
Page originalPage)
|
PageViewEvent(Object source,
Page page)
Deprecated.
since 6.2.0
|
PageViewEvent(Object source,
Page page,
LocaleInfo localeInfo) |
Constructor and Description |
---|
PageChildrenReorderEvent(Object src,
Page parentPage,
List<Page> oldSortedChildren,
List<Page> newSortedChildren,
com.atlassian.user.User user) |
PageChildrenReorderEvent(Object src,
Page parentPage,
List<Page> oldSortedChildren,
List<Page> newSortedChildren,
com.atlassian.user.User user) |
PageMoveCompletedEvent(Page sourcePage,
List<Page> movedPageList,
Space oldSpace) |
PageMoveEvent(Object src,
Page movedPage,
List<Page> movedPageList,
Space oldSpace,
Page oldParentPage,
Integer oldPosition,
com.atlassian.user.User theMover,
boolean movedBecauseOfParent) |
Modifier and Type | Method and Description |
---|---|
Page |
AbstractCopyPageHierarchyEvent.getDestination() |
Page |
AbstractPageHierarchyEvent.getTargetPage() |
Page |
AbstractCopyPageHierarchyEvent.getTargetPage() |
Constructor and Description |
---|
AbstractCopyPageHierarchyEvent(Object source,
Page root,
Page destination,
ConfluenceUser initiator,
boolean suppressNotifications) |
AbstractPageHierarchyEvent(Object source,
Page page,
ConfluenceUser initiator,
boolean suppressNotifications) |
CopyPageHierarchyFinishEvent(Object source,
Page root,
Page destination,
ConfluenceUser initiator,
boolean suppressNotifications) |
CopyPageHierarchyStartEvent(Object source,
Page root,
Page destination,
ConfluenceUser initiator,
boolean suppressNotifications) |
DeletePageHierarchyFinishEvent(Object source,
Page page,
ConfluenceUser initiator,
boolean suppressNotifications) |
DeletePageHierarchyStartEvent(Object source,
Page page,
ConfluenceUser initiator,
boolean suppressNotifications) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.confluence.impl.audit.handler.AuditHandler<Page> |
AuditHandlerFactory.createPageHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultExportContext.isPageInExport(Page page,
PageManager pageManager) |
boolean |
ExportContext.isPageInExport(Page page,
PageManager pageManager) |
Modifier and Type | Method and Description |
---|---|
String |
AbstractRendererExporterImpl.ContentConverter.convertToXHtml(Page page) |
protected void |
HtmlExporter.exportPage(Page page,
String baseExportPath)
Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.
|
protected void |
AbstractRendererExporterImpl.exportPage(Page page,
String baseExportPath) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Page> |
PageManagerInternal.getChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
PageResponse<Page> |
PageManagerInternal.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page>... filter)
Returns all the current pages in this instance of confluence, limited to the pagination request.
|
PageResponse<Page> |
PageManagerInternal.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page>... filter)
Returns all the current pages in the space, limited to the pagination request.
|
PageResponse<Page> |
PageManagerInternal.getTopLevelPages(Space space,
LimitedRequest pageRequest)
Returns the current top-level pages in a space, limited to the pagination requested.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Page> |
PageManagerInternal.getChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
Modifier and Type | Method and Description |
---|---|
void |
RelatedContentRefactorer.contractAbsoluteReferencesInContent(List<Page> movedPageList) |
void |
DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(List<Page> movedPageList)
Contract all links in moved pages and their referencing pages to relative links
|
void |
RelatedContentRefactorer.contractAbsoluteReferencesInContent(List<Page> movedPageList,
Space previousSpace)
Deprecated.
since 5.9 use contractAbsoluteReferencesInContent(List
|
void |
DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(List<Page> movedPageList,
Space previousSpace)
Deprecated.
since 5.9 use contractAbsoluteReferencesInContent(List
|
void |
RelatedContentRefactorer.updateReferrersForMovingPage(SpaceContentEntityObject referee,
Space previousSpace,
String previousTitle,
List<Page> movedPageList)
Iterate through all the content that currently links to 'referee' and renames all the links, saving the changed
content as it goes.
|
void |
DefaultRelatedContentRefactorer.updateReferrersForMovingPage(SpaceContentEntityObject referee,
Space previousSpace,
String previousTitle,
List<Page> movedPageList) |
Modifier and Type | Method and Description |
---|---|
void |
ChangeDigestReport.addPage(Page page) |
Modifier and Type | Method and Description |
---|---|
Page |
Page.copyLatestVersion()
Copy page information
|
Page |
ContentNode.getPage() |
Page |
ContentTree.getPage(long pageId) |
Page |
PageManager.getPage(long id)
Retrieve the page with the given content ID.
|
Page |
DefaultPageManager.getPage(long id) |
Page |
PageManager.getPage(String spaceKey,
String pageTitle)
Retrieve the latest version of a page by its space key and title.
|
Page |
DefaultPageManager.getPage(String spaceKey,
String pageTitle) |
Page |
PageManager.getPage(String spaceKey,
String pageTitle,
boolean eagerLoadComments)
Deprecated.
since 3.0, use
PageManager.getPageWithComments(String, String) instead. |
Page |
DefaultPageManager.getPage(String spaceKey,
String pageTitle,
boolean eagerLoadComments)
Deprecated.
|
Page |
PageManager.getPageWithComments(String spaceKey,
String pageTitle)
Retrieve the latest version of a page by its space key and title.
|
Page |
DefaultPageManager.getPageWithComments(String spaceKey,
String pageTitle) |
Page |
Page.getParent() |
Modifier and Type | Method and Description |
---|---|
List<Page> |
Page.getAncestors()
Gets the list of ancestors of this page (its parents, and its parents parents, right up to the root level
of the containing space).
|
List<Page> |
Page.getChildren() |
PageResponse<Page> |
DefaultPageManager.getChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
List<Page> |
Page.getDescendants() |
List<Page> |
PageManager.getDescendants(Page page)
Finds all descendant pages of the given page
|
List<Page> |
DefaultPageManager.getDescendants(Page page) |
List<Page> |
Page.getDescendents()
Deprecated.
since 5.5.1. Use
getDescendants() |
PageResponse<Page> |
PageManager.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of DRAFT, limited to the pagination requested.
|
PageResponse<Page> |
DefaultPageManager.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
List<Page> |
ContentTree.getPages() |
List<Page> |
PageManager.getPages(Iterable<Long> ids)
Retrieve a collection of pages with the given content IDs.
|
List<Page> |
DefaultPageManager.getPages(Iterable<Long> ids) |
PageResponse<Page> |
DefaultPageManager.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page>... filters) |
List<Page> |
PageManager.getPages(Space space,
boolean currentOnly) |
List<Page> |
DefaultPageManager.getPages(Space space,
boolean currentOnly) |
PageResponse<Page> |
DefaultPageManager.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page>... filters) |
List<Page> |
PageManager.getPagesWithPermissions(Space space)
Get all current pages in a space and eagerly fetch permissions at the same time.
|
List<Page> |
DefaultPageManager.getPagesWithPermissions(Space space) |
List<Page> |
Page.getSortedChildren() |
List<Page> |
DefaultPageManager.getTopLevelPages(Space space) |
PageResponse<Page> |
DefaultPageManager.getTopLevelPages(Space space,
LimitedRequest pageRequest) |
ListBuilder<Page> |
PageManager.getTopLevelPagesBuilder(Space space)
Get the pages in a space that do not have a parent page.
|
ListBuilder<Page> |
DefaultPageManager.getTopLevelPagesBuilder(Space space)
NOTE: Despite our best intentions, we still have to retrieve all the top level pages and order them outside the
database.
|
List<Page> |
DefaultPageManager.getUnsortedTopLevelPages(Space space) |
Modifier and Type | Method and Description |
---|---|
void |
Page.addChild(Page child) |
int |
ChildPositionComparator.compare(Page page0,
Page page1) |
int |
PageManager.countPagesInSubtree(Page page)
Get number of descendant page including the input page
|
int |
DefaultPageManager.countPagesInSubtree(Page page) |
void |
PageManager.deepCopyPage(PageCopyOptions option,
Page originalPage,
Page destinationPage)
Copy child page of originalPage to destinationPage
|
void |
DefaultPageManager.deepCopyPage(PageCopyOptions pageCopyOptions,
Page originalPage,
Page destinationPage) |
void |
PageManager.deepDeletePage(PageDeleteOptions options,
Page targetPage)
Deletes a page hierarchy
|
void |
DefaultPageManager.deepDeletePage(PageDeleteOptions options,
Page targetPage) |
PageResponse<Page> |
DefaultPageManager.getChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
Collection<Long> |
PageManager.getDescendantIds(Page page)
Finds the ids of a page's descendants
|
Collection<Long> |
DefaultPageManager.getDescendantIds(Page page) |
List<Page> |
PageManager.getDescendants(Page page)
Finds all descendant pages of the given page
|
List<Page> |
DefaultPageManager.getDescendants(Page page) |
List<String> |
PageManager.getDescendantTitles(Page page)
Finds all descendant titles of the given page
|
List<String> |
DefaultPageManager.getDescendantTitles(Page page) |
Collection |
PageManager.getDescendentIds(Page page)
Deprecated.
since 5.5 use
PageManager.getDescendantIds(Page) |
Collection |
DefaultPageManager.getDescendentIds(Page page) |
List |
PageManager.getDescendents(Page page)
Deprecated.
since 5.5.1. Use
PageManager.getDescendants(Page) |
List |
DefaultPageManager.getDescendents(Page page)
Deprecated.
since 5.5.1. Use
DefaultPageManager.getDescendants(Page) |
PageResponse<Page> |
PageManager.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of DRAFT, limited to the pagination requested.
|
PageResponse<Page> |
DefaultPageManager.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
boolean |
PageManager.isPageRecentlyUpdatedForUser(Page page,
com.atlassian.user.User user)
Returns true if the page has been created or modified since the user last logged in.
|
boolean |
DefaultPageManager.isPageRecentlyUpdatedForUser(Page page,
com.atlassian.user.User user) |
void |
PageManager.moveChildrenToNewParent(Page oldParent,
Page newParent)
Moves all the children from one page to another
The new parent should NOT be the child of the old parent, this method will return with no operation in that case
|
void |
DefaultPageManager.moveChildrenToNewParent(Page oldPage,
Page newParent) |
void |
PageManager.movePageAfter(Page page,
Page refPage)
Move the provided page (first argument) after the reference page (second argument).
|
void |
DefaultPageManager.movePageAfter(Page page,
Page refPage) |
void |
PageManager.movePageAsChild(Page page,
Page refPage)
Move the provided page (first argument) as a child of the reference page (second argument).
|
void |
DefaultPageManager.movePageAsChild(Page page,
Page newParent)
Move the source page to the end of targetPage's children list.
|
void |
PageManager.movePageBefore(Page page,
Page refPage)
Move the provided page (first argument) before the reference page (second argument).
|
void |
DefaultPageManager.movePageBefore(Page page,
Page refPage) |
void |
PageManager.movePageToTopLevel(Page page,
Space space)
Move a page to the top level of
targetSpace . |
void |
DefaultPageManager.movePageToTopLevel(Page page,
Space space) |
void |
Page.removeChild(Page child) |
void |
PageManager.removePageFromAncestorCollections(Page page)
Removes the page and its ancestors from the ancestor collection of all descendants.
|
void |
DefaultPageManager.removePageFromAncestorCollections(Page page) |
void |
PageManager.revertChildPageOrder(Page parentPage)
Removes manual ordering of child pages.
|
void |
DefaultPageManager.revertChildPageOrder(Page parentPage) |
void |
PageManager.setChildPageOrder(Page parentPage,
List<Long> childIds)
Sets ordering of child pages for a supplied page, based on a map of child ids to positions.
|
void |
DefaultPageManager.setChildPageOrder(Page parentPage,
List<Long> childIds) |
void |
ContentNode.setPage(Page page) |
void |
Page.setParent(Page parent)
Deprecated.
Since 1.1. Do not call this method. It exists solely for hibernate to use. Use #setParentPage
instead. I would have made this method private, but CGLIB was complaining.
|
void |
Page.setParentPage(Page parent)
Public setter that makes sure that the parent page is valid
|
void |
PageManager.updatePageInAncestorCollections(Page page,
Page parentPage)
Updates the ancestors of a page and all it's descendant pages with the new parent page
and its ancestors.
|
void |
DefaultPageManager.updatePageInAncestorCollections(Page page,
Page newParent) |
Modifier and Type | Method and Description |
---|---|
void |
Page.setAncestors(List<Page> ancestors)
This should only ever be set by Hibernate.
|
void |
Page.setChildren(List<Page> children) |
Constructor and Description |
---|
ContentNode(Page page) |
Modifier and Type | Field and Description |
---|---|
protected Page |
AbstractCreateAndEditPageAction.parentPage |
Modifier and Type | Method and Description |
---|---|
Page |
AbstractCreatePageAction.getFromPage() |
Page |
CreatePageAction.SimplePageProvider.getPage() |
Page |
CopyPageAction.getPageToCopy() |
Page |
MovePageDialogAction.getParentPage() |
Page |
AbstractCreateAndEditPageAction.getParentPage() |
Page |
AbstractEditPageAction.getParentPage() |
Page |
ViewPageAction.getParentPage()
Returns the parent
Page of the current Page or null if the current
AbstractPage is a root page or a blogpost. |
Page |
ViewPreviousVersionsAction.getPreviousPage(Page page) |
Modifier and Type | Method and Description |
---|---|
List<Page> |
ReorderPageDialogAction.getChildren() |
List<Page> |
ListOrphanedPagesAction.getItems() |
com.atlassian.fugue.Option<Page> |
CopyPageAction.getPageToCopyTo() |
List<Page> |
ChildrenAction.getPermittedChildren() |
List<Page> |
AbstractPageAction.getPermittedChildren() |
List<Page> |
EditCommentAction.getPermittedChildren() |
Modifier and Type | Method and Description |
---|---|
protected void |
CreatePageAction.assignParentPage(ContentEntityObject page,
Page parentPage) |
protected void |
AbstractCreatePageAction.assignParentPage(ContentEntityObject page,
Page parentPage) |
List<ContentPermission> |
ListPermissionPagesAction.getPermissions(Page page) |
Page |
ViewPreviousVersionsAction.getPreviousPage(Page page) |
boolean |
ChildrenAction.hasPermittedChildren(Page page) |
Modifier and Type | Method and Description |
---|---|
Page |
PageDao.getPage(Space space,
String pageTitle)
Get the page by space and title.
|
Page |
PageDao.getPageById(long id)
Get the page with the given id.
|
Page |
PageDao.getPageByIdWithComments(long id)
Get the page with the given id, and perform an eager load of the comments and their children.
|
Page |
PageDao.getPageWithComments(Space space,
String pageTitle)
Get the page by space and title, and perform an eager load of the comments and their children.
|
Modifier and Type | Method and Description |
---|---|
List<Page> |
PageDao.findPagesWithHistoricalTitle(String pageTitle)
Deprecated.
since 3.1. Use #findPagesWithCurrentOrHistoricalTitleInPermittedSpace or
#findPagesWithCurrentOrHistoricalTitleInAllPermittedSpacesExcept
|
PageResponse<Page> |
PageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
List<Page> |
PageDao.getDescendants(Page page)
Finds all descendant pages (recursive) of the given page
|
List<Page> |
PageDao.getDescendents(Page page)
Deprecated.
since 5.5.1. Use
PageDao.getDescendants(com.atlassian.confluence.pages.Page) |
PageResponse<Page> |
PageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of DRAFT, limited to the pagination requested.
|
List<Page> |
PageDao.getOrphanedPages(String spaceKey) |
List<Page> |
PageDao.getPageInTrash(String spaceKey,
String title) |
PageResponse<Page> |
PageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter)
Retrieves a page response of all the current pages of the Confluence instance.
|
List<Page> |
PageDao.getPages(Space space,
boolean currentOnly) |
PageResponse<Page> |
PageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter)
Retrieves a page response of the current content in the given space.
|
List<Page> |
PageDao.getPagesByIds(Iterable<Long> ids)
Get the pages with the given ids.
|
List<Page> |
PageDao.getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate) |
List<Page> |
PageDao.getPagesStartingWith(Space space,
String s) |
List<Page> |
PageDao.getPagesWithPermissions(Space space)
Get all current pages in a space and eagerly fetch permissions at the same time.
|
List<Page> |
PageDao.getPermissionPages(Space space) |
List<Page> |
PageDao.getRecentlyAddedPages(int maxCount,
String spaceKey) |
List<Page> |
PageDao.getRecentlyAuthoredPagesByUser(String username,
int maxCount) |
List<Page> |
PageDao.getRecentlyUpdatedPages(int maxCount,
String spaceKey) |
List<Page> |
PageDao.getTopLevelPages(Space space) |
PageResponse<Page> |
PageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
List<Page> |
PageDao.getUndefinedPages(String spaceKey)
Deprecated.
since 6.6.0, use
PageDao.getUndefinedLinks(String) |
Modifier and Type | Method and Description |
---|---|
int |
PageDao.countPagesInSubtree(Page page)
Return total descendant page including input page
|
PageResponse<Page> |
PageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
List<Long> |
PageDao.getDescendantIds(Page page)
Finds the ids of all descendant pages of the given page
|
List<Long> |
PageDao.getDescendantIds(Page page,
ContentStatus... statuses)
Finds the ids of all descendant pages of the given page
|
List<Page> |
PageDao.getDescendants(Page page)
Finds all descendant pages (recursive) of the given page
|
List<String> |
PageDao.getDescendantTitles(Page page)
Finds all descendant titles of the given page
|
List<Long> |
PageDao.getDescendentIds(Page page)
Deprecated.
since 5.5.1. Use
PageDao.getDescendantIds(com.atlassian.confluence.pages.Page) |
List<Page> |
PageDao.getDescendents(Page page)
Deprecated.
since 5.5.1. Use
PageDao.getDescendants(com.atlassian.confluence.pages.Page) |
PageResponse<Page> |
PageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth)
Returns the children of a page which have a status of DRAFT, limited to the pagination requested.
|
Integer |
PageDao.getMaxSiblingPosition(Page page)
Gets the highest position value of all the page's siblings.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Page> |
PageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
PageResponse<Page> |
PageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter)
Retrieves a page response of all the current pages of the Confluence instance.
|
PageResponse<Page> |
PageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter)
Retrieves a page response of the current content in the given space.
|
PageResponse<Page> |
PageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
Modifier and Type | Method and Description |
---|---|
String |
PageContentTransformer.transform(String content,
Page oldPage,
Page newPage) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultBulkPageCopy.deepCopy(PageCopyOptions pageCopyOptions,
Page originalPage,
Page destinationPage)
Main execution logic of deep copy pages
|
void |
BulkPageCopy.deepCopy(PageCopyOptions pageCopyOptions,
Page originalPage,
Page destinationPage) |
Constructor and Description |
---|
BulkPageCopyExecutionContext(BulkPageCopyExecutionContext previousContext,
Page parentPage) |
BulkPageCopyExecutionContext(SubProgressMeter progressMeter,
Page parentPage) |
Modifier and Type | Method and Description |
---|---|
Page |
BulkPageDeleteExecutionContext.getTargetParent() |
Modifier and Type | Method and Description |
---|---|
void |
BulkPageDelete.deepDelete(PageDeleteOptions deleteOptions,
Page targetPage) |
void |
DefaultBulkPageDelete.deepDelete(PageDeleteOptions deleteOptions,
Page targetPage) |
Constructor and Description |
---|
BulkPageDeleteExecutionContext(com.atlassian.core.util.ProgressMeter progressMeter,
ConfluenceUser user,
Page targetParent) |
Modifier and Type | Method and Description |
---|---|
String |
KeepAsIsContentTransformer.transform(String content,
Page oldPage,
Page newPage) |
String |
LinkRefactorerContentTransformer.transform(String content,
Page oldPage,
Page newPage) |
Modifier and Type | Method and Description |
---|---|
Page |
HibernatePageDao.getPage(Space space,
String pageTitle) |
Page |
CachingPageDao.getPage(Space space,
String pageTitle) |
Page |
HibernatePageDao.getPage(Space space,
String pageTitle,
boolean eagerLoadComments) |
Page |
HibernatePageDao.getPageById(long id) |
Page |
CachingPageDao.getPageById(long id) |
Page |
HibernatePageDao.getPageByIdWithComments(long id) |
Page |
CachingPageDao.getPageByIdWithComments(long id) |
Page |
HibernatePageDao.getPageWithComments(Space space,
String pageTitle) |
Page |
CachingPageDao.getPageWithComments(Space space,
String pageTitle) |
Modifier and Type | Method and Description |
---|---|
List<Page> |
CachingPageDao.findPagesWithHistoricalTitle(String pageTitle) |
PageResponse<Page> |
HibernatePageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
PageResponse<Page> |
CachingPageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
List<Page> |
HibernatePageDao.getDescendants(Page page) |
List<Page> |
CachingPageDao.getDescendants(Page page) |
List<Page> |
HibernatePageDao.getDescendents(Page page) |
List<Page> |
CachingPageDao.getDescendents(Page page) |
PageResponse<Page> |
HibernatePageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
PageResponse<Page> |
CachingPageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
List<Page> |
HibernatePageDao.getOrphanedPages(String spaceKey) |
List<Page> |
CachingPageDao.getOrphanedPages(String spaceKey) |
List<Page> |
HibernatePageDao.getPageInTrash(String spaceKey,
String title) |
List<Page> |
CachingPageDao.getPageInTrash(String spaceKey,
String title) |
PageResponse<Page> |
HibernatePageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
CachingPageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
List<Page> |
HibernatePageDao.getPages(Space space,
boolean currentOnly) |
List<Page> |
CachingPageDao.getPages(Space space,
boolean currentOnly) |
PageResponse<Page> |
HibernatePageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
CachingPageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
List<Page> |
HibernatePageDao.getPagesByIds(Iterable<Long> ids) |
List<Page> |
CachingPageDao.getPagesByIds(Iterable<Long> ids)
Get the pages with the given ids.
|
List<Page> |
HibernatePageDao.getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate) |
List<Page> |
CachingPageDao.getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate) |
List<Page> |
HibernatePageDao.getPagesStartingWith(Space space,
String s) |
List<Page> |
CachingPageDao.getPagesStartingWith(Space space,
String s) |
List<Page> |
HibernatePageDao.getPagesWithPermissions(Space space) |
List<Page> |
CachingPageDao.getPagesWithPermissions(Space space) |
List<Page> |
HibernatePageDao.getPermissionPages(Space space) |
List<Page> |
CachingPageDao.getPermissionPages(Space space) |
List<Page> |
HibernatePageDao.getRecentlyAddedPages(int maxCount,
String spaceKey) |
List<Page> |
CachingPageDao.getRecentlyAddedPages(int maxCount,
String spaceKey) |
List<Page> |
HibernatePageDao.getRecentlyAuthoredPagesByUser(String username,
int maxCount) |
List<Page> |
CachingPageDao.getRecentlyAuthoredPagesByUser(String username,
int maxCount) |
List<Page> |
HibernatePageDao.getRecentlyUpdatedPages(int maxCount,
String spaceKey) |
List<Page> |
CachingPageDao.getRecentlyUpdatedPages(int maxCount,
String spaceKey) |
List<Page> |
HibernatePageDao.getTopLevelPages(Space space) |
List<Page> |
CachingPageDao.getTopLevelPages(Space space) |
PageResponse<Page> |
HibernatePageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
PageResponse<Page> |
CachingPageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
List<Page> |
HibernatePageDao.getUndefinedPages(String spaceKey) |
List<Page> |
CachingPageDao.getUndefinedPages(String spaceKey) |
Modifier and Type | Method and Description |
---|---|
int |
HibernatePageDao.countPagesInSubtree(Page page) |
int |
CachingPageDao.countPagesInSubtree(Page page) |
PageResponse<Page> |
HibernatePageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
PageResponse<Page> |
CachingPageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
List<Long> |
HibernatePageDao.getDescendantIds(Page page) |
List<Long> |
CachingPageDao.getDescendantIds(Page page) |
List<Long> |
HibernatePageDao.getDescendantIds(Page page,
ContentStatus... contentStatus) |
List<Long> |
CachingPageDao.getDescendantIds(Page page,
ContentStatus... statuses) |
List<Page> |
HibernatePageDao.getDescendants(Page page) |
List<Page> |
CachingPageDao.getDescendants(Page page) |
List<String> |
HibernatePageDao.getDescendantTitles(Page page) |
List<String> |
CachingPageDao.getDescendantTitles(Page page) |
List<Long> |
HibernatePageDao.getDescendentIds(Page page) |
List<Long> |
CachingPageDao.getDescendentIds(Page page) |
List<Page> |
HibernatePageDao.getDescendents(Page page) |
List<Page> |
CachingPageDao.getDescendents(Page page) |
PageResponse<Page> |
HibernatePageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
PageResponse<Page> |
CachingPageDao.getDraftChildren(Page page,
LimitedRequest pageRequest,
Depth depth) |
Integer |
HibernatePageDao.getMaxSiblingPosition(Page page) |
Integer |
CachingPageDao.getMaxSiblingPosition(Page page) |
void |
PageIdCache.put(Page page) |
void |
PageIdCache.remove(Page page) |
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentEntityObject> |
CachingPageDao.findContentBySpaceIdAndStatus(long spaceId,
String status,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<Page> predicate) |
PageResponse<Page> |
HibernatePageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
PageResponse<Page> |
CachingPageDao.getChildren(Page page,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> predicate,
Depth depth) |
PageResponse<Page> |
HibernatePageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
CachingPageDao.getPages(LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
HibernatePageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
CachingPageDao.getPages(Space space,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Page> filter) |
PageResponse<Page> |
HibernatePageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
PageResponse<Page> |
CachingPageDao.getTopLevelPages(Space space,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Page> predicate) |
Modifier and Type | Method and Description |
---|---|
ContentEntity |
PageContentEntityBuilder.build(Page page) |
Constructor and Description |
---|
RemotePage(Page page) |
RemotePageSummary(Page page) |
Modifier and Type | Method and Description |
---|---|
Page |
SoapServiceHelper.retrievePage(String spaceKey,
String pageTitle) |
Page |
SoapServiceHelperImpl.retrievePage(String spaceKey,
String pageTitle)
Retrieves a given page by space key and page title, and throws RemoteException if the page is not found or the user has no view perm.
|
Modifier and Type | Method and Description |
---|---|
List |
ContentPermissionSetDao.getInheritedContentPermissionSets(Page page,
String type) |
Modifier and Type | Method and Description |
---|---|
List<ContentPermissionSet> |
HibernateContentPermissionSetDao.getInheritedContentPermissionSets(Page page,
String type) |
Modifier and Type | Method and Description |
---|---|
Page |
Space.getHomePage() |
Modifier and Type | Method and Description |
---|---|
String |
SystemTemplateManagerImpl.getTemplate(String templateKey,
List<Variable> vars,
Page page) |
String |
SystemTemplateManager.getTemplate(String templateKey,
List<Variable> vars,
Page page) |
void |
Space.setHomePage(Page homePage) |
Modifier and Type | Method and Description |
---|---|
Page |
ViewSpaceAction.getPage() |
Modifier and Type | Method and Description |
---|---|
String |
ViewSpaceAction.getPageXHtmlContent(Page page) |
Modifier and Type | Method and Description |
---|---|
protected BodyContent |
AbstractSpaceContentListener.getDefaultHomePageContent(Page homePage,
List<Variable> variables,
String templateKey) |
Constructor and Description |
---|
PermittedUserFinder(PageManager pageManager,
PermissionManager permissionManager,
SpacePermissionManager spacePermissionManager,
Page parentPage,
Space space) |
Modifier and Type | Method and Description |
---|---|
List<Page> |
ContentFacade.getRecentlyUpdatedPagesForUserOnSpaceSince(com.atlassian.user.User user,
String spaceKey,
Date previousLoginDate) |
Modifier and Type | Method and Description |
---|---|
Page |
PageBreadcrumb.getPage() |
Constructor and Description |
---|
PageBreadcrumb(Page page) |
Constructor and Description |
---|
PageBreadcrumb(Page page) |
Copyright © 2003–2017 Atlassian. All rights reserved.