Liferay 7.0-ce-b4

com.liferay.portal.service.persistence.impl
Class PersistenceNestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.NestedSetsTreeManager<T>
      extended by com.liferay.portal.service.persistence.impl.PersistenceNestedSetsTreeManager<T>

public class PersistenceNestedSetsTreeManager<T extends NestedSetsTreeNodeModel>
extends NestedSetsTreeManager<T>


Constructor Summary
PersistenceNestedSetsTreeManager(BasePersistenceImpl<?> basePersistenceImpl, String tableName, String entityName, Class<?> entityImplClass, String primaryKeyName, String nestedSetsTreeNodeScopeIdName, String nestedSetsTreeNodeLeftName, String nestedSetsTreeNodeRightName)
           
 
Method Summary
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)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.NestedSetsTreeManager
countAncestors, countDescendants, delete, getAncestors, getDescendants, insert, move
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceNestedSetsTreeManager

public PersistenceNestedSetsTreeManager(BasePersistenceImpl<?> basePersistenceImpl,
                                        String tableName,
                                        String entityName,
                                        Class<?> entityImplClass,
                                        String primaryKeyName,
                                        String nestedSetsTreeNodeScopeIdName,
                                        String nestedSetsTreeNodeLeftName,
                                        String nestedSetsTreeNodeRightName)
Method Detail

doCountAncestors

protected long doCountAncestors(long nestedSetsTreeNodeScopeId,
                                long nestedSetsTreeNodeLeft,
                                long nestedSetsTreeNodeRight)
Specified by:
doCountAncestors in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

doCountDescendants

protected long doCountDescendants(long nestedSetsTreeNodeScopeId,
                                  long nestedSetsTreeNodeLeft,
                                  long nestedSetsTreeNodeRight)
Specified by:
doCountDescendants in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

doGetAncestors

protected List<T> doGetAncestors(long nestedSetsTreeNodeScopeId,
                                 long nestedSetsTreeNodeLeft,
                                 long nestedSetsTreeNodeRight)
Specified by:
doGetAncestors in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

doGetDescendants

protected List<T> doGetDescendants(long nestedSetsTreeNodeScopeId,
                                   long nestedSetsTreeNodeLeft,
                                   long nestedSetsTreeNodeRight)
Specified by:
doGetDescendants in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

doUpdate

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

doUpdate

protected void doUpdate(long nestedSetsTreeNodeScopeId,
                        boolean leftOrRight,
                        long delta,
                        long limit,
                        boolean inclusive)
Specified by:
doUpdate in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

doUpdate

protected void doUpdate(long nestedSetsTreeNodeScopeId,
                        long delta,
                        long start,
                        boolean startInclusive,
                        long end,
                        boolean endInclusive,
                        List<T> includeList)
Specified by:
doUpdate in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

getMaxNestedSetsTreeNodeRight

protected long getMaxNestedSetsTreeNodeRight(long nestedSetsTreeNodeScopeId)
Specified by:
getMaxNestedSetsTreeNodeRight in class NestedSetsTreeManager<T extends NestedSetsTreeNodeModel>

Liferay 7.0-ce-b4