Class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

Object
com.liferay.portal.kernel.service.persistence.impl.NestedSetsTreeManager<T>
Direct Known Subclasses:
PersistenceNestedSetsTreeManager

public abstract class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel> extends Object
Author:
Shuyang Zhou
  • Constructor Details

    • NestedSetsTreeManager

      public NestedSetsTreeManager()
  • Method Details

    • countAncestors

      public long countAncestors(T t)
    • countDescendants

      public long countDescendants(T t)
    • delete

      public void delete(T t)
    • getAncestors

      public List<T> getAncestors(T t)
    • getDescendants

      public List<T> getDescendants(T t)
    • insert

      public void insert(T t, T parentT)
    • move

      public void move(T t, T oldParentT, T newParentT)
    • doCountAncestors

      protected abstract long doCountAncestors(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
    • doCountDescendants

      protected abstract long doCountDescendants(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
    • doGetAncestors

      protected abstract List<T> doGetAncestors(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
    • doGetDescendants

      protected abstract List<T> doGetDescendants(long nestedSetsTreeNodeScopeId, long nestedSetsTreeNodeLeft, long nestedSetsTreeNodeRight)
    • doUpdate

      protected abstract void doUpdate(long nestedSetsTreeNodeScopeId, boolean leftOrRight, long delta, long limit, boolean inclusive)
    • doUpdate

      protected abstract void doUpdate(long nestedSetsTreeNodeScopeId, long delta, long start, boolean startInclusive, long end, boolean endInclusive, List<T> includeList)
    • getMaxNestedSetsTreeNodeRight

      protected abstract long getMaxNestedSetsTreeNodeRight(long nestedSetsTreeNodeScopeId)