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

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

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

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_G_U
           
static java.lang.String COUNT_BY_G_U_A
           
static java.lang.String FIND_BY_G_U
           
static java.lang.String FIND_BY_G_U_A
           
static java.lang.String FIND_BY_NO_ASSETS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
MBMessageFinderImpl()
           
 
Method Summary
 int countByG_U_A(long groupId, long userId, boolean anonymous)
           
 int countByG_U(long groupId, long userId)
           
 java.util.List<java.lang.Long> findByG_U_A(long groupId, long userId, boolean anonymous, int start, int end)
           
 java.util.List<java.lang.Long> findByG_U(long groupId, long userId, 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
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_G_U

public static java.lang.String COUNT_BY_G_U

COUNT_BY_G_U_A

public static java.lang.String COUNT_BY_G_U_A

FIND_BY_NO_ASSETS

public static java.lang.String FIND_BY_NO_ASSETS

FIND_BY_G_U

public static java.lang.String FIND_BY_G_U

FIND_BY_G_U_A

public static java.lang.String FIND_BY_G_U_A
Constructor Detail

MBMessageFinderImpl

public MBMessageFinderImpl()
Method Detail

countByG_U

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

countByG_U_A

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

findByNoAssets

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

findByG_U

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

findByG_U_A

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