|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectoryEntryView
This interface defines a view of a hierarchy of DirectoryEntry instances. A directory has a constraint above and beyond tree that requires no two children of a DirectoryEntry may have the same name.
Method Summary | |
---|---|
DirectoryEntryEditor |
getDirectoryEntryEditor()
Return the directory entry editor for this view. |
DirectoryEntry |
lookup(java.lang.String path)
Lookup the node referenced by the relative path in this view. |
DirectoryEntry |
lookup(java.lang.String path,
java.lang.String separator)
Lookup the node referenced by the relative path in this view, but specify a separator. |
Methods inherited from interface com.metamatrix.common.tree.TreeView |
---|
allowsChild, allowsChildren, getChildren, getComparator, getFilter, getHome, getMarked, getParent, getPath, getPropertyDefinitions, getRoots, getSeparator, getSeparatorChar, getTreeNodeEditor, isAncestorOf, isHidden, isMarked, isParentOf, isRoot, iterator, iterator, setComparator, setFilter, setMarked |
Methods inherited from interface com.metamatrix.common.object.PropertiedObjectView |
---|
getPropertiedObjectEditor |
Methods inherited from interface com.metamatrix.common.transaction.UserTransactionFactory |
---|
createReadTransaction, createWriteTransaction, createWriteTransaction |
Method Detail |
---|
DirectoryEntryEditor getDirectoryEntryEditor()
DirectoryEntry lookup(java.lang.String path)
path
- the path of the desired node specified in terms of this view
(i.e., the result of calling getPath()
on this view with the
returned node as the parameter should result in the same value as path
);
may not be null or zero-length
java.lang.AssertionError
- if the path is null or zero-lengthDirectoryEntry lookup(java.lang.String path, java.lang.String separator)
path
- the path of the desired node specified in terms of this view
(i.e., the result of calling getPath()
on this view with the
returned node as the parameter should result in the same value as path
);
may not be null or zero-lengthseparater
- the string used to separate the components of a name.
java.lang.AssertionError
- if the path is null or zero-length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |