Show TOC Start of Content Area

Component documentation Creating a Read-Only Repository Manager Locate the document in its SAP Library structure

Introduction

Repository managers (RM) connect repositories storing content to the repository framework. They convert the repository’s internal representation of stored objects into resources that expose functions implemented by the repository framework. Depending on the type of repository manager that is implemented, the resources expose a smaller or larger set of functions (aspects). When a read-only repository manager is implemented, it exposes functions that allow read operations on resources within the repository framework.

Task

The tutorial explains how to create a simple repository manager with minimal capabilities that are mandatory for all types of repository managers. It focuses on the implementation of a read-only repository manager that connects to a file system and implements the namespace, content and property submanagers of a repository manager.

Note

You can download a sample project for the tutorial contained in the file com.sap.netweaver.kmc.repositorymanager.zip at sdn.sap.com/sdn/developersguide.sdn ® NDG SAP NetWeaver 7.0 Edition  ® IT-Scenario-Driven Enhancements to Applications  ® Enterprise Knowledge Management ® Knowledge Management Articles  ® Guide to Examples.

Objectives

In the tutorial, you learn how to:

·        Implement the IResourceHandle interface to map objects that are stored in the third-party backend system to the repository framework.

·        Extend the AbstractManager class to create the central repository manager class

·        Implement the INamespaceManager interface to hierarchically organize the namespace that is used for resources in the connected repository.

·        Implement the IContentManager interface to enable access to the content of objects in the connected repository.

·        Implement the IPropertyManager interface to enable access to the metadata (properties) of the objects in the connected repository.

·        Configure and deploy the newly developed repository manager. 

Prerequisites

Systems, Installed Applications, and Authorizations

Backend System

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The backend system, which the repository manager connects to, must have a Java API that allows access to discrete entities on the backend system.

Systems, Installed Applications, and Authorizations

This graphic is explained in the accompanying text

SAP NetWeaver Developer Studio is installed on your PC.

This graphic is explained in the accompanying text

You have a connection to an installation with usage type Enterprise Portal (EP) for deployment and testing. Usage type EP includes a portal with Knowledge Management capabilities.

Knowledge

This graphic is explained in the accompanying text

You are familiar with concepts of Knowledge Management, in particular, the role of repository managers and the structure of resources.
For more information, see Concepts of Enterprise Knowledge Management

This graphic is explained in the accompanying text

You have a basic knowledge of the requirements for developing a repository manager.

For more information, see Considerations for Implementing a Repository Manager and How to Implement a Repository Manager at sdn.sap.com/sdn/developersguide.sdn  ® NDG SAP NetWeaver 7.0 Edition ® IT-Scenario-Driven Enhancements to Applications  ® Enterprise Knowledge Management ® Knowledge Management Articles.

 

End of Content Area