com.liferay.portal.service.persistence.impl
Class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
java.lang.Object
com.liferay.portal.service.persistence.impl.NestedSetsTreeManager<T>
- Direct Known Subclasses:
- PersistenceNestedSetsTreeManager
public abstract class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
- extends Object
|
Method Summary |
long |
countAncestors(T t)
|
long |
countDescendants(T t)
|
void |
delete(T t)
|
protected abstract long |
doCountAncestors(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight)
|
protected abstract long |
doCountDescendants(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight)
|
protected abstract List<T> |
doGetAncestors(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight)
|
protected abstract List<T> |
doGetDescendants(long nestedSetsTreeNodeScopeId,
long nestedSetsTreeNodeLeft,
long nestedSetsTreeNodeRight)
|
protected abstract void |
doUpdate(long nestedSetsTreeNodeScopeId,
boolean leftOrRight,
long delta,
long limit,
boolean inclusive)
|
protected abstract void |
doUpdate(long nestedSetsTreeNodeScopeId,
long delta,
long start,
boolean startInclusive,
long end,
boolean endInclusive,
List<T> includeList)
|
List<T> |
getAncestors(T t)
|
List<T> |
getDescendants(T t)
|
protected abstract long |
getMaxNestedSetsTreeNodeRight(long nestedSetsTreeNodeScopeId)
|
void |
insert(T t,
T parentT)
|
void |
move(T t,
T oldParentT,
T newParentT)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedSetsTreeManager
public NestedSetsTreeManager()
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)