Index

A C D F G I J L M N R S T U V W 
All Classes and Interfaces|All Packages

A

AbstractNestedSetService<T extends INestedSetNode<ID>,ID> - Class in com.mewebstudio.springboot.jpa.nestedset
Abstract service class for managing nested set trees.
AbstractNestedSetService(JpaNestedSetRepository<T, ID>) - Constructor for class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Constructor for AbstractNestedSetService.

C

closeGapInTree(T, int, List<T>) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Closes the gap in the tree after a node is deleted.
com.mewebstudio.springboot.jpa.nestedset - package com.mewebstudio.springboot.jpa.nestedset
 
createNode(List<T>, T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Creates a new node in the nested set tree.

D

DOWN - Enum constant in enum class com.mewebstudio.springboot.jpa.nestedset.MoveNodeDirection
Direction to move the node down in the tree.

F

findAllOrderedByLeft() - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all nodes in the tree, ordered by their left value.
findAncestors(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all ancestors of a given node.
findByLeft(int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find a node by its left value.
findByLeftAndRight(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find a node by its left and right values.
findByLeftBetween(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all nodes with left value between the specified range.
findByParentId(ID) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all nodes that are children of a given parent node.
findByRight(int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find a node by its right value.
findChildren(ID) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all children of a given parent node.
findContaining(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all the nodes (top level nodes) that cover the given range.
findDescendants(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all descendants of a given node.
findExact(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all the node that exactly matches the given left and right values.
findExactExcluding(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Retrieves all ancestor nodes of a given node based on its left and right values, excluding the node itself.
findLeafNodes() - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all leaf nodes in the tree.
findNextSibling(ID, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find next sibling of a node by its parentId and left value.
findNodesToShift(int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Retrieves nodes with a right value greater than the specified value.
findPrevSibling(ID, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find previous sibling of a node by its parentId and left value.
findRootNodes() - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all root nodes in the tree.
findSiblings(ID, ID) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all siblings of a given node.
findSubtree(int, int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Find all subtrees of a regular node, including its subtrees.

G

getAncestors(T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Get ancestors of a node.
getChildren() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNodeResponse
Get the list of child nodes of this node.
getDescendants(T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Get descendants of a node.
getId() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Get the identifier of the node.
getLeft() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Get the left value of the node in the nested set.
getLeft() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNodeResponse
Get the left value of the node in the nested set.
getParent() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Get the parent node of this node.
getRight() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Get the right value of the node in the nested set.
getRight() - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNodeResponse
Get the right value of the node in the nested set.

I

INestedSetNode<ID> - Interface in com.mewebstudio.springboot.jpa.nestedset
Interface representing a node in a nested set tree structure.
INestedSetNodeResponse<ID> - Interface in com.mewebstudio.springboot.jpa.nestedset
Interface representing a response node in a nested set tree structure.
isDescendant(T, T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Check if a node is a descendant of another node.

J

JpaNestedSetRepository<T extends INestedSetNode<ID>,ID> - Interface in com.mewebstudio.springboot.jpa.nestedset
Repository interface for managing nested set nodes.

L

lockNode(ID) - Method in interface com.mewebstudio.springboot.jpa.nestedset.JpaNestedSetRepository
Lock a node by its ID.

M

moveDown(T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Move a node down in the tree.
moveNode(T, MoveNodeDirection) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Move a node in the tree.
MoveNodeDirection - Enum Class in com.mewebstudio.springboot.jpa.nestedset
Enum representing the direction of a move operation in a nested set tree structure.
moveUp(T) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Move a node up in the tree.

N

NestedSetUtil - Class in com.mewebstudio.springboot.jpa.nestedset
Utility class for working with nested set trees.

R

rebuildTree(T, List<T>) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Rebuild the tree structure starting from the root node.
rebuildTree(T, List<T>, int) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Rebuild the tree structure.
repository - Variable in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
The repository to be used for database operations.

S

saveAllNodes(List<T>) - Method in class com.mewebstudio.springboot.jpa.nestedset.AbstractNestedSetService
Save all nodes in the tree.
setLeft(int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Set the left value of the node in the nested set.
setParent(INestedSetNode<ID>) - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Set the parent node of this node.
setRight(int) - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNode
Set the right value of the node in the nested set.

T

tree(List<E>, Function<E, T>) - Static method in class com.mewebstudio.springboot.jpa.nestedset.NestedSetUtil
Build a tree structure from a list of nested set nodes.

U

UP - Enum constant in enum class com.mewebstudio.springboot.jpa.nestedset.MoveNodeDirection
Direction to move the node up in the tree.

V

valueOf(String) - Static method in enum class com.mewebstudio.springboot.jpa.nestedset.MoveNodeDirection
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.mewebstudio.springboot.jpa.nestedset.MoveNodeDirection
Returns an array containing the constants of this enum class, in the order they are declared.

W

withChildren(List<INestedSetNodeResponse<ID>>) - Method in interface com.mewebstudio.springboot.jpa.nestedset.INestedSetNodeResponse
Set the list of child nodes for this node.
A C D F G I J L M N R S T U V W 
All Classes and Interfaces|All Packages