|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeNameGenerator<I>
A name generator is an object that can create the name and
title for a node when given the item that should be attached
to the node. The name and title are used to create the
new node: Node.Node(String, String, Node, BasicItem, ChildNodeDirection)
.
Method Summary | |
---|---|
String |
getDeniedNodeName(Node parentNode)
Generate a name for a node when the item exists, but the current user doesn't have permission to access read the item. |
String |
getDeniedNodeTitle(Node parentNode)
Generate a title for a node when the item exists, but the current user doesn't have permission to access read the item. |
String |
getMissingNodeName(Node parentNode)
Generate a name for a node when the item is missing. |
String |
getMissingNodeTitle(Node parentNode)
Generate a title for a node when the item is missing. |
String |
getNodeName(I item,
Node parentNode)
Generate a name for the new node that is about to be created. |
String |
getNodeTitle(I item,
Node parentNode)
Generate a title for the new node that is about to be created. |
Method Detail |
---|
String getMissingNodeName(Node parentNode)
parentNode
- The parent node
String getMissingNodeTitle(Node parentNode)
parentNode
- The parent node
String getDeniedNodeName(Node parentNode)
parentNode
- The parent node
String getDeniedNodeTitle(Node parentNode)
parentNode
- The parent node
String getNodeName(I item, Node parentNode)
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
String getNodeTitle(I item, Node parentNode)
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |