|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.platform.ejb.ws.session.WSRemotingSessionBean
public class WSRemotingSessionBean
Web service remote session bean.
Constructor Summary | |
---|---|
WSRemotingSessionBean()
|
Method Summary | |
---|---|
void |
addSession(String sid,
WSRemotingSession session)
Adds a new session. |
WSRemotingSession |
createSession(String username,
String password,
String repository,
UserManager um,
CoreSession session)
Creates a new remoting session. |
void |
delSession(String sid)
Deletes a session if it exists. |
WSRemotingSession |
getSession(String sid)
Return a session given its Nuxeo Core session id if exists. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSRemotingSessionBean()
Method Detail |
---|
public void addSession(String sid, WSRemotingSession session)
WSRemotingSessionManager
addSession
in interface WSRemotingSessionManager
sid
- the nuxeo core session id.session
- the web service remoting session.public WSRemotingSession createSession(String username, String password, String repository, UserManager um, CoreSession session)
WSRemotingSessionManager
createSession
in interface WSRemotingSessionManager
username
- the user name.password
- the user passwordrepository
- the repository nameum
- the user managersession
- the Nuxeo Core session
WSRemotingSession
instance.public void delSession(String sid) throws ClientException
WSRemotingSessionManager
delSession
in interface WSRemotingSessionManager
sid
- the Nuxeo Core session id.
ClientException
public WSRemotingSession getSession(String sid) throws ClientException
WSRemotingSessionManager
getSession
in interface WSRemotingSessionManager
sid
- the Nuxeo Core session id.
WSRemotingSession
instance.
ClientException
- if the session does not exist anymore.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |