public ServiceRegistry getServiceRegistry() returns all the
services available with this repository.
Parameters
None
Returns
Returns a ServiceRegistry object that represents all the services available with this repository.
Example
try { RepositorySession session = RepositorySession.connect(url, username, password); if (session) { ServiceRegistry serviceRegistry = session.getServiceRegistry(); DocumentFolderService documentFolderService = serviceRegistry.getDocumentFolderService(); Folder rootFolder = documentFolderService.getRootFolder(); // list documents in root folder List<Document> documents = documentFolderService.getDocuments(rootFolder); for (Document document : documents){ Log.d(TAG, "documentName: " + document.getName()); } ... } else { Log.d(TAG, "No Session available!"); } } catch (AlfrescoSessionException e) { Log.e(TAG, "Failed to connect: " + e.toString()); }