JahiaOne - Jahia 7, The External Data Provider

50 %
50 %
Information about JahiaOne - Jahia 7, The External Data Provider

Published on February 18, 2014

Author: Jahia

Source: slideshare.net


The external data provider is a new API in Jahia 7, that helps to create connectors to external sources. It allows to transparently use or import any external content as if it was directly stored in Jahia. This session will explain how to use it and will show a simple connector example.

External Data Provider

Mount external data  External data visible in JCR tree  Seen as normal nodes for any jahia service 2

ExternalDataSource     API to connect to simple data sources Databases, filesystems, external APIs Create a mapping to JCR API Optional support for Search, write, lazy loading, … 3

Specify your mapping  For every object :  Associate a node type  Map properties  Define a path 4

Specify your mapping  Decide a mapping for node type and properties 5

Specify your mapping  Define a tree structure for your objects  Should be able to find object from path and conversely !  Optionally, define a unique identifier 6

Implementation  getItemByPath(path)  getChildren(path)  getItemByIdentifier(id) 7

Implementation  ExternalData for each object  Holds id, path, types, properties 8

Search  One method search(query), with the user query  QueryHelper to helps parse the query  Use getSupportedNodeTypes() to return which types can be returned 9

Lazy loading  Don’t need to load all properties values when getting node  Instead, list properties names only  And implement getPropertyValues(path,property) 10

Internationalization  Internationalized properties returned per language  Better use lazy properties to avoid getting all languages 11

Writeable  Allows to save content directly in the provider  Create, update, delete, move operations  Called when using session.save() 12

Extendable properties  Can add mixin and properties to nodes  Extensions stored in the JCR  All content transparently aggregated 13

Provider Factories  Define a node type for a mount point  Implements “ProviderFactory”  Appears in the “mount” UI 14


Add a comment

Related presentations

Related pages

JahiaOne 2014

JahiaOne 2014 JahiaOne 2014 is the ... The External Data Provider . Slide : Jahia 7: A bootstrap/less integration example. Slide : Performance Tuning by ...
Read more

JahiaOne - External user/group providers in Digital ...

With the release of Digital Factory 7.1 we have gone one step further into the ... of simplifying the integration of external sources ...
Read more

Sessions - Jahia - JahiaOne

JahiaOne 2015. JahiaOne 2015; Sessions; Speakers; Register; Sponsors; Tweak the roadmap; ... Jahia 7 - Presentation Presented by Elie Auvray and Clément ...
Read more

Presentations and videos - Jahia - JahiaOne

JahiaOne 2014; Presentations and videos; Sessions; Speakers; Developer Contest; Sponsors; Contact us. ... Jahia 7, The External Data Provider; Slide ...
Read more

Jahia UXP - YouTube

JahiaOne - External user/group providers in Digital Factory 7.1 - Duration: 17 minutes. by Jahia UXP. 38 views; ... JahiaOne - Jahia 7, enter the Studio, ...
Read more

Data Provider | LinkedIn

Supervisor, Provider Data Management at Senior Whole Health, ... Data Provider/Bidder at AZForeclosureList.com & Bidding Service Past ...
Read more

Jahia Reveal Portal Factory Release Date

... when we had the pleasure of attending JahiaOne Conference. Jahia ... With the External Data Provider, ... in Jahia repository. All external and ...
Read more