Interface TypeInfo

  • All Known Implementing Classes:
    TypeInfoAdapter

    public interface TypeInfo
    Type representation access via document adapter

    Basically presents all useful Type getters.

    Author:
    Anahide Tchertchian
    • Method Detail

      • getIconExpanded

        String getIconExpanded()
      • getBigIcon

        String getBigIcon()
      • getBigIconExpanded

        String getBigIconExpanded()
      • getDescription

        String getDescription()
        Returns the type's description.
        Since:
        5.7
      • getLayouts

        String[] getLayouts​(String mode)
        Returns layout names for this mode, defaulting to layouts defined for mode BuiltinModes.ANY
      • getLayouts

        String[] getLayouts​(String mode,
                            String defaultMode)
        Returns layout names for this mode, defaulting to layouts defined for given default mode name.

        If parameter "defaultMode" is null, returns only layout defined for given mode.

        Since:
        5.3.1
      • getDefaultView

        String getDefaultView()
      • getCreateView

        String getCreateView()
      • getEditView

        String getEditView()
      • getContentViews

        String[] getContentViews​(String category)
        Returns content views defined on this document type for given category
        Since:
        5.4
      • getContentViews

        Map<String,​String[]> getContentViews()
        Returns content views defined on this document type for all categories.
        Since:
        5.4.2
      • getContentViewsForExport

        Map<String,​String[]> getContentViewsForExport()
        Returns content views defined on this document type for all categories that are shown in export views.

        Categories holding no content view shown in export views are omitted.

        Since:
        5.4.2