com.liferay.portlet.messageboards.service.persistence
Class MBThreadFinderUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.persistence.MBThreadFinderUtil

public class MBThreadFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
MBThreadFinderUtil()
           
 
Method Summary
static int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
           
static int countByG_U_A(long groupId, long userId, boolean anonymous)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static int countByS_G_U(long groupId, long userId)
           
static java.util.List<MBThread> findByG_U_A(long groupId, long userId, boolean anonymous, int start, int end)
           
static java.util.List<MBThread> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<MBThread> findByGroupId(long groupId, int start, int end)
           
static java.util.List<MBThread> findByS_G_U(long groupId, long userId, int start, int end)
           
static MBThreadFinder getFinder()
           
 void setFinder(MBThreadFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBThreadFinderUtil

public MBThreadFinderUtil()
Method Detail

countByCategoryIds

public static int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U_A

public static int countByG_U_A(long groupId,
                               long userId,
                               boolean anonymous)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByS_G_U

public static int countByS_G_U(long groupId,
                               long userId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<MBThread> findByGroupId(long groupId,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

public static java.util.List<MBThread> findByG_U(long groupId,
                                                 long userId,
                                                 int start,
                                                 int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_A

public static java.util.List<MBThread> findByG_U_A(long groupId,
                                                   long userId,
                                                   boolean anonymous,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByS_G_U

public static java.util.List<MBThread> findByS_G_U(long groupId,
                                                   long userId,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static MBThreadFinder getFinder()

setFinder

public void setFinder(MBThreadFinder finder)