Skip to content

Enterprise-Content-Management/documentum-rest-sample-android

Repository files navigation

Documentum REST Services Android Sample

Build Status License: Apache 2

This project demonstrates the development of an Android application to access Documentum repositories. It uses Documentum REST Java Client to communicate with Documentum REST Services. As a sample, there are several cabinets, folders, documents, users and groups related features implemented in this app.

Authentication Object Management User Management Group Management
  • Basic login
  • Logout
  • Navigate cabinets, folders, docs
  • Create
  • Update
  • Delete
  • Checkout
  • Checkin
  • Copy
  • Move
  • Get content
  • Navigate users
  • Create
  • Update
  • Delete
  • Add to groups
  • Navigate groups
  • Create
  • Update
  • Delete
  • Add members
  • Remove members

1. Getting started

  • Download and install the free Android Studio
  • Download this project to your local worksapce
  • Import this project as a Gradle project into Android Studio
  • Build and run in Android device emulator

2. Demo

Below gif demo shows the basic navagiation of this Android app. When you build & run this app by yourself, you will see more features.

3. Code Structure

Below diagram shows the basic code structure of this project.

  • Manifest Android Manifest is Android's config file, including permissions, component registrations and so on.

  • Activities This app is organised by activities and fragments. Activities are one of the fundamental building blocks of apps on the Android platform. Some activity is used for manipulating fragments, while others are used independently.

  • Fragements Fragements represent behaviors or a portion of user interfaces in Activities.

  • Adapters Adapters are used to connect data and UI components in android.

  • Observables Observable is a concept in RxJava for multi-thread programming. RxAndroid, an android version of RxJava, makes it easier to make code clean and organised, which the old AsyncTask might not do. Different observables have their own fragment in pair though, actually, the argument in observables is the basic class, thus the fragment could focus on only the UI operations.

4. Todo

  • Full-text search
  • Filter collections