com.liferay.portlet.messageboards.model.impl
Class MBTreeWalkerImpl
java.lang.Object
com.liferay.portlet.messageboards.model.impl.MBTreeWalkerImpl
- All Implemented Interfaces:
- MBTreeWalker, Serializable
public class MBTreeWalkerImpl
- extends Object
- implements MBTreeWalker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBTreeWalkerImpl
public MBTreeWalkerImpl(MBMessage message,
int status,
MBMessageLocalService messageLocalService)
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