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 | Method and Description |
---|---|
void |
AutomationClient.getSession(AsyncCallback<Session> cb)
Creates a new session.
|
void |
AutomationClient.getSession(LoginCallback loginCb,
AsyncCallback<Session> cb)
Create asynchronously a new session using the given login callback to
gather login info.
|
void |
AutomationClient.getSession(String username,
String password,
AsyncCallback<Session> cb)
Creates asynchronously a new session using the given login.
|
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 |
---|---|
Session |
JavaClient.getSession() |
Session |
AbstractAutomationClient.getSession() |
Session |
JavaClient.getSession(LoginCallback cb) |
Session |
AbstractAutomationClient.getSession(LoginCallback loginCb) |
Session |
AbstractAutomationClient.getSession(String token) |
Session |
JavaClient.getSession(String username,
String password) |
Session |
AbstractAutomationClient.getSession(String username,
String password) |
Session |
AbstractAutomationClient.getSession(TokenCallback cb) |
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 | Method and Description |
---|---|
void |
JavaClient.getSession(AsyncCallback<Session> cb) |
void |
AbstractAutomationClient.getSession(AsyncCallback<Session> cb) |
void |
JavaClient.getSession(LoginCallback loginCb,
AsyncCallback<Session> cb) |
void |
AbstractAutomationClient.getSession(LoginCallback loginCb,
AsyncCallback<Session> cb) |
void |
JavaClient.getSession(String username,
String password,
AsyncCallback<Session> cb) |
void |
AbstractAutomationClient.getSession(String username,
String password,
AsyncCallback<Session> cb) |
Modifier and Type | Method and Description |
---|---|
Session |
BlobRef.session() |
Modifier and Type | Method and Description |
---|---|
void |
BlobRef.attach(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
RemoteContext.getSession() |
Session |
AutomationFeature.getSession() |
Constructor and Description |
---|
RemoteContext(AutomationFeature feature,
HttpAutomationClient client,
Session session,
String dir) |
Copyright © 2014 Nuxeo SA. All rights reserved.