Package org.nuxeo.ecm.platform.types
Class Type
- java.lang.Object
-
- org.nuxeo.ecm.platform.types.Type
-
public class Type extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
actions
protected Map<String,SubType>
allowedSubTypes
protected String
bigIcon
protected String
bigIconExpanded
protected String
category
protected Map<String,DocumentContentViews>
contentViews
protected String
createView
protected String
defaultView
protected String[]
deniedSubTypes
protected String
description
protected String
editView
static String[]
EMPTY_ACTIONS
protected String
icon
protected String
iconExpanded
protected String
id
protected String
label
protected boolean
remove
protected Map<String,TypeView>
views
-
Method Summary
-
-
-
Field Detail
-
EMPTY_ACTIONS
public static final String[] EMPTY_ACTIONS
-
id
protected String id
-
icon
protected String icon
-
iconExpanded
protected String iconExpanded
-
bigIcon
protected String bigIcon
-
bigIconExpanded
protected String bigIconExpanded
-
label
protected String label
-
deniedSubTypes
protected String[] deniedSubTypes
-
defaultView
protected String defaultView
-
createView
protected String createView
-
editView
protected String editView
-
description
protected String description
-
category
protected String category
-
actions
protected String[] actions
-
contentViews
protected Map<String,DocumentContentViews> contentViews
-
remove
protected boolean remove
-
-
Constructor Detail
-
Type
protected Type(String id)
-
Type
public Type()
-
-
Method Detail
-
getActions
public String[] getActions()
-
setActions
public void setActions(String[] actions)
-
getIcon
public String getIcon()
-
setIcon
public void setIcon(String icon)
-
getBigIcon
public String getBigIcon()
-
setBigIcon
public void setBigIcon(String bigIcon)
-
getBigIconExpanded
public String getBigIconExpanded()
-
setBigIconExpanded
public void setBigIconExpanded(String bigIconExpanded)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCategory
public String getCategory()
-
setCategory
public void setCategory(String category)
-
getDefaultView
public String getDefaultView()
-
setDefaultView
public void setDefaultView(String defaultView)
-
getCreateView
public String getCreateView()
-
setCreateView
public void setCreateView(String createView)
-
getEditView
public String getEditView()
-
setEditView
public void setEditView(String editView)
-
getViews
public TypeView[] getViews()
-
setViews
public void setViews(TypeView[] views)
-
setView
public void setView(TypeView view)
-
getDeniedSubTypes
public String[] getDeniedSubTypes()
-
setDeniedSubTypes
public void setDeniedSubTypes(String[] deniedSubTypes)
-
getRemove
public boolean getRemove()
-
setRemove
public void setRemove(boolean remove)
-
getIconExpanded
public String getIconExpanded()
-
setIconExpanded
public void setIconExpanded(String iconExpanded)
-
getContentViews
public String[] getContentViews(String category)
Return content views defined on this document type for given category- Since:
- 5.4
-
getContentViews
public Map<String,DocumentContentViews> getContentViews()
-
setContentViews
public void setContentViews(Map<String,DocumentContentViews> contentViews)
-
-