|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.overview.node.FileSetMemberNameGenerator
public class FileSetMemberNameGenerator
Since a FileSetMember isn't Nameable we construct the name by combining the name of the file type and the name of the file.
Constructor Summary | |
---|---|
FileSetMemberNameGenerator()
|
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(FileSetMember item,
Node parentNode)
Generate a name for the new node that is about to be created. |
String |
getNodeTitle(FileSetMember item,
Node parentNode)
Generate a title for the new node that is about to be created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSetMemberNameGenerator()
Method Detail |
---|
public String getNodeName(FileSetMember item, Node parentNode)
NodeNameGenerator
getNodeName
in interface NodeNameGenerator<FileSetMember>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
public String getNodeTitle(FileSetMember item, Node parentNode)
NodeNameGenerator
getNodeTitle
in interface NodeNameGenerator<FileSetMember>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
public String getDeniedNodeName(Node parentNode)
NodeNameGenerator
getDeniedNodeName
in interface NodeNameGenerator<FileSetMember>
parentNode
- The parent node
public String getDeniedNodeTitle(Node parentNode)
NodeNameGenerator
getDeniedNodeTitle
in interface NodeNameGenerator<FileSetMember>
parentNode
- The parent node
public String getMissingNodeName(Node parentNode)
NodeNameGenerator
getMissingNodeName
in interface NodeNameGenerator<FileSetMember>
parentNode
- The parent node
public String getMissingNodeTitle(Node parentNode)
NodeNameGenerator
getMissingNodeTitle
in interface NodeNameGenerator<FileSetMember>
parentNode
- The parent node
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |