Interface ContentTypeManager

    • Method Detail

      • getContentType

        ContentType getContentType​(String contentModuleKey)
        Get the Content Type plugin module for the given module key, or the default "uninstalled" content type if no matching plugin can be found.
        Parameters:
        contentModuleKey - the plugin module complete key of the content type provider
        Returns:
        the ContentType plugin object for that content type
      • getImplementingPluginVersion

        String getImplementingPluginVersion​(String contentModuleKey)
        Get the current version of the plugin that implements this content type.
        Parameters:
        contentModuleKey - the plugin module complete key of the content type provider
        Returns:
        the version of the plugin that provides this content
        Throws:
        IllegalStateException - if the implementing plugin does not exist, is disabled or is the wrong type.
      • getEnabledCustomContentTypes

        Collection<CustomContentType> getEnabledCustomContentTypes()
        Get all CustomContentTypes currently enabled in the system
        Returns:
        all content types currently enabled