com.atlassian.confluence.it.rpc
Class ConfluenceSoapRpc
java.lang.Object
com.atlassian.confluence.it.rpc.ConfluenceSoapRpc
public class ConfluenceSoapRpc
- extends Object
Handles RPC over SOAP. Similar to ConfluenceRpc
.
TODO - This class and ConfluenceRpc could share an interface, and ConfluenceRpc be renamed to "ConfluenceXmlRpc".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceSoapRpc
public ConfluenceSoapRpc(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(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 String renderContent(String spaceKey,
long pageId,
String newContent)
watchPage
public boolean watchPage(long pageId)
Copyright © 2003-2013 Atlassian. All Rights Reserved.