Package | Description |
---|---|
com.atlassian.confluence.content.service | |
com.atlassian.confluence.content.service.page |
Modifier and Type | Method and Description |
---|---|
PageLocator |
PageService.getIdPageLocator(long pageId)
Creates a page locator that can locate a page based on an id.
|
PageLocator |
DefaultPageService.getIdPageLocator(long pageId) |
PageLocator |
PageService.getPageVersionLocator(long pageId,
int version) |
PageLocator |
DefaultPageService.getPageVersionLocator(long pageId,
int version) |
PageLocator |
PageService.getTitleAndSpaceKeyPageLocator(String spaceKey,
String title)
Creates a page locator that can locate a page based on a space key and title.
|
PageLocator |
DefaultPageService.getTitleAndSpaceKeyPageLocator(String spaceKey,
String title) |
Modifier and Type | Method and Description |
---|---|
ServiceCommand |
PageService.newDeletePageCommand(PageLocator pageLocator)
Retrieve a command to remove an existing page
|
ServiceCommand |
DefaultPageService.newDeletePageCommand(PageLocator pageLocator) |
MovePageCommand |
PageService.newMovePageCommand(PageLocator sourcePageLocator,
PageLocator targetPageLocator,
String position)
Retrieve a command to perform a simple move operation.
|
MovePageCommand |
DefaultPageService.newMovePageCommand(PageLocator sourcePageLocator,
PageLocator targetPageLocator,
String position) |
MovePageCommand |
PageService.newMovePageCommand(PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator)
Retrieve a command that performs a move operation of a page to a top level of a target space.
|
MovePageCommand |
DefaultPageService.newMovePageCommand(PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator) |
ServiceCommand |
PageService.newRemovePageVersionCommand(PageLocator pageLocator) |
ServiceCommand |
DefaultPageService.newRemovePageVersionCommand(PageLocator pageLocator) |
ServiceCommand |
PageService.newRevertPageCommand(PageLocator pageToRevert,
int version,
String revertComment,
boolean revertTitle)
Retrieve a command to revert a page
|
ServiceCommand |
DefaultPageService.newRevertPageCommand(PageLocator pageToRevert,
int version,
String revertComment,
boolean revertTitle) |
ServiceCommand |
PageService.newRevertPageOrderCommand(PageLocator parentPageLocator)
Retrieve a command to clear any existing positions for children of the located Page.
|
ServiceCommand |
DefaultPageService.newRevertPageOrderCommand(PageLocator parentPageLocator) |
ServiceCommand |
PageService.newSetPageOrderCommand(PageLocator parentPageLocator,
List<Long> childPageIds)
Retrieve a command to set the order of all children for a supplied parent Page locator.
|
ServiceCommand |
DefaultPageService.newSetPageOrderCommand(PageLocator parentPageLocator,
List<Long> childPageIds) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPageLocator |
class |
IdAndVersionPageLocator
A page locator that uses the page Id to find an identified version of a page.
|
class |
IdPageLocator
A page locator that uses the page Id to find a page
|
class |
SinglePageLocator |
class |
TitleAndSpaceKeyPageLocator
Returns the page with the given space key and title.
|
Constructor and Description |
---|
DeletePageCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator pageLocator) |
MovePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
PageLocator sourcePageLocator,
PageLocator targetPageLocator,
String movePoint) |
MovePageToTopOfSpaceCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator) |
RemovePageVersionCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator pageLocator) |
RevertPageCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator pageLocator,
String revertComment,
int version,
boolean revertTitle) |
RevertPageOrderCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator parentPageLocator) |
SetPageOrderCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator parentPageLocator,
List<Long> childPageIds) |
Copyright © 2003–2018 Atlassian. All rights reserved.