org.alfresco.mobile.android.api.session.AlfrescoSession
This section describes the SkyVaultSession interface.
The SkyVaultSession interface represents a connection to a repository.
Class declaration
public interface SkyVaultSession
| Inherits from | Implements |
|---|---|
| None | None |
Session Setting Constants
Provides all public parameters to define the behavior of session.
| Name | Type | Default value | Description |
|---|---|---|---|
| BASE_URL | String | org.alfresco.mobile.binding.baseurl | Base url provided during creation of session. The string /service/cmis is automatically added to bind with CMIS AtomPub binding |
| BINDING_TYPE | String | org.alfresco.mobile.binding | Define the specific binding type with which the session is to be created. |
| BINDING_TYPE_ALFRESCO_CLOUD | int | 4 | SkyVault Cloud API binding type. |
| BINDING_TYPE_ALFRESCO_CMIS | int | 2 | SkyVault CMIS binding type. |
| BINDING_TYPE_ALFRESCO_PUBLIC_API | int | 3 | SkyVault public API binding type. |
| BINDING_TYPE_CMIS | int | 1 | CMIS binding type. |
| BINDING_URL | String | org.alfresco.mobile.binding.url | Use this if the base URL does not adhere to the default SkyVault CMIS binding URL pattern such as http://hostname:port/alfresco/service/cmis. |
| CACHE_FOLDER | String | org.alfresco.mobile.cache.folder | Cache folder. |
| CLOUD_APP_KEY | String | org.alfresco.mobile.bindings.api.cloud.key | Cloud app key. |
| CLOUD_APP_SECRET | String | org.alfresco.mobile.bindings.api.cloud.secret | Cloud app secret. |
| CONNECT_TIMEOUT | String | org.alfresco.mobile.connection.connecttimeout | HTTP connection timeout. Time in milliseconds. |
| CREATE_THUMBNAIL | String | org.alfresco.mobile.features.generatethumbnails | Allow thumbnail generation during file import. Value must be a boolean. Default : false |
| DOWNLOAD_FOLDER | String | org.alfresco.mobile.download.folder | Download folder |
| ENABLE_CACHE | String | org.alfresco.bindings.api.cmis | Enable cache. |
| EXTRACT_METADATA | String | org.alfresco.mobile.features.extractmetadata | Allow metadata extraction during file import. Value must be a boolean. Default : false |
| LISTING_FILTERS | String | org.alfresco.mobile.api.listing.filters | Listing filters. |
| LISTING_MAX_ITEMS | String | org.alfresco.mobile.api.listing.maxitems | Listing maximum items. |
| LISTING_SORTING | String | org.alfresco.mobile.api.listing.sorting | Listing sorting. |
| PASSWORD | String | org.alfresco.mobile.credential.password | Password associated with the user account to be used to connect to the repository. Can be null. |
| PROXY_PASSWORD | String | org.alfresco.mobile.connection.proxypassword | Proxy password (used by the standard authentication provider). Must be a String Value. |
| PROXY_USER | String | org.alfresco.mobile.connection.proxyuser | Proxy user (used by the standard authentication provider). Must be a String Value. |
| READ_TIMEOUT | String | org.alfresco.mobile.connection.readtimeout | HTTP read timeout. Time in milliseconds. |
| REPOSITORY_ID | String | org.alfresco.mobile.bindings.repository.id | Define the specific repository identifier. By default not necessary. |
| SERVICES_EXTENSION | String | org.alfresco.mobile.api.services | Define the specific implementation of all services. Must be a full qualified classname. |
| USER | String | org.alfresco.mobile.credential.user | Username of account to use to connect to the repository. |