com.liferay.portlet.messageboards.service.persistence
Class MBThreadFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl
com.liferay.portlet.messageboards.service.persistence.MBThreadFinderImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, 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
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME |
Method Summary |
int |
countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
int |
countByS_G_U(long groupId,
long userId)
|
java.util.List<com.liferay.portlet.messageboards.model.MBThread> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBThread> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBThread> |
findByS_G_U(long groupId,
long userId,
int start,
int end)
|
protected java.lang.String |
getCategoryIds(java.util.List<java.lang.Long> categoryIds)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
closeSession, getDataSource, getDialect, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_CATEGORY_IDS
public static java.lang.String COUNT_BY_CATEGORY_IDS
COUNT_BY_GROUP_ID
public static java.lang.String COUNT_BY_GROUP_ID
COUNT_BY_G_U
public static java.lang.String COUNT_BY_G_U
COUNT_BY_S_G_U
public static java.lang.String COUNT_BY_S_G_U
FIND_BY_GROUP_ID
public static java.lang.String FIND_BY_GROUP_ID
FIND_BY_G_U
public static java.lang.String FIND_BY_G_U
FIND_BY_S_G_U
public static java.lang.String FIND_BY_S_G_U
MBThreadFinderImpl
public MBThreadFinderImpl()
countByCategoryIds
public int countByCategoryIds(java.util.List<java.lang.Long> categoryIds)
throws com.liferay.portal.SystemException
- Specified by:
countByCategoryIds
in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
countByGroupId
in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
- Throws:
com.liferay.portal.SystemException
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.MBThreadFinder
- Throws:
com.liferay.portal.SystemException
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
findByGroupId
public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface com.liferay.portlet.messageboards.service.persistence.MBThreadFinder
- Throws:
com.liferay.portal.SystemException
findByG_U
public java.util.List<com.liferay.portlet.messageboards.model.MBThread> 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.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
getCategoryIds
protected java.lang.String getCategoryIds(java.util.List<java.lang.Long> categoryIds)