Package org.nuxeo.ecm.platform.types
Class Type
java.lang.Object
org.nuxeo.ecm.platform.types.Type
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected String
protected String
protected String
protected Map<String,
DocumentContentViews> protected String
protected String
protected String[]
protected String
protected String
static final String[]
protected String
protected String
protected String
protected String
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubType
(List<SubType> subTypes) clone()
Clone method to handle hot reloadString[]
String[]
getContentViews
(String category) Return content views defined on this document type for given categoryString[]
getIcon()
getId()
getLabel()
Returns the layouts mapString[]
getLayouts
(String mode) Returns layout names given a mode.String[]
getLayouts
(String mode, String defaultMode) boolean
TypeView[]
getViews()
void
setActions
(String[] actions) void
setAllowedSubTypes
(Map<String, SubType> allowedSubTypes) void
setBigIcon
(String bigIcon) void
setBigIconExpanded
(String bigIconExpanded) void
setCategory
(String category) void
setContentViews
(Map<String, DocumentContentViews> contentViews) void
setCreateView
(String createView) void
setDefaultView
(String defaultView) void
setDeniedSubTypes
(String[] deniedSubTypes) void
setDescription
(String description) void
setEditView
(String editView) void
void
setIconExpanded
(String iconExpanded) void
void
void
setLayouts
(Map<String, Layouts> layouts) void
setRemove
(boolean remove) void
void
toString()
-
Field Details
-
EMPTY_ACTIONS
-
id
-
icon
-
iconExpanded
-
bigIcon
-
bigIconExpanded
-
label
-
allowedSubTypes
-
deniedSubTypes
-
defaultView
-
createView
-
editView
-
description
-
category
-
views
-
actions
-
contentViews
-
remove
protected boolean remove
-
-
Constructor Details
-
Type
-
Type
public Type()
-
-
Method Details
-
addSubType
-
getActions
-
setActions
-
getIcon
-
setIcon
-
getBigIcon
-
setBigIcon
-
getBigIconExpanded
-
setBigIconExpanded
-
getLabel
-
setLabel
-
getId
-
setId
-
getDescription
-
setDescription
-
getCategory
-
setCategory
-
getLayouts
Returns layout names given a mode. -
getLayouts
-
getLayouts
Returns the layouts map -
setLayouts
-
getDefaultView
-
setDefaultView
-
getCreateView
-
setCreateView
-
getEditView
-
setEditView
-
getViews
-
setViews
-
getView
-
setView
-
getDeniedSubTypes
-
setDeniedSubTypes
-
getAllowedSubTypes
-
setAllowedSubTypes
-
getRemove
public boolean getRemove() -
setRemove
public void setRemove(boolean remove) -
toString
-
getIconExpanded
-
setIconExpanded
-
getContentViews
Return content views defined on this document type for given category- Since:
- 5.4
-
getContentViews
-
setContentViews
-
clone
Clone method to handle hot reload
-