public class MBTreeWalkerImpl
extends Object
implements com.liferay.message.boards.kernel.model.MBTreeWalker
Constructor and Description |
---|
MBTreeWalkerImpl(long threadId,
int status,
com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService,
Comparator<com.liferay.message.boards.kernel.model.MBMessage> comparator) |
MBTreeWalkerImpl(long userId,
long threadId,
int status,
com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService,
Comparator<com.liferay.message.boards.kernel.model.MBMessage> comparator) |
MBTreeWalkerImpl(com.liferay.message.boards.kernel.model.MBMessage message,
int status,
com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService)
Deprecated.
As of 7.0.0, replaced by
MBTreeWalkerImpl(long, int,
MBMessageLocalService, Comparator) |
Modifier and Type | Method and Description |
---|---|
List<com.liferay.message.boards.kernel.model.MBMessage> |
getChildren(com.liferay.message.boards.kernel.model.MBMessage message) |
int[] |
getChildrenRange(com.liferay.message.boards.kernel.model.MBMessage message) |
List<com.liferay.message.boards.kernel.model.MBMessage> |
getMessages() |
com.liferay.message.boards.kernel.model.MBMessage |
getRoot() |
boolean |
isLeaf(com.liferay.message.boards.kernel.model.MBMessage message) |
boolean |
isOdd() |
public MBTreeWalkerImpl(long threadId, int status, com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService, Comparator<com.liferay.message.boards.kernel.model.MBMessage> comparator)
public MBTreeWalkerImpl(long userId, long threadId, int status, com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService, Comparator<com.liferay.message.boards.kernel.model.MBMessage> comparator)
@Deprecated public MBTreeWalkerImpl(com.liferay.message.boards.kernel.model.MBMessage message, int status, com.liferay.message.boards.kernel.service.MBMessageLocalService messageLocalService)
MBTreeWalkerImpl(long, int,
MBMessageLocalService, Comparator)
public List<com.liferay.message.boards.kernel.model.MBMessage> getChildren(com.liferay.message.boards.kernel.model.MBMessage message)
getChildren
in interface com.liferay.message.boards.kernel.model.MBTreeWalker
public int[] getChildrenRange(com.liferay.message.boards.kernel.model.MBMessage message)
getChildrenRange
in interface com.liferay.message.boards.kernel.model.MBTreeWalker
public List<com.liferay.message.boards.kernel.model.MBMessage> getMessages()
getMessages
in interface com.liferay.message.boards.kernel.model.MBTreeWalker
public com.liferay.message.boards.kernel.model.MBMessage getRoot()
getRoot
in interface com.liferay.message.boards.kernel.model.MBTreeWalker
public boolean isLeaf(com.liferay.message.boards.kernel.model.MBMessage message)
isLeaf
in interface com.liferay.message.boards.kernel.model.MBTreeWalker
public boolean isOdd()
isOdd
in interface com.liferay.message.boards.kernel.model.MBTreeWalker