public class ConfiguredNodeTypeDefinition extends Object implements NodeTypeDefinition
NodeTypes
Constructor and Description |
---|
ConfiguredNodeTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getIcon()
Specifies the icon to use for this node type.
|
String |
getName()
Specifies the the name of the node type.
|
boolean |
isHideInList()
Determines whether the current node will be displayed in lists and searches.
|
boolean |
isStrict()
Specifies whether to include only the exact node type and ignore sub types.
|
void |
setHideInList(boolean hideInList) |
void |
setIcon(String icon) |
void |
setName(String name) |
void |
setStrict(boolean strict) |
public String getName()
NodeTypeDefinition
mgnl:content
.getName
in interface NodeTypeDefinition
NodeTypes
,
JcrConstants
public void setName(String name)
public String getIcon()
NodeTypeDefinition
getIcon
in interface NodeTypeDefinition
public void setIcon(String icon)
public boolean isStrict()
NodeTypeDefinition
isStrict
in interface NodeTypeDefinition
public void setStrict(boolean strict)
public boolean isHideInList()
NodeTypeDefinition
mgnl:folder
will likely be excluded from being displayed in a "flat" list view, therefore its value will be true
.isHideInList
in interface NodeTypeDefinition
false
by default, unless diversely set.public void setHideInList(boolean hideInList)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.