com.atlassian.confluence.rpc.soap.services
Interface SoapServiceHelper

All Known Implementing Classes:
SoapServiceHelperImpl

public interface SoapServiceHelper


Method Summary
 void assertCanAdminister()
           
 void assertCanAdminister(com.atlassian.confluence.spaces.Space space)
           
 void assertCanCreateBlogPost(com.atlassian.confluence.spaces.Space space)
           
 void assertCanCreatePage(com.atlassian.confluence.spaces.Space space)
           
 void assertCanExport(com.atlassian.confluence.spaces.Space space)
           
 void assertCanModify(com.atlassian.confluence.pages.AbstractPage page)
           
 void assertCanModifyObject(Object obj, String typeDescription)
          Determines if the current user can modify/edit the given object If the current user is a super-user, they will automatically pass this test
 void assertCanRemove(com.atlassian.confluence.pages.AbstractPage page)
           
 void assertCanView(com.atlassian.confluence.pages.AbstractPage page)
           
 void assertCanView(com.atlassian.confluence.spaces.Space space)
           
 com.atlassian.confluence.pages.AbstractPage retrieveAbstractPage(long pageId)
           
 com.atlassian.confluence.pages.Page retrievePage(String spaceKey, String pageTitle)
           
 com.atlassian.confluence.spaces.Space retrieveSpace(String spaceKey)
           
 com.atlassian.user.User retrieveUser(String username)
          Retrieves the user with the given username
 

Method Detail

retrieveSpace

com.atlassian.confluence.spaces.Space retrieveSpace(String spaceKey)
                                                    throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

retrieveAbstractPage

com.atlassian.confluence.pages.AbstractPage retrieveAbstractPage(long pageId)
                                                                 throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

retrievePage

com.atlassian.confluence.pages.Page retrievePage(String spaceKey,
                                                 String pageTitle)
                                                 throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

retrieveUser

com.atlassian.user.User retrieveUser(String username)
                                     throws com.atlassian.confluence.rpc.RemoteException
Retrieves the user with the given username

Parameters:
username - the username of the user
Returns:
The User instance corresponding to the user
Throws:
com.atlassian.confluence.rpc.RemoteException - if the username is empty or null
com.atlassian.confluence.rpc.RemoteException - if no User could be found for the username

assertCanAdminister

void assertCanAdminister()
                         throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanModifyObject

void assertCanModifyObject(Object obj,
                           String typeDescription)
                           throws com.atlassian.confluence.rpc.NotPermittedException
Determines if the current user can modify/edit the given object If the current user is a super-user, they will automatically pass this test

Parameters:
obj - the target object
typeDescription - the type of object (e.g. "labels")
Throws:
com.atlassian.confluence.rpc.NotPermittedException - if the user lacks EDIT permission

assertCanModify

void assertCanModify(com.atlassian.confluence.pages.AbstractPage page)
                     throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanRemove

void assertCanRemove(com.atlassian.confluence.pages.AbstractPage page)
                     throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanView

void assertCanView(com.atlassian.confluence.pages.AbstractPage page)
                   throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanExport

void assertCanExport(com.atlassian.confluence.spaces.Space space)
                     throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanAdminister

void assertCanAdminister(com.atlassian.confluence.spaces.Space space)
                         throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanView

void assertCanView(com.atlassian.confluence.spaces.Space space)
                   throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanCreateBlogPost

void assertCanCreateBlogPost(com.atlassian.confluence.spaces.Space space)
                             throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException

assertCanCreatePage

void assertCanCreatePage(com.atlassian.confluence.spaces.Space space)
                         throws com.atlassian.confluence.rpc.RemoteException
Throws:
com.atlassian.confluence.rpc.RemoteException


Copyright © 2003-2010 Atlassian. All Rights Reserved.