public class CloudSessionImpl extends CloudSession
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<CloudSessionImpl> |
CREATOR |
CLOUD_NETWORK_ID, USER_ME
authenticator, baseUrl, cmisSession, DEFAULT_CACHE_FOLDER_PATH, hasPublicAPI, passThruAuthenticator, password, PASSWORD, repositoryInfo, rootNode, services, USER, userIdentifier, userParameters
AUTHENTICATOR_CLASSNAME, CACHE_FOLDER, CLOUD_SERVICES_CLASSNAME, CREATE_THUMBNAIL, EXTRACT_METADATA, HTTP_ACCEPT_ENCODING, HTTP_ACCEPT_LANGUAGE, HTTP_CHUNK_TRANSFERT, HTTP_INVOKER_CLASSNAME, LISTING_MAX_ITEMS, ONPREMISE_SERVICES_CLASSNAME
Constructor and Description |
---|
CloudSessionImpl() |
CloudSessionImpl(OAuthData oauthData,
Map<String,Serializable> parameters)
Create a cloud Session based on OAuth information and Parameters.
|
CloudSessionImpl(android.os.Parcel o) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
CloudNetwork |
getNetwork()
Returns the current network for the session.
|
List<CloudNetwork> |
getNetworks()
Returns the list of networks the current user has access to.
|
OAuthData |
getOAuthData()
Returns the OAuthData the session is currently using.
|
void |
setOAuthData(OAuthData data)
Sets the OAuthData object associated with the session, typically used
after an access token has been refreshed.
|
protected void |
switchNetwork(CloudNetwork network) |
void |
writeToParcel(android.os.Parcel dest,
int arg1) |
connect, connect, connect, connect
addParameter, addParameters, clear, createAuthenticationProvider, createServiceRegistry, createSession, createSession, getAuthenticationProvider, getBaseUrl, getCmisSession, getDefaultListingContext, getParameter, getParameterKeys, getPassthruAuthenticationProvider, getPersonIdentifier, getRepositoryIdentifier, getRepositoryInfo, getRootFolder, getServiceRegistry, hasForceBinding, hasParameter, initSettings, initSettings, removeParameter, retrieveSessionParameters
public static final android.os.Parcelable.Creator<CloudSessionImpl> CREATOR
public CloudSessionImpl()
public CloudSessionImpl(OAuthData oauthData, Map<String,Serializable> parameters)
oauthData
- : Authentification context dataparameters
- : Session context datapublic CloudSessionImpl(android.os.Parcel o)
public List<CloudNetwork> getNetworks()
CloudSession
getNetworks
in class CloudSession
public CloudNetwork getNetwork()
CloudSession
getNetwork
in class CloudSession
protected void switchNetwork(CloudNetwork network)
public void setOAuthData(OAuthData data)
CloudSession
setOAuthData
in class CloudSession
public OAuthData getOAuthData()
CloudSession
getOAuthData
in class CloudSession
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int arg1)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.