|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.types.adapter.TypeInfoAdapter
public class TypeInfoAdapter
Constructor Summary | |
---|---|
TypeInfoAdapter(DocumentModel doc)
|
Method Summary | |
---|---|
String[] |
getActions()
|
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 |
getCoreType()
Deprecated. Use getId() instead. |
String |
getCreateView()
|
String |
getDefaultView()
|
String |
getEditView()
|
String |
getIcon()
|
String |
getIconExpanded()
|
String |
getId()
|
String |
getLabel()
|
FieldWidget[] |
getLayout()
|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeInfoAdapter(DocumentModel doc)
Method Detail |
---|
public String[] getActions()
public Map<String,SubType> getAllowedSubTypes()
getAllowedSubTypes
in interface TypeInfo
@Deprecated public String getCoreType()
getId()
instead.
public String getCreateView()
getCreateView
in interface TypeInfo
public String getDefaultView()
getDefaultView
in interface TypeInfo
public String getEditView()
getEditView
in interface TypeInfo
public String getIcon()
getIcon
in interface TypeInfo
public String getIconExpanded()
getIconExpanded
in interface TypeInfo
public String getBigIcon()
getBigIcon
in interface TypeInfo
public String getBigIconExpanded()
getBigIconExpanded
in interface TypeInfo
public String getId()
getId
in interface TypeInfo
public String getLabel()
getLabel
in interface TypeInfo
public FieldWidget[] getLayout()
getLayout
in interface TypeInfo
public String[] getLayouts(String mode)
TypeInfo
BuiltinModes.ANY
getLayouts
in interface TypeInfo
public String[] getLayouts(String mode, String defaultMode)
TypeInfo
If parameter "defaultMode" is null, returns only layout defined for given mode.
getLayouts
in interface TypeInfo
public String getView(String viewId)
getView
in interface TypeInfo
public TypeView[] getViews()
getViews
in interface TypeInfo
public String[] getContentViews(String category)
TypeInfo
getContentViews
in interface TypeInfo
public Map<String,String[]> getContentViews()
TypeInfo
getContentViews
in interface TypeInfo
public Map<String,String[]> getContentViewsForExport()
TypeInfo
Categories holding no content view shown in export views are omitted.
getContentViewsForExport
in interface TypeInfo
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |