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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder

public class MBMessageFlagFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_T_F
           
static java.lang.String COUNT_BY_U_T
           
static java.lang.String COUNT_BY_U_T_F
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
MBMessageFlagFinderImpl()
           
 
Method Summary
 int countByT_F(long threadId, int flag)
           
 int countByU_T_F(long userId, long threadId, int flag)
           
 int countByU_T(long userId, long threadId)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
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_U_T

public static java.lang.String COUNT_BY_U_T

COUNT_BY_T_F

public static java.lang.String COUNT_BY_T_F

COUNT_BY_U_T_F

public static java.lang.String COUNT_BY_U_T_F
Constructor Detail

MBMessageFlagFinderImpl

public MBMessageFlagFinderImpl()
Method Detail

countByU_T

public int countByU_T(long userId,
                      long threadId)
               throws com.liferay.portal.SystemException
Specified by:
countByU_T in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder
Throws:
com.liferay.portal.SystemException

countByT_F

public int countByT_F(long threadId,
                      int flag)
               throws com.liferay.portal.SystemException
Specified by:
countByT_F in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder
Throws:
com.liferay.portal.SystemException

countByU_T_F

public int countByU_T_F(long userId,
                        long threadId,
                        int flag)
                 throws com.liferay.portal.SystemException
Specified by:
countByU_T_F in interface com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder
Throws:
com.liferay.portal.SystemException