Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Entry Points
HTTP Request
- AlfrescoSession.HTTP_ACCEPT_ENCODING
- AlfrescoSession.HTTP_ACCEPT_LANGUAGE
- AlfrescoSession.HTTP_CHUNK_TRANSFERT
- AlfrescoSession.HTTP_INVOKER_CLASSNAME
Services
- AlfrescoSession.ONPREMISE_SERVICES_CLASSNAME
- AlfrescoSession.CLOUD_SERVICES_CLASSNAME
- AlfrescoSession.AUTHENTICATOR_CLASSNAME
Snippet Override ServiceRegistry
Create an OnPremise Alfresco Session + define a custom ServiceRegistry :
HashMap<String, Serializable> settings = new HashMap<String, Serializable>(1);
settings.put(AlfrescoSession.ONPREMISE_SERVICES_CLASSNAME, 'custom.package.name.of.your.custom.service.registry.CustomServiceRegistry' );
RepositorySession session = RepositorySession.connect('http://hostname:port/alfresco', 'username', 'password', settings);
CustomServiceRegistry serviceRegistry = (CustomServiceRegistry)session.getServiceRegistry();
CustomService service = serviceRegistry.getCustomService();
More informations with the extension sample project
Android