Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.types.adapter
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
 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()
           
 

Method Detail

getIcon

String getIcon()

getIconExpanded

String getIconExpanded()

getBigIcon

String getBigIcon()

getBigIconExpanded

String getBigIconExpanded()

getLabel

String getLabel()

getId

String getId()

getLayout

@Deprecated
FieldWidget[] getLayout()
Deprecated. use getLayouts(String) instead, using mode BuiltinModes.ANY. Not used. Remove in 5.2 => No ! still used from xhtml files.


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.


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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.