|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.content.service.DefaultPageService
public class DefaultPageService
| Constructor Summary | |
|---|---|
DefaultPageService(PageManager pageManager,
PermissionManager permissionManager)
|
|
| Method Summary | |
|---|---|
PageLocator |
getIdPageLocator(long pageId)
Creates a page locator that can locate a page based on an id. |
PageLocator |
getTitleAndSpaceKeyPageLocator(java.lang.String spaceKey,
java.lang.String title)
Creates a page locator that can locate a page based on a space key and title. |
ServiceCommand |
newDeletePageCommand(PageLocator pageLocator)
Retrieve a command to remove an existing page |
MovePageCommand |
newMovePageCommand(PageLocator sourcePageLocator,
PageLocator targetPageLocator,
java.lang.String position)
Retrieve a command to perform a simple move operation. |
MovePageCommand |
newMovePageCommand(PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator)
Retrieve a command that performs a move operation of a page to a top level of a target space. |
ServiceCommand |
newRevertPageCommand(PageLocator pageToRevert,
int version,
java.lang.String revertComment,
boolean revertTitle)
Retreive a command to revert a page |
ServiceCommand |
newRevertPageOrderCommand(PageLocator parentPageLocator)
Retrieve a command to clear any existing positions for children of the located Page. |
ServiceCommand |
newSetPageOrderCommand(PageLocator parentPageLocator,
java.util.List<java.lang.Long> childPageIds)
Retrieve a command to set the order of all children for a supplied parent Page locator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPageService(PageManager pageManager,
PermissionManager permissionManager)
| Method Detail |
|---|
public MovePageCommand newMovePageCommand(PageLocator sourcePageLocator,
PageLocator targetPageLocator,
java.lang.String position)
PageService
newMovePageCommand in interface PageServiceposition - the point describing where the source should be moved to in relation to the target, see
MovePageCommand
public MovePageCommand newMovePageCommand(PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator)
PageService
newMovePageCommand in interface PageService
public ServiceCommand newSetPageOrderCommand(PageLocator parentPageLocator,
java.util.List<java.lang.Long> childPageIds)
PageService
newSetPageOrderCommand in interface PageServiceparentPageLocator - locator for the parent Page objectchildPageIds - a list of child page idspublic ServiceCommand newRevertPageOrderCommand(PageLocator parentPageLocator)
PageService
newRevertPageOrderCommand in interface PageServicepublic ServiceCommand newDeletePageCommand(PageLocator pageLocator)
PageService
newDeletePageCommand in interface PageServicepublic PageLocator getIdPageLocator(long pageId)
PageService
getIdPageLocator in interface PageService
public PageLocator getTitleAndSpaceKeyPageLocator(java.lang.String spaceKey,
java.lang.String title)
PageService
getTitleAndSpaceKeyPageLocator in interface PageService
public ServiceCommand newRevertPageCommand(PageLocator pageToRevert,
int version,
java.lang.String revertComment,
boolean revertTitle)
PageService
newRevertPageCommand in interface PageService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||