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

All Known Implementing Classes:
SoapServiceHelperImpl

public interface SoapServiceHelper


Method Summary
 void assertCanAdminister()
           
 void assertCanAdminister(Space space)
           
 void assertCanCreateBlogPost(Space space)
           
 void assertCanCreatePage(Space space)
           
 void assertCanExport(Space space)
           
 void assertCanModify(AbstractPage page)
           
 void assertCanModifyObject(java.lang.Object obj, java.lang.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(AbstractPage page)
           
 void assertCanView(AbstractPage page)
           
 void assertCanView(Space space)
           
 AbstractPage retrieveAbstractPage(long pageId)
           
 Page retrievePage(java.lang.String spaceKey, java.lang.String pageTitle)
           
 Space retrieveSpace(java.lang.String spaceKey)
           
 com.atlassian.user.User retrieveUser(java.lang.String username)
          Retrieves the user with the given username
 

Method Detail

retrieveSpace

Space retrieveSpace(java.lang.String spaceKey)
                    throws RemoteException
Throws:
RemoteException

retrieveAbstractPage

AbstractPage retrieveAbstractPage(long pageId)
                                  throws RemoteException
Throws:
RemoteException

retrievePage

Page retrievePage(java.lang.String spaceKey,
                  java.lang.String pageTitle)
                  throws RemoteException
Throws:
RemoteException

retrieveUser

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

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

assertCanAdminister

void assertCanAdminister()
                         throws RemoteException
Throws:
RemoteException

assertCanModifyObject

void assertCanModifyObject(java.lang.Object obj,
                           java.lang.String typeDescription)
                           throws 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:
NotPermittedException - if the user lacks EDIT permission

assertCanModify

void assertCanModify(AbstractPage page)
                     throws RemoteException
Throws:
RemoteException

assertCanRemove

void assertCanRemove(AbstractPage page)
                     throws RemoteException
Throws:
RemoteException

assertCanView

void assertCanView(AbstractPage page)
                   throws RemoteException
Throws:
RemoteException

assertCanExport

void assertCanExport(Space space)
                     throws RemoteException
Throws:
RemoteException

assertCanAdminister

void assertCanAdminister(Space space)
                         throws RemoteException
Throws:
RemoteException

assertCanView

void assertCanView(Space space)
                   throws RemoteException
Throws:
RemoteException

assertCanCreateBlogPost

void assertCanCreateBlogPost(Space space)
                             throws RemoteException
Throws:
RemoteException

assertCanCreatePage

void assertCanCreatePage(Space space)
                         throws RemoteException
Throws:
RemoteException


Copyright © 2003-2010 Atlassian. All Rights Reserved.