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

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_C_T
           
static java.lang.String COUNT_BY_G_U_C_A_S
           
static java.lang.String COUNT_BY_G_U_C_S
           
static java.lang.String FIND_BY_G_U_C_A_S
           
static java.lang.String FIND_BY_G_U_C_S
           
static java.lang.String FIND_BY_NO_ASSETS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
MBMessageFinderImpl()
           
 
Method Summary
 int countByC_T(java.util.Date createDate, long threadId)
           
 int countByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status)
           
 int countByG_U_C_S(long groupId, long userId, long[] categoryIds, int status)
           
protected  int doCountByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status, boolean inlineSQLHelper)
           
protected  int doCountByG_U_C_S(long groupId, long userId, long[] categoryIds, int status, boolean inlineSQLHelper)
           
protected  java.util.List<java.lang.Long> doFindByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status, int start, int end, boolean inlineSQLHelper)
           
protected  java.util.List<java.lang.Long> doFindByG_U_C_S(long groupId, long userId, long[] categoryIds, int status, int start, int end, boolean inlineSQLHelper)
           
 int filterCountByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status)
           
 int filterCountByG_U_C_S(long groupId, long userId, long[] categoryIds, int status)
           
 java.util.List<java.lang.Long> filterFindByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status, int start, int end)
           
 java.util.List<java.lang.Long> filterFindByG_U_C_S(long groupId, long userId, long[] categoryIds, int status, int start, int end)
           
 java.util.List<java.lang.Long> findByG_U_C_A_S(long groupId, long userId, long[] categoryIds, boolean anonymous, int status, int start, int end)
           
 java.util.List<java.lang.Long> findByG_U_C_S(long groupId, long userId, long[] categoryIds, 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, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, 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_C_S

public static java.lang.String COUNT_BY_G_U_C_S

COUNT_BY_G_U_C_A_S

public static java.lang.String COUNT_BY_G_U_C_A_S

FIND_BY_NO_ASSETS

public static java.lang.String FIND_BY_NO_ASSETS

FIND_BY_G_U_C_S

public static java.lang.String FIND_BY_G_U_C_S

FIND_BY_G_U_C_A_S

public static java.lang.String FIND_BY_G_U_C_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_C_S

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

countByG_U_C_A_S

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

filterCountByG_U_C_S

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

filterCountByG_U_C_A_S

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

filterFindByG_U_C_S

public java.util.List<java.lang.Long> filterFindByG_U_C_S(long groupId,
                                                          long userId,
                                                          long[] categoryIds,
                                                          int status,
                                                          int start,
                                                          int end)
                                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterFindByG_U_C_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

filterFindByG_U_C_A_S

public java.util.List<java.lang.Long> filterFindByG_U_C_A_S(long groupId,
                                                            long userId,
                                                            long[] categoryIds,
                                                            boolean anonymous,
                                                            int status,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterFindByG_U_C_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_C_S

public java.util.List<java.lang.Long> findByG_U_C_S(long groupId,
                                                    long userId,
                                                    long[] categoryIds,
                                                    int status,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_U_C_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U_C_A_S

public java.util.List<java.lang.Long> findByG_U_C_A_S(long groupId,
                                                      long userId,
                                                      long[] categoryIds,
                                                      boolean anonymous,
                                                      int status,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_U_C_A_S in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

doCountByG_U_C_S

protected int doCountByG_U_C_S(long groupId,
                               long userId,
                               long[] categoryIds,
                               int status,
                               boolean inlineSQLHelper)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

doCountByG_U_C_A_S

protected int doCountByG_U_C_A_S(long groupId,
                                 long userId,
                                 long[] categoryIds,
                                 boolean anonymous,
                                 int status,
                                 boolean inlineSQLHelper)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

doFindByG_U_C_S

protected java.util.List<java.lang.Long> doFindByG_U_C_S(long groupId,
                                                         long userId,
                                                         long[] categoryIds,
                                                         int status,
                                                         int start,
                                                         int end,
                                                         boolean inlineSQLHelper)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

doFindByG_U_C_A_S

protected java.util.List<java.lang.Long> doFindByG_U_C_A_S(long groupId,
                                                           long userId,
                                                           long[] categoryIds,
                                                           boolean anonymous,
                                                           int status,
                                                           int start,
                                                           int end,
                                                           boolean inlineSQLHelper)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException