com.atlassian.confluence.rpc.soap.services
Interface SoapServiceHelper
- All Known Implementing Classes:
- SoapServiceHelperImpl
public interface SoapServiceHelper
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 objecttypeDescription
- 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.