- THIS PROJECT IS UNSUPPORTED AND NO LONGER UNDER ACTIVE DEVELOPMENT -
This project contains Java lib project to consume easily Alfresco Public REST API.
It include a set of APIs that allows developers to quickly build Alfresco-enabled Java & Android applications.
Those projects are currently the foundation of our major next version of Alfresco Android APP available on the Google Play Store
Alfresco Client is currently in Early Access mode. It evolves as you use them, as you give feedback, and as the developers update and add file. We like to think app & lib development as services that grow and evolve with the involvement of the community.
Alfresco Client doesn't support workflow API (i.e interacting with embedded Activiti) If you are looking for a client to interact with Activiti Rest API (Enterprise Only), please have a look to Activiti Java Client Github Repo
Alfresco REST API v1 is currently on Early Access Mode and it's only available with the latest version of Alfresco Community 201606. Before using this library you have to install this platform available here
For more information about Alfresco REST API
- v1 REST API - Part 1 - Introduction
- v1 REST API - Part 2 - Navigation
- v1 REST API - Part 3 - Creating Nodes
- v1 REST API - Part 4 - Managing Nodes
- v1 REST API - Part 5 - Versioning & Locking
- v1 REST API - Part 6 - Assocations
- v1 REST API - Part 7 - Collaboration
- v1 REST API - Part 8 - Sites
- v1 REST API - Part 9 - Queries & Search
- v1 REST API - Part 10 - People
- v1 REST API - Part 11 - Trashcan
- Alfresco REST API Explorer
- "The Future of REST APIs” Tech Talk Live session
- "Alfresco REST API of the future" BeeCon slides
- Client Java: Contains Client API Project for Alfresco
- Alfresco Java Client set of APIs to interact with Alfresco Alfresco Public API 1.0 (Alfresco 5.2+)
- Client API Commons utility used by all client APIs
- Docs: contains informations about Alfresco REST API as implemented in the current version. For up to date info see API Explorer github Repository
- Client Samples : Various sample project. They illustrate different ways to use, consume and customize Client API & SDK.
- Client Samples Java Sample simple project using different java technique: java7, java8, RxJava...
- Client Samples Command Line Tool Illustrate how to use Client API as command Line tool.
| Projects | Status | Informations | | --- | --- | --- | --- | | Alfresco Java Client | Beta | Full API coverage, simple test | | Client API Commons | Beta | To evolve regarding other evolution | | Client Samples | Beta | Under development | | Client Command Line | Beta | Under development |
Build Librairies
mvn clean install -DskipTests=true
Documentation samples are available "Alfresco Java Client” README
There's also a series of blog post illustrating some usage
- Alfresco Java Client SDK
- Alfresco Java Client SDK - Part 2 - Navigation
- Alfresco Java Client SDK - Part 3 - Creating Nodes
- Alfresco Java Client SDK - Part 4 - Managing Nodes
- Alfresco Java Client SDK - Part 5 - Versioning & Locking
- Alfresco Java Client SDK - Part 6 - Assocations
- Alfresco Java Client SDK - Part 7 - Collaboration
- Alfresco Java Client SDK - Part 8 - Sites
- Alfresco Java Client SDK - Part 9 - Queries & Search
- Alfresco Java Client SDK - Part 10 - People
- Alfresco Java Client SDK - Part 11 - Trashcan
If you spot a bug then please raise an issue on Github
If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.
When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Alfresco Client Librairies
Copyright © 2017 Alfresco Software, Ltd. and others.
This product distribution is made available under the Apache 2.0 license.
Client API projects are based on 3 Java/Android librairies
Retrofit is a type-safe REST client for Java/Android built by Square. The library provides a powerful framework for authenticating and interacting with APIs.
Retrofit send network requests with OkHttp an HTTP & HTTP/2 client for Android and Java applications also built by Square. This library makes downloading JSON or XML data from a web API fairly straightforward.
Once the data is downloaded then it is parsed into a Plain Old Java Object (POJO) which must be defined for each "resource" in the response. Retrofit supports many different parsers for processing network response data (Gson, Jackson, Moshi, Protobuf, Wire, Simple XML)
- Easy to consume: API can be consumed synchronuously and/or asynchronuously and/or in a Reactive Approach (RxJava)
- Easy to setup: API declaration is simple and POJO model can be easily generated via Swagger Definition
- Simple architecture & Easy to customize: Each component can be modified and customized to match
- Large community and Open Source compatible
Retrofit
- Simple HTTP with Retrofit 2 (Droidcon NYC 2015)
- Consuming APIs with Retrofit
- Retrofit 2.0: The biggest update yet on the best HTTP Client Library for Android
- Retrofit Series
OkHttp
Gson
RxJava & RxAndroid