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

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

public class PagesSoapService
extends java.lang.Object


Constructor Summary
PagesSoapService()
           
 
Method Summary
 RemoteComment addComment(RemoteComment comment)
           
 RemoteComment editComment(RemoteComment rComment)
           
 boolean emptyTrash(java.lang.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, java.lang.String permissionType)
           
 RemoteContentPermissionSet[] getContentPermissionSets(long contentId)
           
 RemotePageSummary[] getDescendents(long pageId)
           
 RemotePage getPage(long pageId)
           
 RemotePage getPage(java.lang.String spaceKey, java.lang.String pageTitle)
           
 RemotePageHistory[] getPageHistory(long pageId)
           
 RemotePageSummary[] getPages(java.lang.String spaceKey)
           
 RemotePageSummary getPageSummary(long pageId)
           
 RemotePageSummary getPageSummary(java.lang.String spaceKey, java.lang.String pageTitle)
           
 RemotePermission[] getPermissions(long pageId)
           
 RemotePageSummary[] getTopLevelPages(java.lang.String spaceKey)
           
 RemoteContentSummaries getTrashContents(java.lang.String spaceKey, int offset, int count)
           
 java.lang.Boolean movePage(long sourcePageId, long targetPageId, java.lang.String position)
           
 java.lang.Boolean movePageToTopLevel(long pageId, java.lang.String targetSpaceKey)
           
 boolean purgeFromTrash(java.lang.String spaceKey, long contentId)
           
 boolean removeComment(long commentId)
           
 java.lang.Boolean removePage(long pageId)
           
 java.lang.Boolean removePageVersion(java.lang.String token, long historicalPageId)
           
 java.lang.Boolean removePageVersion(java.lang.String token, long pageId, int version)
           
 java.lang.String renderContent(java.lang.String spaceKey, long pageId, java.lang.String newContent)
           
 java.lang.String renderContent(java.lang.String spaceKey, long pageId, java.lang.String newContent, java.util.Map parameters)
           
 RemoteSearchResult[] search(java.lang.String query, int maxResults)
           
 RemoteSearchResult[] search(java.lang.String query, java.util.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, java.lang.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(java.lang.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(java.lang.String spaceKey,
                          java.lang.String pageTitle)
                   throws RemoteException
Throws:
RemoteException

getPageSummary

public RemotePageSummary getPageSummary(java.lang.String spaceKey,
                                        java.lang.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(java.lang.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 java.lang.Boolean movePageToTopLevel(long pageId,
                                            java.lang.String targetSpaceKey)
                                     throws RemoteException
Throws:
RemoteException

movePage

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

removePage

public java.lang.Boolean removePage(long pageId)
                             throws RemoteException
Throws:
RemoteException

removePageVersion

public java.lang.Boolean removePageVersion(java.lang.String token,
                                           long historicalPageId)
                                    throws RemoteException
Throws:
RemoteException

removePageVersion

public java.lang.Boolean removePageVersion(java.lang.String token,
                                           long pageId,
                                           int version)
                                    throws RemoteException
Throws:
RemoteException

search

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

search

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

renderContent

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

renderContent

public java.lang.String renderContent(java.lang.String spaceKey,
                                      long pageId,
                                      java.lang.String newContent,
                                      java.util.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,
                                     java.lang.String permissionType,
                                     RemoteContentPermission[] remoteContentPermissions)
                              throws RemoteException
Throws:
RemoteException

getContentPermissionSets

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

getContentPermissionSet

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

getPermissions

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

getTrashContents

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

purgeFromTrash

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

emptyTrash

public boolean emptyTrash(java.lang.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-2014 Atlassian. All Rights Reserved.