Class DefaultContentTypeManager

    • Method Detail

      • getContentType

        public ContentType getContentType​(String contentTypeKey)
        Description copied from interface: ContentTypeManager
        Get the Content Type plugin module for the given module key, or the default "uninstalled" content type if no matching plugin can be found.
        Specified by:
        getContentType in interface ContentTypeManager
        Parameters:
        contentTypeKey - the plugin module complete key of the content type provider
        Returns:
        the ContentType plugin object for that content type
      • getImplementingPluginVersion

        public String getImplementingPluginVersion​(String contentTypeKey)
        Description copied from interface: ContentTypeManager
        Get the current version of the plugin that implements this content type.
        Specified by:
        getImplementingPluginVersion in interface ContentTypeManager
        Parameters:
        contentTypeKey - the plugin module complete key of the content type provider
        Returns:
        the version of the plugin that provides this content