com.atlassian.confluence.rpc.soap.services
Class PagesSoapService

java.lang.Object
  extended by com.atlassian.confluence.rpc.soap.services.PagesSoapService

public class PagesSoapService
extends Object


Constructor Summary
PagesSoapService()
           
 
Method Summary
 RemoteComment addComment(RemoteComment comment)
           
 RemoteComment editComment(RemoteComment rComment)
           
 boolean emptyTrash(String spaceKey)
           
 RemotePageSummary[] getAncestors(long pageId)
           
 RemoteAttachment[] getAttachments(long pageId)
           
 RemotePageSummary[] getChildren(long pageId)
           
 RemoteComment getComment(long commentId)
           
 RemoteComment[] getComments(long pageId)
           
 RemoteContentPermissionSet getContentPermissionSet(long contentId, String permissionType)
           
 RemoteContentPermissionSet[] getContentPermissionSets(long contentId)
           
 RemotePageSummary[] getDescendents(long pageId)
           
 RemotePage getPage(long pageId)
           
 RemotePage getPage(String spaceKey, String pageTitle)
           
 RemotePageHistory[] getPageHistory(long pageId)
           
 RemotePageSummary[] getPages(String spaceKey)
           
 RemotePageSummary getPageSummary(long pageId)
           
 RemotePageSummary getPageSummary(String spaceKey, String pageTitle)
           
 RemotePermission[] getPermissions(long pageId)
           
 RemotePageSummary[] getTopLevelPages(String spaceKey)
           
 RemoteContentSummaries getTrashContents(String spaceKey, int offset, int count)
           
 Boolean movePage(long sourcePageId, long targetPageId, String position)
           
 Boolean movePageToTopLevel(long pageId, String targetSpaceKey)
           
 boolean purgeFromTrash(String spaceKey, long contentId)
           
 boolean removeComment(long commentId)
           
 Boolean removePage(long pageId)
           
 String renderContent(String spaceKey, long pageId, String newContent)
           
 String renderContent(String spaceKey, long pageId, String newContent, Map parameters)
           
 RemoteSearchResult[] search(String query, int maxResults)
           
 RemoteSearchResult[] search(String query, Map params, int maxResults)
           
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setCommentService(CommentService commentService)
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
           
 boolean setContentPermissions(long contentId, String permissionType, RemoteContentPermission[] remoteContentPermissions)
           
 void setEventManager(com.atlassian.event.EventManager eventManager)
           
 void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
           
 void setLocaleManager(LocaleManager localeManager)
           
 void setPageManager(PageManager pageManager)
           
 void setPageService(PageService pageService)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)
           
 void setSearchManager(SearchManager searchManager)
           
 void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)
           
 void setSpaceService(SpaceService spaceService)
           
 void setTrashManager(TrashManager trashManager)
           
 void setViewBodyTypeAwareRenderer(Renderer viewBodyTypeAwareRenderer)
           
 void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
           
 RemotePage storePage(RemotePage rpage)
           
 RemotePage updatePage(RemotePage rpage, RemotePageUpdateOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagesSoapService

public PagesSoapService()
Method Detail

getPages

public RemotePageSummary[] getPages(String spaceKey)
                             throws RemoteException
Throws:
RemoteException

getPage

public RemotePage getPage(long pageId)
                   throws RemoteException
Throws:
RemoteException

getPageSummary

public RemotePageSummary getPageSummary(long pageId)
                                 throws RemoteException
Throws:
RemoteException

getPage

public RemotePage getPage(String spaceKey,
                          String pageTitle)
                   throws RemoteException
Throws:
RemoteException

getPageSummary

public RemotePageSummary getPageSummary(String spaceKey,
                                        String pageTitle)
                                 throws RemoteException
Throws:
RemoteException

getComments

public RemoteComment[] getComments(long pageId)
                            throws RemoteException
Throws:
RemoteException

getComment

public RemoteComment getComment(long commentId)
                         throws RemoteException
Throws:
RemoteException

addComment

public RemoteComment addComment(RemoteComment comment)
                         throws NotPermittedException,
                                RemoteException
Throws:
NotPermittedException
RemoteException

editComment

public RemoteComment editComment(RemoteComment rComment)
                          throws RemoteException
Throws:
RemoteException

removeComment

public boolean removeComment(long commentId)
                      throws NotPermittedException,
                             RemoteException
Throws:
NotPermittedException
RemoteException

getDescendents

public RemotePageSummary[] getDescendents(long pageId)
                                   throws RemoteException
Throws:
RemoteException

getTopLevelPages

public RemotePageSummary[] getTopLevelPages(String spaceKey)
                                     throws RemoteException
Throws:
RemoteException

getAncestors

public RemotePageSummary[] getAncestors(long pageId)
                                 throws RemoteException
Throws:
RemoteException

getChildren

public RemotePageSummary[] getChildren(long pageId)
                                throws RemoteException
Throws:
RemoteException

getAttachments

public RemoteAttachment[] getAttachments(long pageId)
                                  throws RemoteException
Throws:
RemoteException

getPageHistory

public RemotePageHistory[] getPageHistory(long pageId)
                                   throws RemoteException
Throws:
RemoteException

movePageToTopLevel

public Boolean movePageToTopLevel(long pageId,
                                  String targetSpaceKey)
                           throws RemoteException
Throws:
RemoteException

movePage

public Boolean movePage(long sourcePageId,
                        long targetPageId,
                        String position)
                 throws RemoteException
Throws:
RemoteException

removePage

public Boolean removePage(long pageId)
                   throws RemoteException
Throws:
RemoteException

search

public RemoteSearchResult[] search(String query,
                                   Map params,
                                   int maxResults)
                            throws RemoteException
Throws:
RemoteException

search

public RemoteSearchResult[] search(String query,
                                   int maxResults)
                            throws RemoteException
Throws:
RemoteException

renderContent

public String renderContent(String spaceKey,
                            long pageId,
                            String newContent)
                     throws RemoteException
Throws:
RemoteException

renderContent

public String renderContent(String spaceKey,
                            long pageId,
                            String newContent,
                            Map parameters)
                     throws RemoteException
Throws:
RemoteException

storePage

public RemotePage storePage(RemotePage rpage)
                     throws RemoteException
Throws:
RemoteException

updatePage

public RemotePage updatePage(RemotePage rpage,
                             RemotePageUpdateOptions options)
                      throws RemoteException
Throws:
RemoteException

setSoapServiceHelper

public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)

setContentPermissions

public boolean setContentPermissions(long contentId,
                                     String permissionType,
                                     RemoteContentPermission[] remoteContentPermissions)
                              throws RemoteException
Throws:
RemoteException

getContentPermissionSets

public RemoteContentPermissionSet[] getContentPermissionSets(long contentId)
                                                      throws RemoteException
Throws:
RemoteException

getContentPermissionSet

public RemoteContentPermissionSet getContentPermissionSet(long contentId,
                                                          String permissionType)
                                                   throws RemoteException
Throws:
RemoteException

getPermissions

public RemotePermission[] getPermissions(long pageId)
                                  throws RemoteException
Throws:
RemoteException

getTrashContents

public RemoteContentSummaries getTrashContents(String spaceKey,
                                               int offset,
                                               int count)
                                        throws RemoteException
Throws:
RemoteException

purgeFromTrash

public boolean purgeFromTrash(String spaceKey,
                              long contentId)
                       throws RemoteException
Throws:
RemoteException

emptyTrash

public boolean emptyTrash(String spaceKey)
                   throws RemoteException
Throws:
RemoteException

setPageManager

public void setPageManager(PageManager pageManager)

setWikiStyleRenderer

public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)

setBootstrapManager

public void setBootstrapManager(BootstrapManager bootstrapManager)

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setEventManager

public void setEventManager(com.atlassian.event.EventManager eventManager)

setContentPermissionManager

public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)

setPageService

public void setPageService(PageService pageService)

setCommentService

public void setCommentService(CommentService commentService)

setSpaceService

public void setSpaceService(SpaceService spaceService)

setPredefinedSearchBuilder

public void setPredefinedSearchBuilder(PredefinedSearchBuilder predefinedSearchBuilder)

setSearchManager

public void setSearchManager(SearchManager searchManager)

setI18NBeanFactory

public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)

setLocaleManager

public void setLocaleManager(LocaleManager localeManager)

setViewBodyTypeAwareRenderer

public void setViewBodyTypeAwareRenderer(Renderer viewBodyTypeAwareRenderer)

setTrashManager

public void setTrashManager(TrashManager trashManager)


Copyright © 2003-2012 Atlassian. All Rights Reserved.