Modifier and Type | Method and Description |
---|---|
Session |
OperationRequest.getSession() |
Session |
AutomationClient.getSession()
Creates a new session.
|
Session |
AutomationClient.getSession(LoginCallback loginCb)
Create a new session using the given login callback to gather login info.
|
Session |
AutomationClient.getSession(String token)
Creates a new session using the given token.
|
Session |
AutomationClient.getSession(String username,
String password)
Creates a new session using the given login.
|
Session |
AutomationClient.getSession(TokenCallback cb)
Creates a new session using the given token callback by following these steps:
Look for a token saved locally using
TokenCallback.getLocalToken()
If it doesn't exist, use TokenCallback#getRemoteToken(java.util.Map)) to acquire a token remotely
using the information gathered by TokenCallback.getTokenParams() , and save the token locally using
TokenCallback.saveToken(String)
Get a session with the token using AutomationClient.getSession(String)
|
Modifier and Type | Method and Description |
---|---|
T |
AdapterFactory.getAdapter(Session session,
Class<T> clazz)
Adapt the given object and return the adapter instance.
|
<T> T |
AutomationClient.getAdapter(Session session,
Class<T> adapterType)
Adapts the given object to the given type.
|
<T> T |
AdapterManager.getAdapter(Session session,
Class<T> adapterType) |
Modifier and Type | Field and Description |
---|---|
protected Session |
DocumentService.session |
protected Session |
BusinessService.session |
Modifier and Type | Method and Description |
---|---|
Session |
DocumentService.getSession() |
Session |
BusinessService.getSession() |
Modifier and Type | Method and Description |
---|---|
BusinessService<?> |
BusinessServiceFactory.getAdapter(Session session,
Class<BusinessService<?>> clazz) |
DocumentService |
DocumentServiceFactory.getAdapter(Session session,
Class<DocumentService> clazz) |
Constructor and Description |
---|
BusinessService(Session session) |
DocumentService(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSession |
class |
JavaSession
Abstract class for sessions running on real JVMs.
|
Modifier and Type | Method and Description |
---|---|
protected Session |
AbstractAutomationClient.createSession(Connector connector,
LoginInfo login) |
Session |
JavaClient.getSession() |
Session |
AbstractAutomationClient.getSession() |
Session |
JavaClient.getSession(LoginCallback cb) |
Session |
AbstractAutomationClient.getSession(LoginCallback loginCb) |
protected Session |
AbstractAutomationClient.getSession(RequestInterceptor interceptor) |
Session |
AbstractAutomationClient.getSession(String token) |
Session |
JavaClient.getSession(String username,
String password) |
Session |
AbstractAutomationClient.getSession(String username,
String password) |
Session |
AbstractAutomationClient.getSession(TokenCallback cb) |
protected Session |
AbstractAutomationClient.login(Connector connector) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JavaClient.getAdapter(Session session,
Class<T> adapterType) |
<T> T |
AbstractAutomationClient.getAdapter(Session session,
Class<T> adapterType) |
Modifier and Type | Field and Description |
---|---|
protected Session |
BlobRef.session |
Modifier and Type | Method and Description |
---|---|
Session |
BlobRef.session() |
Modifier and Type | Method and Description |
---|---|
void |
BlobRef.attach(Session session) |
Modifier and Type | Field and Description |
---|---|
protected Session |
RemoteAutomationServerFeature.session |
protected Session |
EmbeddedAutomationServerFeature.session |
Modifier and Type | Field and Description |
---|---|
protected Session |
RemoteContext.session |
Modifier and Type | Method and Description |
---|---|
Session |
RemoteContext.getSession() |
Session |
AutomationFeature.getSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
AutomationFeature.buildCommands(CommandRegistry reg,
Session session) |
Constructor and Description |
---|
RemoteContext(AutomationFeature feature,
HttpAutomationClient client,
Session session,
String dir) |
Modifier and Type | Field and Description |
---|---|
protected Session |
OperationCommand.session |
Copyright © 2018 Nuxeo. All rights reserved.