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

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.MBThreadPersistenceImpl
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.MBThreadPersistence

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

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
MBThreadPersistence, MBThreadUtil
Generated:

Field Summary
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_P
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CATEGORYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_L
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_P
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_CATEGORYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_GROUPID
           
protected  com.liferay.portal.service.persistence.LockPersistence lockPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence
           
protected  com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
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
MBThreadPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(java.util.List<com.liferay.portlet.messageboards.model.MBThread> mbThreads)
           
 void cacheResult(com.liferay.portlet.messageboards.model.MBThread mbThread)
           
 void clearCache()
           
 void clearCache(com.liferay.portlet.messageboards.model.MBThread mbThread)
           
 int countAll()
           
 int countByC_L(long categoryId, java.util.Date lastPostDate)
           
 int countByC_P(long categoryId, double priority)
           
 int countByCategoryId(long categoryId)
           
 int countByGroupId(long groupId)
           
 com.liferay.portlet.messageboards.model.MBThread create(long threadId)
           
 void destroy()
           
 com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(long threadId)
           
 com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(java.io.Serializable primaryKey)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll()
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll(int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByC_L_First(long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByC_L_Last(long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread[] findByC_L_PrevAndNext(long threadId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId, java.util.Date lastPostDate)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId, java.util.Date lastPostDate, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId, java.util.Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId, double priority)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId, double priority, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread[] findByCategoryId_PrevAndNext(long threadId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByCategoryId(long categoryId)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByCategoryId(long categoryId, int start, int end)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(long groupId)
           
 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> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(long threadId)
           
 com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(java.io.Serializable primaryKey)
           
protected  com.liferay.portlet.messageboards.model.MBThread getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.messageboards.model.MBThread mbThread, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.messageboards.model.MBThread getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.messageboards.model.MBThread mbThread, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.messageboards.model.MBThread getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.messageboards.model.MBThread mbThread, long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.messageboards.model.MBThread getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.messageboards.model.MBThread mbThread, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.messageboards.model.MBThread remove(long threadId)
           
 com.liferay.portlet.messageboards.model.MBThread remove(java.io.Serializable primaryKey)
           
 void removeAll()
           
 void removeByC_L(long categoryId, java.util.Date lastPostDate)
           
 void removeByC_P(long categoryId, double priority)
           
 void removeByCategoryId(long categoryId)
           
 void removeByGroupId(long groupId)
           
protected  com.liferay.portlet.messageboards.model.MBThread removeImpl(com.liferay.portlet.messageboards.model.MBThread mbThread)
           
protected  com.liferay.portlet.messageboards.model.MBThread toUnwrappedModel(com.liferay.portlet.messageboards.model.MBThread mbThread)
           
 com.liferay.portlet.messageboards.model.MBThread update(com.liferay.portlet.messageboards.model.MBThread mbThread)
          Deprecated. Use BasePersistence#update(com.liferay.portal.model.BaseModel, boolean).
 com.liferay.portlet.messageboards.model.MBThread updateImpl(com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final java.lang.String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_CATEGORYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_CATEGORYID

FINDER_PATH_COUNT_BY_CATEGORYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CATEGORYID

FINDER_PATH_FIND_BY_C_L

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_L

FINDER_PATH_COUNT_BY_C_L

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L

FINDER_PATH_FIND_BY_C_P

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_P

FINDER_PATH_COUNT_BY_C_P

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_P

FINDER_PATH_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

mbBanPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBBanPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence

mbCategoryPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence

mbDiscussionPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence

mbMailingListPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence

mbMessagePersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence

mbMessageFlagPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence

mbStatsUserPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence

mbThreadPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence

lockPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LockPersistence.class)
protected com.liferay.portal.service.persistence.LockPersistence lockPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

ratingsStatsPersistence

@BeanReference(type=com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence.class)
protected com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

tagsAssetPersistence

@BeanReference(type=com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.class)
protected com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence
Constructor Detail

MBThreadPersistenceImpl

public MBThreadPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.messageboards.model.MBThread mbThread)
Specified by:
cacheResult in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.messageboards.model.MBThread> mbThreads)
Specified by:
cacheResult in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence

clearCache

public void clearCache()
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBThread>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>

clearCache

public void clearCache(com.liferay.portlet.messageboards.model.MBThread mbThread)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBThread>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>

create

public com.liferay.portlet.messageboards.model.MBThread create(long threadId)
Specified by:
create in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence

remove

public com.liferay.portlet.messageboards.model.MBThread remove(java.io.Serializable primaryKey)
                                                        throws com.liferay.portal.NoSuchModelException,
                                                               com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBThread>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.messageboards.model.MBThread remove(long threadId)
                                                        throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                               com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.messageboards.model.MBThread removeImpl(com.liferay.portlet.messageboards.model.MBThread mbThread)
                                                               throws com.liferay.portal.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.messageboards.model.MBThread update(com.liferay.portlet.messageboards.model.MBThread mbThread)
                                                        throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence#update(com.liferay.portal.model.BaseModel, boolean).

Specified by:
update in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

updateImpl

public com.liferay.portlet.messageboards.model.MBThread updateImpl(com.liferay.portlet.messageboards.model.MBThread mbThread,
                                                                   boolean merge)
                                                            throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
Throws:
com.liferay.portal.SystemException

toUnwrappedModel

protected com.liferay.portlet.messageboards.model.MBThread toUnwrappedModel(com.liferay.portlet.messageboards.model.MBThread mbThread)

findByPrimaryKey

public com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(java.io.Serializable primaryKey)
                                                                  throws com.liferay.portal.NoSuchModelException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBThread>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(long threadId)
                                                                  throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBThread>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBThread>
Throws:
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(long threadId)
                                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(long groupId)
                                                                               throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
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.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId_First

public com.liferay.portlet.messageboards.model.MBThread findByGroupId_First(long groupId,
                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                     throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                            com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portlet.messageboards.model.MBThread findByGroupId_Last(long groupId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                    throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBThread[] findByGroupId_PrevAndNext(long threadId,
                                                                                    long groupId,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                                    com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

getByGroupId_PrevAndNext

protected com.liferay.portlet.messageboards.model.MBThread getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                    com.liferay.portlet.messageboards.model.MBThread mbThread,
                                                                                    long groupId,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                    boolean previous)

findByCategoryId

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByCategoryId(long categoryId)
                                                                                  throws com.liferay.portal.SystemException
Specified by:
findByCategoryId in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByCategoryId

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

findByCategoryId

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

findByCategoryId_First

public com.liferay.portlet.messageboards.model.MBThread findByCategoryId_First(long categoryId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByCategoryId_First in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByCategoryId_Last

public com.liferay.portlet.messageboards.model.MBThread findByCategoryId_Last(long categoryId,
                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                       throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByCategoryId_Last in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByCategoryId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBThread[] findByCategoryId_PrevAndNext(long threadId,
                                                                                       long categoryId,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                                       com.liferay.portal.SystemException
Specified by:
findByCategoryId_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

getByCategoryId_PrevAndNext

protected com.liferay.portlet.messageboards.model.MBThread getByCategoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                       com.liferay.portlet.messageboards.model.MBThread mbThread,
                                                                                       long categoryId,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                       boolean previous)

findByC_L

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId,
                                                                                  java.util.Date lastPostDate)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_L in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_L

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId,
                                                                                  java.util.Date lastPostDate,
                                                                                  int start,
                                                                                  int end)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_L in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_L

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_L(long categoryId,
                                                                                  java.util.Date lastPostDate,
                                                                                  int start,
                                                                                  int end,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_L in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_L_First

public com.liferay.portlet.messageboards.model.MBThread findByC_L_First(long categoryId,
                                                                        java.util.Date lastPostDate,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByC_L_First in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByC_L_Last

public com.liferay.portlet.messageboards.model.MBThread findByC_L_Last(long categoryId,
                                                                       java.util.Date lastPostDate,
                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByC_L_Last in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByC_L_PrevAndNext

public com.liferay.portlet.messageboards.model.MBThread[] findByC_L_PrevAndNext(long threadId,
                                                                                long categoryId,
                                                                                java.util.Date lastPostDate,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                                com.liferay.portal.SystemException
Specified by:
findByC_L_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

getByC_L_PrevAndNext

protected com.liferay.portlet.messageboards.model.MBThread getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.messageboards.model.MBThread mbThread,
                                                                                long categoryId,
                                                                                java.util.Date lastPostDate,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

findByC_P

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId,
                                                                                  double priority)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_P in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId,
                                                                                  double priority,
                                                                                  int start,
                                                                                  int end)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_P in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(long categoryId,
                                                                                  double priority,
                                                                                  int start,
                                                                                  int end,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portal.SystemException
Specified by:
findByC_P in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

findByC_P_First

public com.liferay.portlet.messageboards.model.MBThread findByC_P_First(long categoryId,
                                                                        double priority,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByC_P_First in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByC_P_Last

public com.liferay.portlet.messageboards.model.MBThread findByC_P_Last(long categoryId,
                                                                       double priority,
                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByC_P_Last in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

findByC_P_PrevAndNext

public com.liferay.portlet.messageboards.model.MBThread[] findByC_P_PrevAndNext(long threadId,
                                                                                long categoryId,
                                                                                double priority,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.messageboards.NoSuchThreadException,
                                                                                com.liferay.portal.SystemException
Specified by:
findByC_P_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portlet.messageboards.NoSuchThreadException
com.liferay.portal.SystemException

getByC_P_PrevAndNext

protected com.liferay.portlet.messageboards.model.MBThread getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                com.liferay.portlet.messageboards.model.MBThread mbThread,
                                                                                long categoryId,
                                                                                double priority,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                boolean previous)

findAll

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

findAll

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

findAll

public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll(int start,
                                                                                int end,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

removeByCategoryId

public void removeByCategoryId(long categoryId)
                        throws com.liferay.portal.SystemException
Specified by:
removeByCategoryId in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

removeByC_L

public void removeByC_L(long categoryId,
                        java.util.Date lastPostDate)
                 throws com.liferay.portal.SystemException
Specified by:
removeByC_L in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

removeByC_P

public void removeByC_P(long categoryId,
                        double priority)
                 throws com.liferay.portal.SystemException
Specified by:
removeByC_P in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
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.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

countByCategoryId

public int countByCategoryId(long categoryId)
                      throws com.liferay.portal.SystemException
Specified by:
countByCategoryId in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

countByC_L

public int countByC_L(long categoryId,
                      java.util.Date lastPostDate)
               throws com.liferay.portal.SystemException
Specified by:
countByC_L in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

countByC_P

public int countByC_P(long categoryId,
                      double priority)
               throws com.liferay.portal.SystemException
Specified by:
countByC_P in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence
Throws:
com.liferay.portal.SystemException

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()