Home Library CLI

From Gcube Wiki
Revision as of 19:01, 23 March 2016 by Valentina.marioli (Talk | contribs) (Introduction)

Jump to: navigation, search

Introduction

The Home Library CLI is a Java library providing command line interface to create folder and to save, list, delete files on JackRabbit. The following sections will discuss each of these commands in turn, and discuss how to use them with Home Library CLI.

Design Model

The design model for Home Library identifies a core set of capabilities to work on Jackrabbit content. The goal of Home Library 2.0 is to expose content in the content repository as HTTP resources, fostering a RESTful style of application architecture. Home Library 2.0 is 10 times faster on average in comparison with the previous version.

The Home Library 2.0 is composed by:

  • HomeLibrary: the API interface.
  • HomeLibrary JCR: an HomeLibrary implementation based on JCR 2.0 (Java Content Repository JSR 283).
  • HomeLibrary WebApp: a webService built on the top of the Jackrabbit web application.
  • Home Library Model: a library to shared information between clients and Web App. It includes ACLType, FolderItemType, NodeProperty, WorkspaceItemType, etc.

Workspace Items