|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(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(AbstractPage page)
|
void |
assertCanView(AbstractPage page)
|
void |
assertCanView(Space space)
|
AbstractPage |
retrieveAbstractPage(long pageId)
|
ContentEntityObject |
retrieveContent(long contentId)
Retrieves the content with the given ID, throwing an exception if the content can not be found, or the current user has not permission to view it. |
Page |
retrievePage(String spaceKey,
String pageTitle)
|
Space |
retrieveSpace(String spaceKey)
|
com.atlassian.user.User |
retrieveUser(String username)
Retrieves the user with the given username |
Method Detail |
---|
Space retrieveSpace(String spaceKey) throws RemoteException
RemoteException
AbstractPage retrieveAbstractPage(long pageId) throws RemoteException
RemoteException
Page retrievePage(String spaceKey, String pageTitle) throws RemoteException
RemoteException
com.atlassian.user.User retrieveUser(String username) throws RemoteException
username
- the username of the user
RemoteException
- if the username is empty or null
RemoteException
- if no User could be found for the usernamevoid assertCanAdminister() throws RemoteException
RemoteException
void assertCanModifyObject(Object obj, String typeDescription) throws NotPermittedException
obj
- the target objecttypeDescription
- the type of object (e.g. "labels")
NotPermittedException
- if the user lacks EDIT permissionvoid assertCanModify(AbstractPage page) throws RemoteException
RemoteException
void assertCanRemove(AbstractPage page) throws RemoteException
RemoteException
void assertCanView(AbstractPage page) throws RemoteException
RemoteException
void assertCanExport(Space space) throws RemoteException
RemoteException
void assertCanAdminister(Space space) throws RemoteException
RemoteException
void assertCanView(Space space) throws RemoteException
RemoteException
void assertCanCreateBlogPost(Space space) throws RemoteException
RemoteException
void assertCanCreatePage(Space space) throws RemoteException
RemoteException
ContentEntityObject retrieveContent(long contentId) throws RemoteException
contentId
- the ID of the content to retrieve
RemoteException
- if the user lacks VIEW permission or the content does not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |