Uses of Class
com.madzera.happytree.exception.TreeException
Packages that use TreeException
-
Uses of TreeException in com.madzera.happytree
Methods in com.madzera.happytree that throw TreeExceptionModifier and TypeMethodDescription<T> voidApplies a function to be performed on all elements within the entire tree structure.<T> voidApplies a function to be performed on elements that satisfy a specific condition within the entire tree structure.booleanTreeManager.containsElement(Element<?> element) Verifies that the current tree session has the specifiedelement.<T> booleanTreeManager.containsElement(Element<T> parent, Element<T> descendant) Verifies whether theparentelement contains inside of it thedescendantelement in this current session.booleanTreeManager.containsElement(Object id) Verifies that the current tree session has the specified element by the given@Id.booleanTreeManager.containsElement(Object parent, Object descendant) Verifies whether theparentelement contains inside of it thedescendantelement in this current session.<T> Element<T> Copies the respectivefromelement into thetoelement in another tree session.<T> Element<T> TreeManager.createElement(Object id, Object parent, T wrappedNode) Creates an element with theid,parentand the wrapped object node.<T> Element<T> Cuts thefromelement into thetoelement, whether for the same session or not.<T> Element<T> Cuts thefromelement into thetoelement, inside of the same session.<T> Element<T> TreeManager.getElementById(Object id) Obtains an element by@Idin the current tree session.<T> voidTreeTransaction.initializeSession(String identifier, Class<T> type) Initializes a new empty tree session with the specified identifier.<T> voidTreeTransaction.initializeSession(String identifier, Collection<T> nodes) Initializes a session with a specified identifier and a list of linear objects (with a logical tree structure) to be transformed into an actual tree structure.<T> Element<T> TreeManager.persistElement(Element<T> newElement) Persists a new element into the current tree session.<T> Element<T> TreeManager.removeElement(Element<T> element) Removes the corresponding element from the tree session and returns the removed element itself.<T> Element<T> TreeManager.removeElement(Object id) Removes the element by its@Id.<T> Element<T> TreeManager.root()Returns the root of the tree in this current session.Searches for elements that satisfy a specific condition within the entire tree structure.<T> Element<T> TreeManager.updateElement(Element<T> element) Updates the state of the element to the tree. -
Uses of TreeException in com.madzera.happytree.core
Methods in com.madzera.happytree.core that throw TreeExceptionModifier and TypeMethodDescriptionprotected voidATPPhase.doChain(TreePipeline pipeline) protected abstract voidATPPhase.run(TreePipeline pipeline)