com.atlassian.confluence.it.rpc
Class ConfluenceSoapRpc
java.lang.Object
com.atlassian.confluence.it.rpc.ConfluenceSoapRpc
public class ConfluenceSoapRpc
- extends java.lang.Object
Handles RPC over SOAP. Similar to ConfluenceRpc
.
TODO - This class and ConfluenceRpc could share an interface, and ConfluenceRpc be renamed to "ConfluenceXmlRpc".
Method Summary |
void |
logIn(java.lang.String token)
|
void |
logIn(User user)
Set the current user logged into this rpc client. |
void |
logOut()
|
java.lang.String |
renderContent(java.lang.String spaceKey,
long pageId,
java.lang.String newContent)
|
void |
useAnonymously()
Indicate that further rpc calls should be made anonymously, rather than as a specific user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceSoapRpc
public ConfluenceSoapRpc(java.lang.String baseUrl)
logIn
public void logIn(User user)
- Set the current user logged into this rpc client. Creates a user token for the given user by calling the
remote login method. All further methods called on the client will be performed using this token until
logOut()
or useAnonymously()
are called.
logIn
public void logIn(java.lang.String token)
useAnonymously
public void useAnonymously()
- Indicate that further rpc calls should be made anonymously, rather than as a specific user. This will last until
logIn(com.atlassian.confluence.it.User)
or logOut()
are called.
logOut
public void logOut()
renderContent
public java.lang.String renderContent(java.lang.String spaceKey,
long pageId,
java.lang.String newContent)
Copyright © 2003-2010 Atlassian. All Rights Reserved.