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
ClientExceptionpublic String connect(String username, String password) throws ClientException
BaseNuxeoWebServiceconnect in interface BaseNuxeoWebServiceusername - the user namepassword - the user passwordClientExceptionpublic void disconnect(String sid) throws ClientException
BaseNuxeoWebServicedisconnect in interface BaseNuxeoWebServicesid - the Nuxeo core session id.ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.