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

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

public class MBThreadFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
implements com.liferay.portlet.messageboards.service.persistence.MBThreadFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_G_C
           
static java.lang.String COUNT_BY_G_C_S
           
static java.lang.String COUNT_BY_S_G_U_S
           
static java.lang.String FIND_BY_G_C
           
static java.lang.String FIND_BY_G_C_S
           
static java.lang.String FIND_BY_S_G_U_S
           
 
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, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT
 
Constructor Summary
MBThreadFinderImpl()
           
 
Method Summary
 int countByG_C_S(long groupId, long categoryId, int status)
           
 int countByS_G_U_S(long groupId, long userId, int status)
           
protected  int doCountByG_C_S(long groupId, long categoryId, int status, boolean inlineSQLHelper)
           
protected  int doCountByS_G_U_S(long groupId, long userId, int status, boolean inlineSQLHelper)
           
protected  java.util.List<com.liferay.portlet.messageboards.model.MBThread> doFindByG_C_S(long groupId, long categoryId, int status, int start, int end, boolean inlineSQLHelper)
           
protected  java.util.List<com.liferay.portlet.messageboards.model.MBThread> doFindByS_G_U_S(long groupId, long userId, int status, int start, int end, boolean inlineSQLHelper)
           
 int filterCountByG_C_S(long groupId, long categoryId, int status)
           
 int filterCountByG_C(long groupId, long categoryId)
           
 int filterCountByS_G_U_S(long groupId, long userId, int status)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_S(long groupId, long userId, int status, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_S(long groupId, long userId, int status, int start, int end)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, 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_G_C

public static java.lang.String COUNT_BY_G_C

COUNT_BY_G_C_S

public static java.lang.String COUNT_BY_G_C_S

COUNT_BY_S_G_U_S

public static java.lang.String COUNT_BY_S_G_U_S

FIND_BY_G_C

public static java.lang.String FIND_BY_G_C

FIND_BY_G_C_S

public static java.lang.String FIND_BY_G_C_S

FIND_BY_S_G_U_S

public static java.lang.String FIND_BY_S_G_U_S
Constructor Detail

MBThreadFinderImpl

public MBThreadFinderImpl()
Method Detail

countByG_C_S

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

countByS_G_U_S

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

filterCountByG_C

public int filterCountByG_C(long groupId,
                            long categoryId)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterCountByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

filterCountByG_C_S

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

filterCountByS_G_U_S

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

filterFindByG_C

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(long groupId,
                                                                                        long categoryId,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterFindByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

filterFindByG_C_S

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C_S(long groupId,
                                                                                          long categoryId,
                                                                                          int status,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterFindByG_C_S in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

filterFindByS_G_U_S

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_S(long groupId,
                                                                                            long userId,
                                                                                            int status,
                                                                                            int start,
                                                                                            int end)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
filterFindByS_G_U_S in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(long groupId,
                                                                                    long categoryId,
                                                                                    int status,
                                                                                    int start,
                                                                                    int end)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByG_C_S in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

findByS_G_U_S

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_S(long groupId,
                                                                                      long userId,
                                                                                      int status,
                                                                                      int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
findByS_G_U_S in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
Throws:
com.liferay.portal.kernel.exception.SystemException

doCountByG_C_S

protected int doCountByG_C_S(long groupId,
                             long categoryId,
                             int status,
                             boolean inlineSQLHelper)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

doCountByS_G_U_S

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

doFindByG_C_S

protected java.util.List<com.liferay.portlet.messageboards.model.MBThread> doFindByG_C_S(long groupId,
                                                                                         long categoryId,
                                                                                         int status,
                                                                                         int start,
                                                                                         int end,
                                                                                         boolean inlineSQLHelper)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

doFindByS_G_U_S

protected java.util.List<com.liferay.portlet.messageboards.model.MBThread> doFindByS_G_U_S(long groupId,
                                                                                           long userId,
                                                                                           int status,
                                                                                           int start,
                                                                                           int end,
                                                                                           boolean inlineSQLHelper)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException