org.alfresco.mobile.android.api.session.impl
Class RepositorySessionImpl

java.lang.Object
  extended by org.alfresco.mobile.android.api.session.impl.AbstractAlfrescoSessionImpl
      extended by org.alfresco.mobile.android.api.session.RepositorySession
          extended by 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

Field Summary
 
Fields inherited from class org.alfresco.mobile.android.api.session.RepositorySession
REPOSITORY_ID
 
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
 
Fields inherited from interface org.alfresco.mobile.android.api.session.AlfrescoSession
AUTHENTICATOR_CLASSNAME, CACHE_FOLDER, CLOUD_SERVICES_CLASSNAME, CREATE_THUMBNAIL, EXTRACT_METADATA, LISTING_MAX_ITEMS, ONPREMISE_SERVICES_CLASSNAME
 
Constructor Summary
RepositorySessionImpl()
           
RepositorySessionImpl(String url, String username, String password)
          Creates a new instance of a RepositorySession representing the repository specified in the url parameter.
RepositorySessionImpl(String url, String username, String password, Map<String,Serializable> settings)
           
 
Method Summary
 
Methods inherited from class org.alfresco.mobile.android.api.session.RepositorySession
connect, connect
 
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
 

Constructor Detail

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.