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 Summary
Modifier and TypeMethodDescriptionReturns content views defined on this document type for all categories.String[]
getContentViews
(String category) Returns content views defined on this document type for given categoryReturns content views defined on this document type for all categories that are shown in export views.Returns the type's description.getIcon()
getId()
getLabel()
String[]
getLayouts
(String mode) Returns layout names for this mode, defaulting to layouts defined for modeBuiltinModes.ANY
String[]
getLayouts
(String mode, String defaultMode) Returns layout names for this mode, defaulting to layouts defined for given default mode name.TypeView[]
getViews()
-
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
Returns layout names for this mode, defaulting to layouts defined for modeBuiltinModes.ANY
-
getLayouts
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
-
getAllowedSubTypes
-
getContentViews
Returns content views defined on this document type for given category- Since:
- 5.4
-
getContentViews
Returns content views defined on this document type for all categories.- Since:
- 5.4.2
-
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
-