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

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

public class MBMessageFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
MBMessageFinderUtil()
           
 
Method Summary
static int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static java.util.List<MBMessage> findByC_C(long classNameId, long classPK)
           
static java.util.List<MBMessage> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<MBMessage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBMessage> findByGroupId(long groupId, int start, int end)
           
static java.util.List<MBMessage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBMessage> findByNoAssets()
           
static MBMessage findByUuid_G(java.lang.String uuid, long groupId)
           
static MBMessageFinder getFinder()
           
 void setFinder(MBMessageFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBMessageFinderUtil

public MBMessageFinderUtil()
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

findByGroupId

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

findByGroupId

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

findByNoAssets

public static java.util.List<MBMessage> findByNoAssets()
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_G

public static MBMessage findByUuid_G(java.lang.String uuid,
                                     long groupId)
                              throws com.liferay.portal.SystemException,
                                     NoSuchMessageException
Throws:
com.liferay.portal.SystemException
NoSuchMessageException

findByG_U

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

findByG_U

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

findByC_C

public static java.util.List<MBMessage> findByC_C(long classNameId,
                                                  long classPK)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static MBMessageFinder getFinder()

setFinder

public void setFinder(MBMessageFinder finder)