Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ws
Class AbstractNuxeoWebService

java.lang.Object
  extended by org.nuxeo.ecm.platform.ws.AbstractNuxeoWebService
All Implemented Interfaces:
java.io.Serializable, BaseNuxeoWebService
Direct Known Subclasses:
NuxeoRemotingBean, WSAuditBean

public abstract class AbstractNuxeoWebService
extends java.lang.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

Constructor Summary
AbstractNuxeoWebService()
           
 
Method Summary
 java.lang.String connect(java.lang.String username, java.lang.String password)
          Connects to the default nuxeo core repository.
 java.lang.String connectOnRepository(java.lang.String username, java.lang.String password, java.lang.String repositoryName)
           
 void disconnect(java.lang.String sid)
          Disconnect the Nuxeo core given the session id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNuxeoWebService

public AbstractNuxeoWebService()
Method Detail

connectOnRepository

public java.lang.String connectOnRepository(java.lang.String username,
                                            java.lang.String password,
                                            java.lang.String repositoryName)
                                     throws ClientException
Throws:
ClientException

connect

public java.lang.String connect(java.lang.String username,
                                java.lang.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 name
password - the user password
Returns:
a Nuxeo core session identifier.
Throws:
ClientException

disconnect

public void disconnect(java.lang.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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.