Interface TypeInfo
-
- All Known Implementing Classes:
TypeInfoAdapter
public interface TypeInfo
Type representation access via document adapterBasically presents all useful Type getters.
- Author:
- Anahide Tchertchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,SubType>
getAllowedSubTypes()
String
getBigIcon()
String
getBigIconExpanded()
Map<String,String[]>
getContentViews()
Returns content views defined on this document type for all categories.String[]
getContentViews(String category)
Returns content views defined on this document type for given categoryMap<String,String[]>
getContentViewsForExport()
Returns content views defined on this document type for all categories that are shown in export views.String
getCreateView()
String
getDefaultView()
String
getDescription()
Returns the type's description.String
getEditView()
String
getIcon()
String
getIconExpanded()
String
getId()
String
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.String
getView(String viewId)
TypeView[]
getViews()
-
-
-
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 modeBuiltinModes.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()
-
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
-
-