org.nuxeo.ecm.platform.ws
Class AbstractNuxeoWebService
java.lang.Object
org.nuxeo.ecm.platform.ws.AbstractNuxeoWebService
- All Implemented Interfaces:
- Serializable, BaseNuxeoWebService
- Direct Known Subclasses:
- NuxeoRemotingBean, WSAuditBean
public abstract class AbstractNuxeoWebService
- extends Object
- implements BaseNuxeoWebService
Abstract Nuxeo Web Service.
Extend this if you want to share the Web Service remoting sessions with the
other Nuxeo platform web services.
- Author:
- Julien Anguenot
- See Also:
- Serialized Form
AbstractNuxeoWebService
public AbstractNuxeoWebService()
connectOnRepository
@PermitAll
public String connectOnRepository(String username,
String password,
String repositoryName)
throws ClientException
- Throws:
ClientException
connect
@PermitAll
public String connect(String username,
String password)
throws ClientException
- Description copied from interface:
BaseNuxeoWebService
- Connects to the default nuxeo core repository.
- Specified by:
connect
in interface BaseNuxeoWebService
- Parameters:
username
- the user namepassword
- the user password
- Returns:
- a Nuxeo core session identifier.
- Throws:
ClientException
disconnect
public void disconnect(String sid)
throws ClientException
- Description copied from interface:
BaseNuxeoWebService
- Disconnect the Nuxeo core given the session id.
- Specified by:
disconnect
in interface BaseNuxeoWebService
- Parameters:
sid
- the Nuxeo core session id.
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.