public class PersistenceNestedSetsTreeManager<T extends NestedSetsTreeNodeModel> extends NestedSetsTreeManager<T>
Constructor and Description |
---|
PersistenceNestedSetsTreeManager(BasePersistenceImpl<?> basePersistenceImpl,
String tableName,
String entityName,
Class<?> entityImplClass,
String primaryKeyName,
String nestedSetsTreeNodeScopeIdName,
String nestedSetsTreeNodeLeftName,
String nestedSetsTreeNodeRightName) |
Modifier and Type | Method and Description |
---|---|
protected long |
doCountAncestors(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight) |
protected long |
doCountDescendants(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight) |
protected List<T> |
doGetAncestors(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight) |
protected List<T> |
doGetDescendants(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight) |
protected void |
doUpdate(boolean leftOrRight,
long nestedSetsTreeNodeScopeId,
long delta,
long start,
boolean startInclusive,
long end,
boolean endInclusive,
List<T> includeList) |
protected void |
doUpdate(long nestedSetsTreeNodeScopeId,
boolean leftOrRight,
long delta,
long limit,
boolean inclusive) |
protected void |
doUpdate(long nestedSetsTreeNodeScopeId,
long delta,
long start,
boolean startInclusive,
long end,
boolean endInclusive,
List<T> includeList) |
protected long |
getMaxNestedSetsTreeNodeRight(long nestedSetsTreeNodeScopeId) |
countAncestors, countDescendants, delete, getAncestors, getDescendants, insert, move
public PersistenceNestedSetsTreeManager(BasePersistenceImpl<?> basePersistenceImpl, String tableName, String entityName, Class<?> entityImplClass, String primaryKeyName, String nestedSetsTreeNodeScopeIdName, String nestedSetsTreeNodeLeftName, String nestedSetsTreeNodeRightName)
protected long doCountAncestors(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
doCountAncestors
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected long doCountDescendants(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
doCountDescendants
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected List<T> doGetAncestors(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
doGetAncestors
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected List<T> doGetDescendants(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
doGetDescendants
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected void doUpdate(boolean leftOrRight, long nestedSetsTreeNodeScopeId, long delta, long start, boolean startInclusive, long end, boolean endInclusive, List<T> includeList)
protected void doUpdate(long nestedSetsTreeNodeScopeId, boolean leftOrRight, long delta, long limit, boolean inclusive)
doUpdate
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected void doUpdate(long nestedSetsTreeNodeScopeId, long delta, long start, boolean startInclusive, long end, boolean endInclusive, List<T> includeList)
doUpdate
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
protected long getMaxNestedSetsTreeNodeRight(long nestedSetsTreeNodeScopeId)
getMaxNestedSetsTreeNodeRight
in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>