Difference between revisions of "Home Library CLI"

From Gcube Wiki
Jump to: navigation, search
(Created page with "{| align="right" ||__TOC__ |} = Introduction = The Home Library CLI is a light library to manage and persist the user home folder that supports file sharing. Any Home Librar...")
 
(Introduction)
Line 4: Line 4:
 
= Introduction =
 
= Introduction =
  
The Home Library CLI is a light library to manage and persist the user home folder that supports file sharing.
+
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.
Any Home Library user is presented with a personal [https://gcube.wiki.gcube-system.org/gcube/index.php/Workspace Workspace], where users can collaborate, share information, and access project resources using special folders. This module describes the model of Home Library 2.0 and how to use the new API interface.
+
  
 
= Design Model =
 
= Design Model =

Revision as of 19:01, 23 March 2016

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