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 countByC_T(java.util.Date createDate, long threadId)
           
static int countByG_U_A_S(long groupId, long userId, boolean anonymous, int status)
           
static int countByG_U_S(long groupId, long userId, int status)
           
static java.util.List<java.lang.Long> findByG_U_A_S(long groupId, long userId, boolean anonymous, int status, int start, int end)
           
static java.util.List<java.lang.Long> findByG_U_S(long groupId, long userId, int status, int start, int end)
           
static java.util.List<MBMessage> findByNoAssets()
           
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

countByC_T

public static int countByC_T(java.util.Date createDate,
                             long threadId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U_S

public static int countByG_U_S(long groupId,
                               long userId,
                               int status)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U_A_S

public static int countByG_U_A_S(long groupId,
                                 long userId,
                                 boolean anonymous,
                                 int status)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByNoAssets

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

findByG_U_S

public static java.util.List<java.lang.Long> findByG_U_S(long groupId,
                                                         long userId,
                                                         int status,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U_A_S

public static java.util.List<java.lang.Long> findByG_U_A_S(long groupId,
                                                           long userId,
                                                           boolean anonymous,
                                                           int status,
                                                           int start,
                                                           int end)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFinder

public static MBMessageFinder getFinder()

setFinder

public void setFinder(MBMessageFinder finder)