public class BioMaterialListMemberNameGenerator extends Object implements NodeNameGenerator<BioMaterial>
Constructor and Description |
---|
BioMaterialListMemberNameGenerator() |
Modifier and Type | Method and Description |
---|---|
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(BioMaterial item,
Node parentNode)
Generate a name for the new node that is about to be
created.
|
String |
getNodeTitle(BioMaterial item,
Node parentNode)
Generate a title for the new node that is about to be
created.
|
public String getNodeName(BioMaterial item, Node parentNode)
NodeNameGenerator
getNodeName
in interface NodeNameGenerator<BioMaterial>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new nodepublic String getNodeTitle(BioMaterial item, Node parentNode)
NodeNameGenerator
getNodeTitle
in interface NodeNameGenerator<BioMaterial>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new nodepublic String getDeniedNodeName(Node parentNode)
NodeNameGenerator
getDeniedNodeName
in interface NodeNameGenerator<BioMaterial>
parentNode
- The parent nodepublic String getDeniedNodeTitle(Node parentNode)
NodeNameGenerator
getDeniedNodeTitle
in interface NodeNameGenerator<BioMaterial>
parentNode
- The parent nodepublic String getMissingNodeName(Node parentNode)
NodeNameGenerator
getMissingNodeName
in interface NodeNameGenerator<BioMaterial>
parentNode
- The parent nodepublic String getMissingNodeTitle(Node parentNode)
NodeNameGenerator
getMissingNodeTitle
in interface NodeNameGenerator<BioMaterial>
parentNode
- The parent node