public class BasicSession extends Object
Constructor and Description |
---|
BasicSession(CoreSession docMgr,
LoginContext loginCtx,
Repository repo) |
Modifier and Type | Method and Description |
---|---|
void |
disconnect() |
CoreSession |
getDocumentManager() |
static BasicSession |
getInstanceAsSuperUser(String repository) |
static BasicSession |
getInstanceAsUser(String repository,
String userName,
String password) |
LoginContext |
getLoginCtx() |
Repository |
getRepository() |
void |
login() |
void |
logout() |
public BasicSession(CoreSession docMgr, LoginContext loginCtx, Repository repo)
public CoreSession getDocumentManager()
public LoginContext getLoginCtx()
public Repository getRepository()
public void login() throws ClientException
ClientException
public void logout()
public void disconnect()
public static BasicSession getInstanceAsSuperUser(String repository) throws ClientException
ClientException
public static BasicSession getInstanceAsUser(String repository, String userName, String password) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.