Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: ucb ::
service HierarchyContentProvider
Description The Hierarchy Content Provider (HCP) implements a ContentProvider for the UniversalContentBroker (UCB). It provides access to a persistent, customizable hierarchy of contents (folders and links). See also Content

Exported Interfaces
XContentProvider | Description provides three types of contents: Link, Folder and Root Folder. HCP Contents A HCP Link ( HierarchyLinkContent ) is a content which points to another (UCB) content. It is always contained in HCP Folder. A HCP Link has no children. A HCP Folder ( HierarchyFolderContent ) is a container for other HCP Folders and HCP Links. There is at most one instance of a HCP Root Folder ( HierarchyRootFolderContent ) at a time. All other HCP contents are children of this folder. The HCP Root Folder can contain HCP Folders and HCP Links. It has the URL "vnd.sun.star.hier:/". URL Scheme for HCP Contents Each HCP content has an identifier corresponding to the following scheme: vnd.sun.star.hier:/<path>, where <path> is a hierarchical path of the form <name>/.../<name> and where <name> is a string encoded according to the URL conventions. Examples: vnd.sun.star.hier:/ (The URL of the HCP Root Folder) vnd.sun.star.hier:/Bookmarks/Sun%20Microsystems%20Home%20Page vnd.sun.star.hier:/Workplace/Printers

Top of Page

Copyright © 2003 Sun Microsystems, Inc.