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 Details

    • getIcon

      String getIcon()
    • getIconExpanded

      String getIconExpanded()
    • getBigIcon

      String getBigIcon()
    • getBigIconExpanded

      String getBigIconExpanded()
    • getLabel

      String getLabel()
    • getDescription

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

      String getId()
    • 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()
    • getViews

      TypeView[] getViews()
    • getView

      String getView(String viewId)
    • getAllowedSubTypes

      Map<String,SubType> getAllowedSubTypes()
    • 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