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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      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.service.persistence.MBThreadFinder

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

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_S_G_U
           
static java.lang.String FIND_BY_S_G_U
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
MBThreadFinderImpl()
           
 
Method Summary
 int countByS_G_U(long groupId, long userId)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U(long groupId, long userId, int start, int end)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
clearCache, closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_S_G_U

public static java.lang.String COUNT_BY_S_G_U

FIND_BY_S_G_U

public static java.lang.String FIND_BY_S_G_U
Constructor Detail

MBThreadFinderImpl

public MBThreadFinderImpl()
Method Detail

countByS_G_U

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

findByS_G_U

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