public class BONavigationTreeNode extends NavigationTreeNode
| Constructor and Description |
|---|
BONavigationTreeNode(NavigationTreeModelI _navmodel,
BO _bo,
boolean _allowsChildren) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDeleted() |
boolean |
canEditOriginal() |
boolean |
canProvideInfo() |
void |
checkUserObject(java.lang.Object o) |
static java.util.Set<java.lang.Long> |
collectDependencies(BO bo,
java.util.Set<java.lang.Long> alreadyHandledIds)
Determines and returns all
BOs that the given BO dependes
on/is associated with. |
void |
delete(Transaction tx) |
void |
editOriginal() |
java.lang.Class |
getAllowedClass() |
BO |
getBO() |
java.lang.Class |
getClazz() |
java.lang.Long |
getIdOfBO() |
void |
info() |
boolean |
isAssociatedWithBO(BO bo) |
boolean |
isDependentOn(java.lang.Long id)
Determines if the
BO associated with this node is somehow
dependent on the BO with the given id. |
BO |
refreshBO() |
void |
setBO(BO bo) |
void |
setClazz(java.lang.Class $6) |
void |
setIdOfBO(java.lang.Long $5) |
void |
setUserObject(java.lang.Object o) |
java.lang.String |
toString() |
boolean |
useSoftReference(BO bo) |
add, add, add, addFolderAllowed, addStrukturAllowed, canBeCopied, canBeCopiedInto, canBeLinked, canBeLinkedInto, canBeMoved, canBeMovedInto, canBeOpened, canBeRenamed, copy, determineAllowsChildren, editOriginalCount, getAllSubtreeItems, getAllSubtreeItems, getAllSubtreeItems, getChildCount, getCtx, getName, getNavmodel, getNodecache, getNodeInstance, getNodesForDelete, getParentItem, infoCount, insert, isCyclestopper, isLeaf, link, move, open, openCount, rename, setCyclestopper, setNavmodelbreadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waithasChildAssociatedWithBOpublic BONavigationTreeNode(NavigationTreeModelI _navmodel, BO _bo, boolean _allowsChildren)
public boolean useSoftReference(BO bo)
public void setBO(BO bo)
public boolean isDependentOn(java.lang.Long id)
BO associated with this node is somehow
dependent on the BO with the given id.public static java.util.Set<java.lang.Long> collectDependencies(BO bo, java.util.Set<java.lang.Long> alreadyHandledIds)
BOs that the given BO dependes
on/is associated with.bo - the BO whose dependencies are wantedalreadyHandledIds - alias Set that contains the ids of all
BOs for which the method was already called, to avoid cyclesSet containing the ids of all the BOs the given
BO depends on (including the id of the BO itself)public java.lang.Class getAllowedClass()
public void checkUserObject(java.lang.Object o)
public void setUserObject(java.lang.Object o)
setUserObject in interface javax.swing.tree.MutableTreeNodesetUserObject in class javax.swing.tree.DefaultMutableTreeNodepublic BO getBO()
public BO refreshBO()
public boolean isAssociatedWithBO(BO bo)
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic boolean canBeDeleted()
canBeDeleted in interface NavigationItemIcanBeDeleted in class NavigationTreeNodepublic void delete(Transaction tx)
delete in interface NavigationItemIdelete in class NavigationTreeNodepublic boolean canProvideInfo()
canProvideInfo in interface NavigationItemIcanProvideInfo in class NavigationTreeNodepublic void info()
info in interface NavigationItemIinfo in class NavigationTreeNodepublic boolean canEditOriginal()
canEditOriginal in interface NavigationItemIcanEditOriginal in class NavigationTreeNodepublic void editOriginal()
editOriginal in interface NavigationItemIeditOriginal in class NavigationTreeNodepublic java.lang.Long getIdOfBO()
public void setIdOfBO(java.lang.Long $5)
public java.lang.Class getClazz()
public void setClazz(java.lang.Class $6)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.