public interface TypeInfo
Basically presents all useful Type getters.
Modifier and Type | Method and 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 category
|
Map<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 |
getEditView() |
String |
getIcon() |
String |
getIconExpanded() |
String |
getId() |
String |
getLabel() |
FieldWidget[] |
getLayout()
Deprecated.
use
getLayouts(String) instead, using mode
BuiltinModes.ANY . Not used. Remove in 5.2 => No !
still used from xhtml files. |
String[] |
getLayouts(String mode)
Returns layout names for this mode, defaulting to layouts defined for
mode
BuiltinModes.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() |
String getIcon()
String getIconExpanded()
String getBigIcon()
String getBigIconExpanded()
String getLabel()
String getId()
@Deprecated FieldWidget[] getLayout()
getLayouts(String)
instead, using mode
BuiltinModes.ANY
. Not used. Remove in 5.2 => No !
still used from xhtml files.String[] getLayouts(String mode)
BuiltinModes.ANY
String[] getLayouts(String mode, String defaultMode)
If parameter "defaultMode" is null, returns only layout defined for given mode.
String getDefaultView()
String getCreateView()
String getEditView()
TypeView[] getViews()
String[] getContentViews(String category)
Map<String,String[]> getContentViews()
Copyright © 2011 Nuxeo SA. All Rights Reserved.