org.alfresco.mobile.android.api.session.impl
Class RepositorySessionImpl
java.lang.Object
org.alfresco.mobile.android.api.session.impl.AbstractAlfrescoSessionImpl
org.alfresco.mobile.android.api.session.RepositorySession
org.alfresco.mobile.android.api.session.impl.RepositorySessionImpl
- All Implemented Interfaces:
- AlfrescoSession
public class RepositorySessionImpl
- extends RepositorySession
RepositorySession represents a connection to an on-premise repository as a
specific user.
- Author:
- Jean Marie Pascal
Fields inherited from class org.alfresco.mobile.android.api.session.impl.AbstractAlfrescoSessionImpl |
authenticator, baseUrl, cmisSession, DEFAULT_CACHE_FOLDER_PATH, passThruAuthenticator, PASSWORD, repositoryInfo, rootNode, services, USER, userParameters |
Methods inherited from class org.alfresco.mobile.android.api.session.impl.AbstractAlfrescoSessionImpl |
addParameter, addParameters, createServiceRegistry, createSession, createSession, getAuthenticationProvider, getBaseUrl, getCmisSession, getDefaultListingContext, getParameter, getParameterKeys, getPassthruAuthenticationProvider, getPersonIdentifier, getRepositoryIdentifier, getRepositoryInfo, getRootFolder, getServiceRegistry, hasParameter, initSettings, initSettings, removeParameter, retrieveSessionParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositorySessionImpl
public RepositorySessionImpl()
RepositorySessionImpl
public RepositorySessionImpl(String url,
String username,
String password)
- Creates a new instance of a RepositorySession representing the repository
specified in the url parameter.
Authenticate and bind with a repository. Initialize all informations and
services associated with the repository for a specific user. This method
use automatically default session configuration
SessionSettings
.
- Parameters:
url
- : Base URL associated to the repository. For example :
http://hostname:port/alfresco
RepositorySessionImpl
public RepositorySessionImpl(String url,
String username,
String password,
Map<String,Serializable> settings)
Copyright © 2012 Alfresco Software. All Rights Reserved.