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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMessage>
      extended by com.liferay.portlet.messageboards.service.persistence.MBMessageFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMessage>, com.liferay.portlet.messageboards.service.persistence.MBMessageFinder

public class MBMessageFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMessage>
implements com.liferay.portlet.messageboards.service.persistence.MBMessageFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_C_T
           
static java.lang.String COUNT_BY_G_U_A_S
           
static java.lang.String COUNT_BY_G_U_S
           
static java.lang.String FIND_BY_G_U_A_S
           
static java.lang.String FIND_BY_G_U_S
           
static java.lang.String FIND_BY_NO_ASSETS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT
 
Constructor Summary
MBMessageFinderImpl()
           
 
Method Summary
 int countByC_T(java.util.Date createDate, long threadId)
           
 int countByG_U_A_S(long groupId, long userId, boolean anonymous, int status)
           
 int countByG_U_S(long groupId, long userId, int status)
           
 java.util.List<java.lang.Long> findByG_U_A_S(long groupId, long userId, boolean anonymous, int status, int start, int end)
           
 java.util.List<java.lang.Long> findByG_U_S(long groupId, long userId, int status, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByNoAssets()
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, closeSession, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, setDataSource, setSessionFactory, unregisterListener, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_C_T

public static java.lang.String COUNT_BY_C_T

COUNT_BY_G_U_S

public static java.lang.String COUNT_BY_G_U_S

COUNT_BY_G_U_A_S

public static java.lang.String COUNT_BY_G_U_A_S

FIND_BY_NO_ASSETS

public static java.lang.String FIND_BY_NO_ASSETS

FIND_BY_G_U_S

public static java.lang.String FIND_BY_G_U_S

FIND_BY_G_U_A_S

public static java.lang.String FIND_BY_G_U_A_S
Constructor Detail

MBMessageFinderImpl

public MBMessageFinderImpl()
Method Detail

countByC_T

public int countByC_T(java.util.Date createDate,
                      long threadId)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByC_T in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U_S

public int countByG_U_S(long groupId,
                        long userId,
                        int status)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByG_U_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U_A_S

public int countByG_U_A_S(long groupId,
                          long userId,
                          boolean anonymous,
                          int status)
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
countByG_U_A_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByNoAssets

public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByNoAssets()
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByNoAssets in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U_S

public 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
Specified by:
findByG_U_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U_A_S

public 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
Specified by:
findByG_U_A_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException