Show TOC Start of Content Area

Background documentation Content Provider Utility Service  Locate the document in its SAP Library structure

The content provider framework provides a utility for creating helper objects that are required by the default implementation of a content provider. The following code retrieves the service:

IContentProvidersUtilsService utilsService =
    (IContentProvidersUtilsService)
        m_context.getService(IContentProvidersUtilsService.KEY);

You can also retrieve the utility service by calling the getUtilsService() method of the AbstractContentProviderService class.

The utility service can create instances of the default implementation of the following interfaces:

·        ISourcePropertiesHandler: Retrieves property values, and sets the order of lookup when the value can be obtained from several sources.

·        IContextWrapper: Handles events in the HTMLB page context for the current request. This object is used for creating a source properties handler.

·        IDataHandler: Handles properties for an entity’s corresponding portal component. This object is used for creating a source properties handler.

·        IProviderDetails: Holds information about the content provider service. The utility creates an empty object.

 

End of Content Area