info.magnolia.ui.workbench.definition
Class ConfiguredNodeTypeDefinition

java.lang.Object
  extended by info.magnolia.ui.workbench.definition.ConfiguredNodeTypeDefinition
All Implemented Interfaces:
NodeTypeDefinition

public class ConfiguredNodeTypeDefinition
extends Object
implements NodeTypeDefinition

Configuration for a definition of a NodeType. e.g. used for inclusion in a tree.

See Also:
NodeTypes

Constructor Summary
ConfiguredNodeTypeDefinition()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredNodeTypeDefinition

public ConfiguredNodeTypeDefinition()
Method Detail

getName

public String getName()
Description copied from interface: NodeTypeDefinition
Specifies the the name of the node type. For instance mgnl:content.

Specified by:
getName in interface NodeTypeDefinition
See Also:
NodeTypes, JcrConstants

setName

public void setName(String name)

getIcon

public String getIcon()
Description copied from interface: NodeTypeDefinition
Specifies the icon to use for this node type.

Specified by:
getIcon in interface NodeTypeDefinition

setIcon

public void setIcon(String icon)

isStrict

public boolean isStrict()
Description copied from interface: NodeTypeDefinition
Specifies whether to include only the exact node type and ignore sub types.

Specified by:
isStrict in interface NodeTypeDefinition

setStrict

public void setStrict(boolean strict)

isHideInList

public boolean isHideInList()
Description copied from interface: NodeTypeDefinition
Determines whether the current node will be displayed in lists and searches. I.e. a node type mgnl:folder will likely be excluded from being displayed in a "flat" list view, therefore its value will be true.

Specified by:
isHideInList in interface NodeTypeDefinition
Returns:
false by default, unless diversely set.

setHideInList

public void setHideInList(boolean hideInList)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.