com.atlassian.confluence.content.service
Interface PageService

All Known Implementing Classes:
DefaultPageService

public interface PageService

The PageService is a service layer implementation of the PageManager.

See Also:
Confluence Service Layer Documentation

Method Summary
 PageLocator getIdPageLocator(long pageId)
          Creates a page locator that can locate a page based on an id.
 MovePageCommand newMovePageCommand(PageLocator sourcePageLocator, PageLocator targetPageLocator, java.lang.String point)
          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.
 

Method Detail

newMovePageCommand

MovePageCommand newMovePageCommand(PageLocator sourcePageLocator,
                                   PageLocator targetPageLocator,
                                   java.lang.String point)
Retrieve a command to perform a simple move operation.

Parameters:
point - the point describing where the source should be moved to in relation to the target, see MovePageCommand
Returns:
an appropriate command instance

newMovePageCommand

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.

Parameters:
sourcePageLocator -
targetSpaceLocator -
Returns:
an appropriate command instance

getIdPageLocator

PageLocator getIdPageLocator(long pageId)
Creates a page locator that can locate a page based on an id.

Parameters:
pageId -
Returns:


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.