Liferay 6.1.2-ce-ga3

com.liferay.portlet.messageboards.model.impl
Class MBTreeWalkerImpl

java.lang.Object
  extended by com.liferay.portlet.messageboards.model.impl.MBTreeWalkerImpl
All Implemented Interfaces:
MBTreeWalker, Serializable

public class MBTreeWalkerImpl
extends Object
implements MBTreeWalker

See Also:
Serialized Form

Constructor Summary
MBTreeWalkerImpl(MBMessage message, int status, MBMessageLocalService messageLocalService)
           
 
Method Summary
 List<MBMessage> getChildren(MBMessage message)
           
 int[] getChildrenRange(MBMessage message)
           
 List<MBMessage> getMessages()
           
 MBMessage getRoot()
           
 boolean isLeaf(MBMessage message)
           
 boolean isOdd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBTreeWalkerImpl

public MBTreeWalkerImpl(MBMessage message,
                        int status,
                        MBMessageLocalService messageLocalService)
Method Detail

getChildren

public List<MBMessage> getChildren(MBMessage message)
Specified by:
getChildren in interface MBTreeWalker

getChildrenRange

public int[] getChildrenRange(MBMessage message)
Specified by:
getChildrenRange in interface MBTreeWalker

getMessages

public List<MBMessage> getMessages()
Specified by:
getMessages in interface MBTreeWalker

getRoot

public MBMessage getRoot()
Specified by:
getRoot in interface MBTreeWalker

isLeaf

public boolean isLeaf(MBMessage message)
Specified by:
isLeaf in interface MBTreeWalker

isOdd

public boolean isOdd()
Specified by:
isOdd in interface MBTreeWalker

Liferay 6.1.2-ce-ga3