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:
Syntax
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.