org.nuxeo.ecm.platform.types
Class Type
java.lang.Object
org.nuxeo.ecm.platform.types.Type
- All Implemented Interfaces:
- Serializable
public class Type
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Constructor Summary |
Type()
|
EMPTY_ACTIONS
public static final String[] EMPTY_ACTIONS
Type
public Type()
addSubType
public void addSubType(List<SubType> subTypes)
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)
getLayout
@Deprecated
public FieldWidget[] getLayout()
- Deprecated. use
getLayouts(String)
instead, using mode
BuiltinModes.ANY
.
setLayout
@Deprecated
public void setLayout(FieldWidget[] layout)
- Deprecated.
getLayouts
public String[] getLayouts(String mode)
- Returns layout names given a mode.
getLayouts
public String[] getLayouts(String mode,
String defaultMode)
getLayouts
public Map<String,Layouts> getLayouts()
- Returns the layouts map
setLayouts
public void setLayouts(Map<String,Layouts> layouts)
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)
getView
public TypeView getView(String viewId)
setView
public void setView(TypeView view)
getDeniedSubTypes
public String[] getDeniedSubTypes()
setDeniedSubTypes
public void setDeniedSubTypes(String[] deniedSubTypes)
getAllowedSubTypes
public Map<String,SubType> getAllowedSubTypes()
setAllowedSubTypes
public void setAllowedSubTypes(Map<String,SubType> allowedSubTypes)
getRemove
public boolean getRemove()
setRemove
public void setRemove(boolean remove)
toString
public String toString()
- Overrides:
toString
in class Object
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.