public abstract class AbstractNuxeoWebService extends Object implements BaseNuxeoWebService
Extend this if you want to share the Web Service remoting sessions with the other Nuxeo platform web services.
Constructor and Description |
---|
AbstractNuxeoWebService() |
Modifier and Type | Method and Description |
---|---|
String |
connect(String username,
String password)
Connects to the default nuxeo core repository.
|
String |
connectOnRepository(String username,
String password,
String repositoryName) |
void |
disconnect(String sid)
Disconnect the Nuxeo core given the session id.
|
public String connectOnRepository(String username, String password, String repositoryName) throws ClientException
ClientException
public String connect(String username, String password) throws ClientException
BaseNuxeoWebService
connect
in interface BaseNuxeoWebService
username
- the user namepassword
- the user passwordClientException
public void disconnect(String sid) throws ClientException
BaseNuxeoWebService
disconnect
in interface BaseNuxeoWebService
sid
- the Nuxeo core session id.ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.