Interface ContentTypeDescriptor

    • Method Detail

      • getId

        String getId()
        Retrieves the id of the content type.
        Returns:
        the id.
      • getPluginName

        String getPluginName()
        Retrieves the name of the plugin declaring this content type.
        Returns:
        the name of the plugin.
      • getSupertypeIds

        String[] getSupertypeIds()
        Retrieves the super type's ids.
        Returns:
        the super type's ids, or empty if this content type doesn't extend a specific content type.
      • getIconGlyph

        String getIconGlyph()
        Retrieves the CSS class to use for glyph icon
        Returns:
        the glyph name.
      • getIconDecorator

        String getIconDecorator()
        Retrieves the CSS class to use for decorator above the main icon
        Returns:
        the glyph name.
      • getSmallIcon

        String getSmallIcon()
        Retrieves the URL of the icon without the context path.
        Returns:
        the icon URL for the small image 16x16.
      • getMediumIcon

        String getMediumIcon()
        Retrieves the URL of the icon without the context path.
        Returns:
        the icon URL for the medium sized image 32x32.
      • getLargeIcon

        String getLargeIcon()
        Retrieves the URL of the icon without the context path.
        Returns:
        the icon URL for the large image 48x48.
      • getCSSFiles

        List<ClientSideElement.ScriptFilegetCSSFiles()
        Returns the list of CSS files needed to correctly display the content's in BO, such as the content's icon
        Returns:
        The list of CSS files needed. Must not be null.
      • getDefaultCatalog

        default String getDefaultCatalog()
        Returns the default i18n catalog for this content type.
        Returns:
        the default i18n catalog for this content type.
      • getIconPath

        default String getIconPath​(String pluginName)
        Returns the path for icons
        Parameters:
        pluginName - the configured plugin
        Returns:
        the path for icons