Liferay 6.0.3

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBMessage>
      extended by com.liferay.portlet.messageboards.service.persistence.MBMessagePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<MBMessage>, MBMessagePersistence

public class MBMessagePersistenceImpl
extends BasePersistenceImpl<MBMessage>
implements MBMessagePersistence

See Also:
MBMessagePersistence, MBMessageUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  BlogsEntryPersistence blogsEntryPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_C_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_T_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_U
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_S
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_T_P
           
static FinderPath FINDER_PATH_COUNT_BY_T_S
           
static FinderPath FINDER_PATH_COUNT_BY_THREADID
           
static FinderPath FINDER_PATH_COUNT_BY_THREADREPLIES
           
static FinderPath FINDER_PATH_COUNT_BY_TR_S
           
static FinderPath FINDER_PATH_COUNT_BY_USERID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_C_C
           
static FinderPath FINDER_PATH_FIND_BY_C_C_S
           
static FinderPath FINDER_PATH_FIND_BY_C_S
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_C
           
static FinderPath FINDER_PATH_FIND_BY_G_C_S
           
static FinderPath FINDER_PATH_FIND_BY_G_C_T
           
static FinderPath FINDER_PATH_FIND_BY_G_C_T_S
           
static FinderPath FINDER_PATH_FIND_BY_G_S
           
static FinderPath FINDER_PATH_FIND_BY_G_U
           
static FinderPath FINDER_PATH_FIND_BY_G_U_S
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_T_P
           
static FinderPath FINDER_PATH_FIND_BY_T_S
           
static FinderPath FINDER_PATH_FIND_BY_THREADID
           
static FinderPath FINDER_PATH_FIND_BY_THREADREPLIES
           
static FinderPath FINDER_PATH_FIND_BY_TR_S
           
static FinderPath FINDER_PATH_FIND_BY_USERID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  LockPersistence lockPersistence
           
protected  MBBanPersistence mbBanPersistence
           
protected  MBCategoryPersistence mbCategoryPersistence
           
protected  MBDiscussionPersistence mbDiscussionPersistence
           
protected  MBMailingListPersistence mbMailingListPersistence
           
protected  MBMessageFlagPersistence mbMessageFlagPersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBStatsUserPersistence mbStatsUserPersistence
           
protected  MBThreadPersistence mbThreadPersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SocialEquityLogPersistence socialEquityLogPersistence
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserPersistence userPersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
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, WHERE_OR
 
Constructor Summary
MBMessagePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(List<MBMessage> mbMessages)
           
 void cacheResult(MBMessage mbMessage)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(MBMessage mbMessage)
          Clears the cache for one instance of this model.
 int countAll()
           
 int countByC_C_S(long classNameId, long classPK, int status)
           
 int countByC_C(long classNameId, long classPK)
           
 int countByC_S(long companyId, int status)
           
 int countByCompanyId(long companyId)
           
 int countByG_C_S(long groupId, long categoryId, int status)
           
 int countByG_C_T_S(long groupId, long categoryId, long threadId, int status)
           
 int countByG_C_T(long groupId, long categoryId, long threadId)
           
 int countByG_C(long groupId, long categoryId)
           
 int countByG_S(long groupId, int status)
           
 int countByG_U_S(long groupId, long userId, int status)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByT_P(long threadId, long parentMessageId)
           
 int countByT_S(long threadId, int status)
           
 int countByThreadId(long threadId)
           
 int countByThreadReplies(long threadId)
           
 int countByTR_S(long threadId, int status)
           
 int countByUserId(long userId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 MBMessage create(long messageId)
           
 MBMessage fetchByPrimaryKey(long messageId)
           
 MBMessage fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 MBMessage fetchByUUID_G(String uuid, long groupId)
           
 MBMessage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_C_S(long groupId, long categoryId, int status)
           
 int filterCountByG_C_T_S(long groupId, long categoryId, long threadId, int status)
           
 int filterCountByG_C_T(long groupId, long categoryId, long threadId)
           
 int filterCountByG_C(long groupId, long categoryId)
           
 int filterCountByG_S(long groupId, int status)
           
 int filterCountByG_U_S(long groupId, long userId, int status)
           
 int filterCountByG_U(long groupId, long userId)
           
 int filterCountByGroupId(long groupId)
           
 List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status)
           
 List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status)
           
 List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end)
           
 List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId)
           
 List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end)
           
 List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_C(long groupId, long categoryId)
           
 List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end)
           
 List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_S(long groupId, int status)
           
 List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end)
           
 List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status)
           
 List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end)
           
 List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByG_U(long groupId, long userId)
           
 List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end)
           
 List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> filterFindByGroupId(long groupId)
           
 List<MBMessage> filterFindByGroupId(long groupId, int start, int end)
           
 List<MBMessage> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> findAll()
           
 List<MBMessage> findAll(int start, int end)
           
 List<MBMessage> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
           
 MBMessage findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
           
 MBMessage[] findByC_C_PrevAndNext(long messageId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
 MBMessage findByC_C_S_First(long classNameId, long classPK, int status, OrderByComparator orderByComparator)
           
 MBMessage findByC_C_S_Last(long classNameId, long classPK, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByC_C_S_PrevAndNext(long messageId, long classNameId, long classPK, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByC_C_S(long classNameId, long classPK, int status)
           
 List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end)
           
 List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> findByC_C(long classNameId, long classPK)
           
 List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end)
           
 List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByC_S_First(long companyId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByC_S_Last(long companyId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByC_S_PrevAndNext(long messageId, long companyId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByC_S(long companyId, int status)
           
 List<MBMessage> findByC_S(long companyId, int status, int start, int end)
           
 List<MBMessage> findByC_S(long companyId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 MBMessage findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 MBMessage[] findByCompanyId_PrevAndNext(long messageId, long companyId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByCompanyId(long companyId)
           
 List<MBMessage> findByCompanyId(long companyId, int start, int end)
           
 List<MBMessage> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_C_PrevAndNext(long messageId, long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_C_S(long groupId, long categoryId, int status)
           
 List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_T_First(long groupId, long categoryId, long threadId, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_T_Last(long groupId, long categoryId, long threadId, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status)
           
 List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end)
           
 List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId)
           
 List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end)
           
 List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_C(long groupId, long categoryId)
           
 List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end)
           
 List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_S_PrevAndNext(long messageId, long groupId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_S(long groupId, int status)
           
 List<MBMessage> findByG_S(long groupId, int status, int start, int end)
           
 List<MBMessage> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
           
 MBMessage findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_U_PrevAndNext(long messageId, long groupId, long userId, OrderByComparator orderByComparator)
           
 MBMessage findByG_U_S_First(long groupId, long userId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByG_U_S_Last(long groupId, long userId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_U_S(long groupId, long userId, int status)
           
 List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end)
           
 List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBMessage> findByG_U(long groupId, long userId)
           
 List<MBMessage> findByG_U(long groupId, long userId, int start, int end)
           
 List<MBMessage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 MBMessage findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 MBMessage[] findByGroupId_PrevAndNext(long messageId, long groupId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByGroupId(long groupId)
           
 List<MBMessage> findByGroupId(long groupId, int start, int end)
           
 List<MBMessage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByPrimaryKey(long messageId)
           
 MBMessage findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 MBMessage findByT_P_First(long threadId, long parentMessageId, OrderByComparator orderByComparator)
           
 MBMessage findByT_P_Last(long threadId, long parentMessageId, OrderByComparator orderByComparator)
           
 MBMessage[] findByT_P_PrevAndNext(long messageId, long threadId, long parentMessageId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByT_P(long threadId, long parentMessageId)
           
 List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end)
           
 List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByT_S_First(long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByT_S_Last(long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByT_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByT_S(long threadId, int status)
           
 List<MBMessage> findByT_S(long threadId, int status, int start, int end)
           
 List<MBMessage> findByT_S(long threadId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByThreadId_First(long threadId, OrderByComparator orderByComparator)
           
 MBMessage findByThreadId_Last(long threadId, OrderByComparator orderByComparator)
           
 MBMessage[] findByThreadId_PrevAndNext(long messageId, long threadId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByThreadId(long threadId)
           
 List<MBMessage> findByThreadId(long threadId, int start, int end)
           
 List<MBMessage> findByThreadId(long threadId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByThreadReplies_First(long threadId, OrderByComparator orderByComparator)
           
 MBMessage findByThreadReplies_Last(long threadId, OrderByComparator orderByComparator)
           
 MBMessage[] findByThreadReplies_PrevAndNext(long messageId, long threadId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByThreadReplies(long threadId)
           
 List<MBMessage> findByThreadReplies(long threadId, int start, int end)
           
 List<MBMessage> findByThreadReplies(long threadId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByTR_S_First(long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage findByTR_S_Last(long threadId, int status, OrderByComparator orderByComparator)
           
 MBMessage[] findByTR_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator orderByComparator)
           
 List<MBMessage> findByTR_S(long threadId, int status)
           
 List<MBMessage> findByTR_S(long threadId, int status, int start, int end)
           
 List<MBMessage> findByTR_S(long threadId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 MBMessage findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 MBMessage[] findByUserId_PrevAndNext(long messageId, long userId, OrderByComparator orderByComparator)
           
 List<MBMessage> findByUserId(long userId)
           
 List<MBMessage> findByUserId(long userId, int start, int end)
           
 List<MBMessage> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessage findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 MBMessage findByUUID_G(String uuid, long groupId)
           
 MBMessage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 MBMessage[] findByUuid_PrevAndNext(long messageId, String uuid, OrderByComparator orderByComparator)
           
 List<MBMessage> findByUuid(String uuid)
           
 List<MBMessage> findByUuid(String uuid, int start, int end)
           
 List<MBMessage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
protected  MBMessage getByC_C_PrevAndNext(Session session, MBMessage mbMessage, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByC_C_S_PrevAndNext(Session session, MBMessage mbMessage, long classNameId, long classPK, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByC_S_PrevAndNext(Session session, MBMessage mbMessage, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByCompanyId_PrevAndNext(Session session, MBMessage mbMessage, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_C_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_C_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_C_T_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, long threadId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_C_T_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_U_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByG_U_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long userId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByGroupId_PrevAndNext(Session session, MBMessage mbMessage, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByT_P_PrevAndNext(Session session, MBMessage mbMessage, long threadId, long parentMessageId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByT_S_PrevAndNext(Session session, MBMessage mbMessage, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByThreadId_PrevAndNext(Session session, MBMessage mbMessage, long threadId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByThreadReplies_PrevAndNext(Session session, MBMessage mbMessage, long threadId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByTR_S_PrevAndNext(Session session, MBMessage mbMessage, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByUserId_PrevAndNext(Session session, MBMessage mbMessage, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBMessage getByUuid_PrevAndNext(Session session, MBMessage mbMessage, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 MBMessage remove(long messageId)
           
 MBMessage remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByC_C_S(long classNameId, long classPK, int status)
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByC_S(long companyId, int status)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_C_S(long groupId, long categoryId, int status)
           
 void removeByG_C_T_S(long groupId, long categoryId, long threadId, int status)
           
 void removeByG_C_T(long groupId, long categoryId, long threadId)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByG_S(long groupId, int status)
           
 void removeByG_U_S(long groupId, long userId, int status)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByT_P(long threadId, long parentMessageId)
           
 void removeByT_S(long threadId, int status)
           
 void removeByThreadId(long threadId)
           
 void removeByThreadReplies(long threadId)
           
 void removeByTR_S(long threadId, int status)
           
 void removeByUserId(long userId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
protected  MBMessage removeImpl(MBMessage mbMessage)
          Removes the model instance from the database.
protected  MBMessage toUnwrappedModel(MBMessage mbMessage)
           
 MBMessage updateImpl(MBMessage mbMessage, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, 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, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_THREADID

public static final FinderPath FINDER_PATH_FIND_BY_THREADID

FINDER_PATH_COUNT_BY_THREADID

public static final FinderPath FINDER_PATH_COUNT_BY_THREADID

FINDER_PATH_FIND_BY_THREADREPLIES

public static final FinderPath FINDER_PATH_FIND_BY_THREADREPLIES

FINDER_PATH_COUNT_BY_THREADREPLIES

public static final FinderPath FINDER_PATH_COUNT_BY_THREADREPLIES

FINDER_PATH_FIND_BY_USERID

public static final FinderPath FINDER_PATH_FIND_BY_USERID

FINDER_PATH_COUNT_BY_USERID

public static final FinderPath FINDER_PATH_COUNT_BY_USERID

FINDER_PATH_FIND_BY_G_U

public static final FinderPath FINDER_PATH_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final FinderPath FINDER_PATH_COUNT_BY_G_U

FINDER_PATH_FIND_BY_G_C

public static final FinderPath FINDER_PATH_FIND_BY_G_C

FINDER_PATH_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_C

FINDER_PATH_FIND_BY_G_S

public static final FinderPath FINDER_PATH_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_FIND_BY_C_S

public static final FinderPath FINDER_PATH_FIND_BY_C_S

FINDER_PATH_COUNT_BY_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_S

FINDER_PATH_FIND_BY_C_C

public static final FinderPath FINDER_PATH_FIND_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_C_C

FINDER_PATH_FIND_BY_T_P

public static final FinderPath FINDER_PATH_FIND_BY_T_P

FINDER_PATH_COUNT_BY_T_P

public static final FinderPath FINDER_PATH_COUNT_BY_T_P

FINDER_PATH_FIND_BY_T_S

public static final FinderPath FINDER_PATH_FIND_BY_T_S

FINDER_PATH_COUNT_BY_T_S

public static final FinderPath FINDER_PATH_COUNT_BY_T_S

FINDER_PATH_FIND_BY_TR_S

public static final FinderPath FINDER_PATH_FIND_BY_TR_S

FINDER_PATH_COUNT_BY_TR_S

public static final FinderPath FINDER_PATH_COUNT_BY_TR_S

FINDER_PATH_FIND_BY_G_U_S

public static final FinderPath FINDER_PATH_FIND_BY_G_U_S

FINDER_PATH_COUNT_BY_G_U_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_S

FINDER_PATH_FIND_BY_G_C_T

public static final FinderPath FINDER_PATH_FIND_BY_G_C_T

FINDER_PATH_COUNT_BY_G_C_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_T

FINDER_PATH_FIND_BY_G_C_S

public static final FinderPath FINDER_PATH_FIND_BY_G_C_S

FINDER_PATH_COUNT_BY_G_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S

FINDER_PATH_FIND_BY_C_C_S

public static final FinderPath FINDER_PATH_FIND_BY_C_C_S

FINDER_PATH_COUNT_BY_C_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_C_S

FINDER_PATH_FIND_BY_G_C_T_S

public static final FinderPath FINDER_PATH_FIND_BY_G_C_T_S

FINDER_PATH_COUNT_BY_G_C_T_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_T_S

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

mbBanPersistence

@BeanReference(type=MBBanPersistence.class)
protected MBBanPersistence mbBanPersistence

mbCategoryPersistence

@BeanReference(type=MBCategoryPersistence.class)
protected MBCategoryPersistence mbCategoryPersistence

mbDiscussionPersistence

@BeanReference(type=MBDiscussionPersistence.class)
protected MBDiscussionPersistence mbDiscussionPersistence

mbMailingListPersistence

@BeanReference(type=MBMailingListPersistence.class)
protected MBMailingListPersistence mbMailingListPersistence

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

mbMessageFlagPersistence

@BeanReference(type=MBMessageFlagPersistence.class)
protected MBMessageFlagPersistence mbMessageFlagPersistence

mbStatsUserPersistence

@BeanReference(type=MBStatsUserPersistence.class)
protected MBStatsUserPersistence mbStatsUserPersistence

mbThreadPersistence

@BeanReference(type=MBThreadPersistence.class)
protected MBThreadPersistence mbThreadPersistence

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

lockPersistence

@BeanReference(type=LockPersistence.class)
protected LockPersistence lockPersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

blogsEntryPersistence

@BeanReference(type=BlogsEntryPersistence.class)
protected BlogsEntryPersistence blogsEntryPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialEquityLogPersistence

@BeanReference(type=SocialEquityLogPersistence.class)
protected SocialEquityLogPersistence socialEquityLogPersistence
Constructor Detail

MBMessagePersistenceImpl

public MBMessagePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(MBMessage mbMessage)
Specified by:
cacheResult in interface MBMessagePersistence

cacheResult

public void cacheResult(List<MBMessage> mbMessages)
Specified by:
cacheResult in interface MBMessagePersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<MBMessage>
Overrides:
clearCache in class BasePersistenceImpl<MBMessage>

clearCache

public void clearCache(MBMessage mbMessage)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<MBMessage>
Overrides:
clearCache in class BasePersistenceImpl<MBMessage>
Parameters:
mbMessage - the instance of this model to clear the cache for

create

public MBMessage create(long messageId)
Specified by:
create in interface MBMessagePersistence

remove

public MBMessage remove(Serializable primaryKey)
                 throws NoSuchModelException,
                        SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<MBMessage>
Overrides:
remove in class BasePersistenceImpl<MBMessage>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public MBMessage remove(long messageId)
                 throws NoSuchMessageException,
                        SystemException
Specified by:
remove in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

removeImpl

protected MBMessage removeImpl(MBMessage mbMessage)
                        throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<MBMessage>
Parameters:
mbMessage - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public MBMessage updateImpl(MBMessage mbMessage,
                            boolean merge)
                     throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface MBMessagePersistence
Overrides:
updateImpl in class BasePersistenceImpl<MBMessage>
Parameters:
mbMessage - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected MBMessage toUnwrappedModel(MBMessage mbMessage)

findByPrimaryKey

public MBMessage findByPrimaryKey(Serializable primaryKey)
                           throws NoSuchModelException,
                                  SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<MBMessage>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<MBMessage>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public MBMessage findByPrimaryKey(long messageId)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByPrimaryKey in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

fetchByPrimaryKey

public MBMessage fetchByPrimaryKey(Serializable primaryKey)
                            throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<MBMessage>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<MBMessage>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public MBMessage fetchByPrimaryKey(long messageId)
                            throws SystemException
Specified by:
fetchByPrimaryKey in interface MBMessagePersistence
Throws:
SystemException

findByUuid

public List<MBMessage> findByUuid(String uuid)
                           throws SystemException
Specified by:
findByUuid in interface MBMessagePersistence
Throws:
SystemException

findByUuid

public List<MBMessage> findByUuid(String uuid,
                                  int start,
                                  int end)
                           throws SystemException
Specified by:
findByUuid in interface MBMessagePersistence
Throws:
SystemException

findByUuid

public List<MBMessage> findByUuid(String uuid,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
findByUuid in interface MBMessagePersistence
Throws:
SystemException

findByUuid_First

public MBMessage findByUuid_First(String uuid,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByUuid_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByUuid_Last

public MBMessage findByUuid_Last(String uuid,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByUuid_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByUuid_PrevAndNext

public MBMessage[] findByUuid_PrevAndNext(long messageId,
                                          String uuid,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchMessageException,
                                          SystemException
Specified by:
findByUuid_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByUuid_PrevAndNext

protected MBMessage getByUuid_PrevAndNext(Session session,
                                          MBMessage mbMessage,
                                          String uuid,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByUUID_G

public MBMessage findByUUID_G(String uuid,
                              long groupId)
                       throws NoSuchMessageException,
                              SystemException
Specified by:
findByUUID_G in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

fetchByUUID_G

public MBMessage fetchByUUID_G(String uuid,
                               long groupId)
                        throws SystemException
Specified by:
fetchByUUID_G in interface MBMessagePersistence
Throws:
SystemException

fetchByUUID_G

public MBMessage fetchByUUID_G(String uuid,
                               long groupId,
                               boolean retrieveFromCache)
                        throws SystemException
Specified by:
fetchByUUID_G in interface MBMessagePersistence
Throws:
SystemException

findByGroupId

public List<MBMessage> findByGroupId(long groupId)
                              throws SystemException
Specified by:
findByGroupId in interface MBMessagePersistence
Throws:
SystemException

findByGroupId

public List<MBMessage> findByGroupId(long groupId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByGroupId in interface MBMessagePersistence
Throws:
SystemException

findByGroupId

public List<MBMessage> findByGroupId(long groupId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByGroupId in interface MBMessagePersistence
Throws:
SystemException

findByGroupId_First

public MBMessage findByGroupId_First(long groupId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchMessageException,
                                     SystemException
Specified by:
findByGroupId_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByGroupId_Last

public MBMessage findByGroupId_Last(long groupId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchMessageException,
                                    SystemException
Specified by:
findByGroupId_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByGroupId_PrevAndNext

public MBMessage[] findByGroupId_PrevAndNext(long messageId,
                                             long groupId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchMessageException,
                                             SystemException
Specified by:
findByGroupId_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByGroupId_PrevAndNext

protected MBMessage getByGroupId_PrevAndNext(Session session,
                                             MBMessage mbMessage,
                                             long groupId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

filterFindByGroupId

public List<MBMessage> filterFindByGroupId(long groupId)
                                    throws SystemException
Specified by:
filterFindByGroupId in interface MBMessagePersistence
Throws:
SystemException

filterFindByGroupId

public List<MBMessage> filterFindByGroupId(long groupId,
                                           int start,
                                           int end)
                                    throws SystemException
Specified by:
filterFindByGroupId in interface MBMessagePersistence
Throws:
SystemException

filterFindByGroupId

public List<MBMessage> filterFindByGroupId(long groupId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
filterFindByGroupId in interface MBMessagePersistence
Throws:
SystemException

findByCompanyId

public List<MBMessage> findByCompanyId(long companyId)
                                throws SystemException
Specified by:
findByCompanyId in interface MBMessagePersistence
Throws:
SystemException

findByCompanyId

public List<MBMessage> findByCompanyId(long companyId,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
findByCompanyId in interface MBMessagePersistence
Throws:
SystemException

findByCompanyId

public List<MBMessage> findByCompanyId(long companyId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
findByCompanyId in interface MBMessagePersistence
Throws:
SystemException

findByCompanyId_First

public MBMessage findByCompanyId_First(long companyId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchMessageException,
                                       SystemException
Specified by:
findByCompanyId_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByCompanyId_Last

public MBMessage findByCompanyId_Last(long companyId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchMessageException,
                                      SystemException
Specified by:
findByCompanyId_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByCompanyId_PrevAndNext

public MBMessage[] findByCompanyId_PrevAndNext(long messageId,
                                               long companyId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchMessageException,
                                               SystemException
Specified by:
findByCompanyId_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByCompanyId_PrevAndNext

protected MBMessage getByCompanyId_PrevAndNext(Session session,
                                               MBMessage mbMessage,
                                               long companyId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

findByThreadId

public List<MBMessage> findByThreadId(long threadId)
                               throws SystemException
Specified by:
findByThreadId in interface MBMessagePersistence
Throws:
SystemException

findByThreadId

public List<MBMessage> findByThreadId(long threadId,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findByThreadId in interface MBMessagePersistence
Throws:
SystemException

findByThreadId

public List<MBMessage> findByThreadId(long threadId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
findByThreadId in interface MBMessagePersistence
Throws:
SystemException

findByThreadId_First

public MBMessage findByThreadId_First(long threadId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchMessageException,
                                      SystemException
Specified by:
findByThreadId_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByThreadId_Last

public MBMessage findByThreadId_Last(long threadId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchMessageException,
                                     SystemException
Specified by:
findByThreadId_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByThreadId_PrevAndNext

public MBMessage[] findByThreadId_PrevAndNext(long messageId,
                                              long threadId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchMessageException,
                                              SystemException
Specified by:
findByThreadId_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByThreadId_PrevAndNext

protected MBMessage getByThreadId_PrevAndNext(Session session,
                                              MBMessage mbMessage,
                                              long threadId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByThreadReplies

public List<MBMessage> findByThreadReplies(long threadId)
                                    throws SystemException
Specified by:
findByThreadReplies in interface MBMessagePersistence
Throws:
SystemException

findByThreadReplies

public List<MBMessage> findByThreadReplies(long threadId,
                                           int start,
                                           int end)
                                    throws SystemException
Specified by:
findByThreadReplies in interface MBMessagePersistence
Throws:
SystemException

findByThreadReplies

public List<MBMessage> findByThreadReplies(long threadId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
findByThreadReplies in interface MBMessagePersistence
Throws:
SystemException

findByThreadReplies_First

public MBMessage findByThreadReplies_First(long threadId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchMessageException,
                                           SystemException
Specified by:
findByThreadReplies_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByThreadReplies_Last

public MBMessage findByThreadReplies_Last(long threadId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchMessageException,
                                          SystemException
Specified by:
findByThreadReplies_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByThreadReplies_PrevAndNext

public MBMessage[] findByThreadReplies_PrevAndNext(long messageId,
                                                   long threadId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchMessageException,
                                                   SystemException
Specified by:
findByThreadReplies_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByThreadReplies_PrevAndNext

protected MBMessage getByThreadReplies_PrevAndNext(Session session,
                                                   MBMessage mbMessage,
                                                   long threadId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

findByUserId

public List<MBMessage> findByUserId(long userId)
                             throws SystemException
Specified by:
findByUserId in interface MBMessagePersistence
Throws:
SystemException

findByUserId

public List<MBMessage> findByUserId(long userId,
                                    int start,
                                    int end)
                             throws SystemException
Specified by:
findByUserId in interface MBMessagePersistence
Throws:
SystemException

findByUserId

public List<MBMessage> findByUserId(long userId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Specified by:
findByUserId in interface MBMessagePersistence
Throws:
SystemException

findByUserId_First

public MBMessage findByUserId_First(long userId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchMessageException,
                                    SystemException
Specified by:
findByUserId_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByUserId_Last

public MBMessage findByUserId_Last(long userId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchMessageException,
                                   SystemException
Specified by:
findByUserId_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByUserId_PrevAndNext

public MBMessage[] findByUserId_PrevAndNext(long messageId,
                                            long userId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchMessageException,
                                            SystemException
Specified by:
findByUserId_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByUserId_PrevAndNext

protected MBMessage getByUserId_PrevAndNext(Session session,
                                            MBMessage mbMessage,
                                            long userId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByG_U

public List<MBMessage> findByG_U(long groupId,
                                 long userId)
                          throws SystemException
Specified by:
findByG_U in interface MBMessagePersistence
Throws:
SystemException

findByG_U

public List<MBMessage> findByG_U(long groupId,
                                 long userId,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByG_U in interface MBMessagePersistence
Throws:
SystemException

findByG_U

public List<MBMessage> findByG_U(long groupId,
                                 long userId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByG_U in interface MBMessagePersistence
Throws:
SystemException

findByG_U_First

public MBMessage findByG_U_First(long groupId,
                                 long userId,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByG_U_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_U_Last

public MBMessage findByG_U_Last(long groupId,
                                long userId,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByG_U_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_U_PrevAndNext

public MBMessage[] findByG_U_PrevAndNext(long messageId,
                                         long groupId,
                                         long userId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByG_U_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_U_PrevAndNext

protected MBMessage getByG_U_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long groupId,
                                         long userId,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

filterFindByG_U

public List<MBMessage> filterFindByG_U(long groupId,
                                       long userId)
                                throws SystemException
Specified by:
filterFindByG_U in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_U

public List<MBMessage> filterFindByG_U(long groupId,
                                       long userId,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
filterFindByG_U in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_U

public List<MBMessage> filterFindByG_U(long groupId,
                                       long userId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
filterFindByG_U in interface MBMessagePersistence
Throws:
SystemException

findByG_C

public List<MBMessage> findByG_C(long groupId,
                                 long categoryId)
                          throws SystemException
Specified by:
findByG_C in interface MBMessagePersistence
Throws:
SystemException

findByG_C

public List<MBMessage> findByG_C(long groupId,
                                 long categoryId,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByG_C in interface MBMessagePersistence
Throws:
SystemException

findByG_C

public List<MBMessage> findByG_C(long groupId,
                                 long categoryId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByG_C in interface MBMessagePersistence
Throws:
SystemException

findByG_C_First

public MBMessage findByG_C_First(long groupId,
                                 long categoryId,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByG_C_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_Last

public MBMessage findByG_C_Last(long groupId,
                                long categoryId,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByG_C_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_PrevAndNext

public MBMessage[] findByG_C_PrevAndNext(long messageId,
                                         long groupId,
                                         long categoryId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByG_C_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_C_PrevAndNext

protected MBMessage getByG_C_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long groupId,
                                         long categoryId,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

filterFindByG_C

public List<MBMessage> filterFindByG_C(long groupId,
                                       long categoryId)
                                throws SystemException
Specified by:
filterFindByG_C in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C

public List<MBMessage> filterFindByG_C(long groupId,
                                       long categoryId,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
filterFindByG_C in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C

public List<MBMessage> filterFindByG_C(long groupId,
                                       long categoryId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
filterFindByG_C in interface MBMessagePersistence
Throws:
SystemException

findByG_S

public List<MBMessage> findByG_S(long groupId,
                                 int status)
                          throws SystemException
Specified by:
findByG_S in interface MBMessagePersistence
Throws:
SystemException

findByG_S

public List<MBMessage> findByG_S(long groupId,
                                 int status,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByG_S in interface MBMessagePersistence
Throws:
SystemException

findByG_S

public List<MBMessage> findByG_S(long groupId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByG_S in interface MBMessagePersistence
Throws:
SystemException

findByG_S_First

public MBMessage findByG_S_First(long groupId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByG_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_S_Last

public MBMessage findByG_S_Last(long groupId,
                                int status,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByG_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_S_PrevAndNext

public MBMessage[] findByG_S_PrevAndNext(long messageId,
                                         long groupId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByG_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_S_PrevAndNext

protected MBMessage getByG_S_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long groupId,
                                         int status,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

filterFindByG_S

public List<MBMessage> filterFindByG_S(long groupId,
                                       int status)
                                throws SystemException
Specified by:
filterFindByG_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_S

public List<MBMessage> filterFindByG_S(long groupId,
                                       int status,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
filterFindByG_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_S

public List<MBMessage> filterFindByG_S(long groupId,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
filterFindByG_S in interface MBMessagePersistence
Throws:
SystemException

findByC_S

public List<MBMessage> findByC_S(long companyId,
                                 int status)
                          throws SystemException
Specified by:
findByC_S in interface MBMessagePersistence
Throws:
SystemException

findByC_S

public List<MBMessage> findByC_S(long companyId,
                                 int status,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByC_S in interface MBMessagePersistence
Throws:
SystemException

findByC_S

public List<MBMessage> findByC_S(long companyId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByC_S in interface MBMessagePersistence
Throws:
SystemException

findByC_S_First

public MBMessage findByC_S_First(long companyId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByC_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_S_Last

public MBMessage findByC_S_Last(long companyId,
                                int status,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByC_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_S_PrevAndNext

public MBMessage[] findByC_S_PrevAndNext(long messageId,
                                         long companyId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByC_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByC_S_PrevAndNext

protected MBMessage getByC_S_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long companyId,
                                         int status,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByC_C

public List<MBMessage> findByC_C(long classNameId,
                                 long classPK)
                          throws SystemException
Specified by:
findByC_C in interface MBMessagePersistence
Throws:
SystemException

findByC_C

public List<MBMessage> findByC_C(long classNameId,
                                 long classPK,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByC_C in interface MBMessagePersistence
Throws:
SystemException

findByC_C

public List<MBMessage> findByC_C(long classNameId,
                                 long classPK,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByC_C in interface MBMessagePersistence
Throws:
SystemException

findByC_C_First

public MBMessage findByC_C_First(long classNameId,
                                 long classPK,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByC_C_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_C_Last

public MBMessage findByC_C_Last(long classNameId,
                                long classPK,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByC_C_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_C_PrevAndNext

public MBMessage[] findByC_C_PrevAndNext(long messageId,
                                         long classNameId,
                                         long classPK,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByC_C_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByC_C_PrevAndNext

protected MBMessage getByC_C_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long classNameId,
                                         long classPK,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByT_P

public List<MBMessage> findByT_P(long threadId,
                                 long parentMessageId)
                          throws SystemException
Specified by:
findByT_P in interface MBMessagePersistence
Throws:
SystemException

findByT_P

public List<MBMessage> findByT_P(long threadId,
                                 long parentMessageId,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByT_P in interface MBMessagePersistence
Throws:
SystemException

findByT_P

public List<MBMessage> findByT_P(long threadId,
                                 long parentMessageId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByT_P in interface MBMessagePersistence
Throws:
SystemException

findByT_P_First

public MBMessage findByT_P_First(long threadId,
                                 long parentMessageId,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByT_P_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByT_P_Last

public MBMessage findByT_P_Last(long threadId,
                                long parentMessageId,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByT_P_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByT_P_PrevAndNext

public MBMessage[] findByT_P_PrevAndNext(long messageId,
                                         long threadId,
                                         long parentMessageId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByT_P_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByT_P_PrevAndNext

protected MBMessage getByT_P_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long threadId,
                                         long parentMessageId,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByT_S

public List<MBMessage> findByT_S(long threadId,
                                 int status)
                          throws SystemException
Specified by:
findByT_S in interface MBMessagePersistence
Throws:
SystemException

findByT_S

public List<MBMessage> findByT_S(long threadId,
                                 int status,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByT_S in interface MBMessagePersistence
Throws:
SystemException

findByT_S

public List<MBMessage> findByT_S(long threadId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByT_S in interface MBMessagePersistence
Throws:
SystemException

findByT_S_First

public MBMessage findByT_S_First(long threadId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByT_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByT_S_Last

public MBMessage findByT_S_Last(long threadId,
                                int status,
                                OrderByComparator orderByComparator)
                         throws NoSuchMessageException,
                                SystemException
Specified by:
findByT_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByT_S_PrevAndNext

public MBMessage[] findByT_S_PrevAndNext(long messageId,
                                         long threadId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchMessageException,
                                         SystemException
Specified by:
findByT_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByT_S_PrevAndNext

protected MBMessage getByT_S_PrevAndNext(Session session,
                                         MBMessage mbMessage,
                                         long threadId,
                                         int status,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByTR_S

public List<MBMessage> findByTR_S(long threadId,
                                  int status)
                           throws SystemException
Specified by:
findByTR_S in interface MBMessagePersistence
Throws:
SystemException

findByTR_S

public List<MBMessage> findByTR_S(long threadId,
                                  int status,
                                  int start,
                                  int end)
                           throws SystemException
Specified by:
findByTR_S in interface MBMessagePersistence
Throws:
SystemException

findByTR_S

public List<MBMessage> findByTR_S(long threadId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
findByTR_S in interface MBMessagePersistence
Throws:
SystemException

findByTR_S_First

public MBMessage findByTR_S_First(long threadId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByTR_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByTR_S_Last

public MBMessage findByTR_S_Last(long threadId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchMessageException,
                                 SystemException
Specified by:
findByTR_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByTR_S_PrevAndNext

public MBMessage[] findByTR_S_PrevAndNext(long messageId,
                                          long threadId,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchMessageException,
                                          SystemException
Specified by:
findByTR_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByTR_S_PrevAndNext

protected MBMessage getByTR_S_PrevAndNext(Session session,
                                          MBMessage mbMessage,
                                          long threadId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByG_U_S

public List<MBMessage> findByG_U_S(long groupId,
                                   long userId,
                                   int status)
                            throws SystemException
Specified by:
findByG_U_S in interface MBMessagePersistence
Throws:
SystemException

findByG_U_S

public List<MBMessage> findByG_U_S(long groupId,
                                   long userId,
                                   int status,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByG_U_S in interface MBMessagePersistence
Throws:
SystemException

findByG_U_S

public List<MBMessage> findByG_U_S(long groupId,
                                   long userId,
                                   int status,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByG_U_S in interface MBMessagePersistence
Throws:
SystemException

findByG_U_S_First

public MBMessage findByG_U_S_First(long groupId,
                                   long userId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchMessageException,
                                   SystemException
Specified by:
findByG_U_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_U_S_Last

public MBMessage findByG_U_S_Last(long groupId,
                                  long userId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByG_U_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_U_S_PrevAndNext

public MBMessage[] findByG_U_S_PrevAndNext(long messageId,
                                           long groupId,
                                           long userId,
                                           int status,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchMessageException,
                                           SystemException
Specified by:
findByG_U_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_U_S_PrevAndNext

protected MBMessage getByG_U_S_PrevAndNext(Session session,
                                           MBMessage mbMessage,
                                           long groupId,
                                           long userId,
                                           int status,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByG_U_S

public List<MBMessage> filterFindByG_U_S(long groupId,
                                         long userId,
                                         int status)
                                  throws SystemException
Specified by:
filterFindByG_U_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_U_S

public List<MBMessage> filterFindByG_U_S(long groupId,
                                         long userId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
filterFindByG_U_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_U_S

public List<MBMessage> filterFindByG_U_S(long groupId,
                                         long userId,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Specified by:
filterFindByG_U_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T

public List<MBMessage> findByG_C_T(long groupId,
                                   long categoryId,
                                   long threadId)
                            throws SystemException
Specified by:
findByG_C_T in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T

public List<MBMessage> findByG_C_T(long groupId,
                                   long categoryId,
                                   long threadId,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByG_C_T in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T

public List<MBMessage> findByG_C_T(long groupId,
                                   long categoryId,
                                   long threadId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByG_C_T in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T_First

public MBMessage findByG_C_T_First(long groupId,
                                   long categoryId,
                                   long threadId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchMessageException,
                                   SystemException
Specified by:
findByG_C_T_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_T_Last

public MBMessage findByG_C_T_Last(long groupId,
                                  long categoryId,
                                  long threadId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByG_C_T_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_T_PrevAndNext

public MBMessage[] findByG_C_T_PrevAndNext(long messageId,
                                           long groupId,
                                           long categoryId,
                                           long threadId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchMessageException,
                                           SystemException
Specified by:
findByG_C_T_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_C_T_PrevAndNext

protected MBMessage getByG_C_T_PrevAndNext(Session session,
                                           MBMessage mbMessage,
                                           long groupId,
                                           long categoryId,
                                           long threadId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByG_C_T

public List<MBMessage> filterFindByG_C_T(long groupId,
                                         long categoryId,
                                         long threadId)
                                  throws SystemException
Specified by:
filterFindByG_C_T in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_T

public List<MBMessage> filterFindByG_C_T(long groupId,
                                         long categoryId,
                                         long threadId,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
filterFindByG_C_T in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_T

public List<MBMessage> filterFindByG_C_T(long groupId,
                                         long categoryId,
                                         long threadId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Specified by:
filterFindByG_C_T in interface MBMessagePersistence
Throws:
SystemException

findByG_C_S

public List<MBMessage> findByG_C_S(long groupId,
                                   long categoryId,
                                   int status)
                            throws SystemException
Specified by:
findByG_C_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_S

public List<MBMessage> findByG_C_S(long groupId,
                                   long categoryId,
                                   int status,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByG_C_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_S

public List<MBMessage> findByG_C_S(long groupId,
                                   long categoryId,
                                   int status,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByG_C_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_S_First

public MBMessage findByG_C_S_First(long groupId,
                                   long categoryId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchMessageException,
                                   SystemException
Specified by:
findByG_C_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_S_Last

public MBMessage findByG_C_S_Last(long groupId,
                                  long categoryId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByG_C_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_S_PrevAndNext

public MBMessage[] findByG_C_S_PrevAndNext(long messageId,
                                           long groupId,
                                           long categoryId,
                                           int status,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchMessageException,
                                           SystemException
Specified by:
findByG_C_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_C_S_PrevAndNext

protected MBMessage getByG_C_S_PrevAndNext(Session session,
                                           MBMessage mbMessage,
                                           long groupId,
                                           long categoryId,
                                           int status,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByG_C_S

public List<MBMessage> filterFindByG_C_S(long groupId,
                                         long categoryId,
                                         int status)
                                  throws SystemException
Specified by:
filterFindByG_C_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_S

public List<MBMessage> filterFindByG_C_S(long groupId,
                                         long categoryId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
filterFindByG_C_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_S

public List<MBMessage> filterFindByG_C_S(long groupId,
                                         long categoryId,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Specified by:
filterFindByG_C_S in interface MBMessagePersistence
Throws:
SystemException

findByC_C_S

public List<MBMessage> findByC_C_S(long classNameId,
                                   long classPK,
                                   int status)
                            throws SystemException
Specified by:
findByC_C_S in interface MBMessagePersistence
Throws:
SystemException

findByC_C_S

public List<MBMessage> findByC_C_S(long classNameId,
                                   long classPK,
                                   int status,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByC_C_S in interface MBMessagePersistence
Throws:
SystemException

findByC_C_S

public List<MBMessage> findByC_C_S(long classNameId,
                                   long classPK,
                                   int status,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByC_C_S in interface MBMessagePersistence
Throws:
SystemException

findByC_C_S_First

public MBMessage findByC_C_S_First(long classNameId,
                                   long classPK,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws NoSuchMessageException,
                                   SystemException
Specified by:
findByC_C_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_C_S_Last

public MBMessage findByC_C_S_Last(long classNameId,
                                  long classPK,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchMessageException,
                                  SystemException
Specified by:
findByC_C_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByC_C_S_PrevAndNext

public MBMessage[] findByC_C_S_PrevAndNext(long messageId,
                                           long classNameId,
                                           long classPK,
                                           int status,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchMessageException,
                                           SystemException
Specified by:
findByC_C_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByC_C_S_PrevAndNext

protected MBMessage getByC_C_S_PrevAndNext(Session session,
                                           MBMessage mbMessage,
                                           long classNameId,
                                           long classPK,
                                           int status,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findByG_C_T_S

public List<MBMessage> findByG_C_T_S(long groupId,
                                     long categoryId,
                                     long threadId,
                                     int status)
                              throws SystemException
Specified by:
findByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T_S

public List<MBMessage> findByG_C_T_S(long groupId,
                                     long categoryId,
                                     long threadId,
                                     int status,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T_S

public List<MBMessage> findByG_C_T_S(long groupId,
                                     long categoryId,
                                     long threadId,
                                     int status,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

findByG_C_T_S_First

public MBMessage findByG_C_T_S_First(long groupId,
                                     long categoryId,
                                     long threadId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws NoSuchMessageException,
                                     SystemException
Specified by:
findByG_C_T_S_First in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_T_S_Last

public MBMessage findByG_C_T_S_Last(long groupId,
                                    long categoryId,
                                    long threadId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchMessageException,
                                    SystemException
Specified by:
findByG_C_T_S_Last in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

findByG_C_T_S_PrevAndNext

public MBMessage[] findByG_C_T_S_PrevAndNext(long messageId,
                                             long groupId,
                                             long categoryId,
                                             long threadId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchMessageException,
                                             SystemException
Specified by:
findByG_C_T_S_PrevAndNext in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

getByG_C_T_S_PrevAndNext

protected MBMessage getByG_C_T_S_PrevAndNext(Session session,
                                             MBMessage mbMessage,
                                             long groupId,
                                             long categoryId,
                                             long threadId,
                                             int status,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

filterFindByG_C_T_S

public List<MBMessage> filterFindByG_C_T_S(long groupId,
                                           long categoryId,
                                           long threadId,
                                           int status)
                                    throws SystemException
Specified by:
filterFindByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_T_S

public List<MBMessage> filterFindByG_C_T_S(long groupId,
                                           long categoryId,
                                           long threadId,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Specified by:
filterFindByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

filterFindByG_C_T_S

public List<MBMessage> filterFindByG_C_T_S(long groupId,
                                           long categoryId,
                                           long threadId,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
filterFindByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

findAll

public List<MBMessage> findAll()
                        throws SystemException
Specified by:
findAll in interface MBMessagePersistence
Throws:
SystemException

findAll

public List<MBMessage> findAll(int start,
                               int end)
                        throws SystemException
Specified by:
findAll in interface MBMessagePersistence
Throws:
SystemException

findAll

public List<MBMessage> findAll(int start,
                               int end,
                               OrderByComparator orderByComparator)
                        throws SystemException
Specified by:
findAll in interface MBMessagePersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface MBMessagePersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchMessageException,
                           SystemException
Specified by:
removeByUUID_G in interface MBMessagePersistence
Throws:
NoSuchMessageException
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface MBMessagePersistence
Throws:
SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Specified by:
removeByCompanyId in interface MBMessagePersistence
Throws:
SystemException

removeByThreadId

public void removeByThreadId(long threadId)
                      throws SystemException
Specified by:
removeByThreadId in interface MBMessagePersistence
Throws:
SystemException

removeByThreadReplies

public void removeByThreadReplies(long threadId)
                           throws SystemException
Specified by:
removeByThreadReplies in interface MBMessagePersistence
Throws:
SystemException

removeByUserId

public void removeByUserId(long userId)
                    throws SystemException
Specified by:
removeByUserId in interface MBMessagePersistence
Throws:
SystemException

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws SystemException
Specified by:
removeByG_U in interface MBMessagePersistence
Throws:
SystemException

removeByG_C

public void removeByG_C(long groupId,
                        long categoryId)
                 throws SystemException
Specified by:
removeByG_C in interface MBMessagePersistence
Throws:
SystemException

removeByG_S

public void removeByG_S(long groupId,
                        int status)
                 throws SystemException
Specified by:
removeByG_S in interface MBMessagePersistence
Throws:
SystemException

removeByC_S

public void removeByC_S(long companyId,
                        int status)
                 throws SystemException
Specified by:
removeByC_S in interface MBMessagePersistence
Throws:
SystemException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws SystemException
Specified by:
removeByC_C in interface MBMessagePersistence
Throws:
SystemException

removeByT_P

public void removeByT_P(long threadId,
                        long parentMessageId)
                 throws SystemException
Specified by:
removeByT_P in interface MBMessagePersistence
Throws:
SystemException

removeByT_S

public void removeByT_S(long threadId,
                        int status)
                 throws SystemException
Specified by:
removeByT_S in interface MBMessagePersistence
Throws:
SystemException

removeByTR_S

public void removeByTR_S(long threadId,
                         int status)
                  throws SystemException
Specified by:
removeByTR_S in interface MBMessagePersistence
Throws:
SystemException

removeByG_U_S

public void removeByG_U_S(long groupId,
                          long userId,
                          int status)
                   throws SystemException
Specified by:
removeByG_U_S in interface MBMessagePersistence
Throws:
SystemException

removeByG_C_T

public void removeByG_C_T(long groupId,
                          long categoryId,
                          long threadId)
                   throws SystemException
Specified by:
removeByG_C_T in interface MBMessagePersistence
Throws:
SystemException

removeByG_C_S

public void removeByG_C_S(long groupId,
                          long categoryId,
                          int status)
                   throws SystemException
Specified by:
removeByG_C_S in interface MBMessagePersistence
Throws:
SystemException

removeByC_C_S

public void removeByC_C_S(long classNameId,
                          long classPK,
                          int status)
                   throws SystemException
Specified by:
removeByC_C_S in interface MBMessagePersistence
Throws:
SystemException

removeByG_C_T_S

public void removeByG_C_T_S(long groupId,
                            long categoryId,
                            long threadId,
                            int status)
                     throws SystemException
Specified by:
removeByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface MBMessagePersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface MBMessagePersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface MBMessagePersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface MBMessagePersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface MBMessagePersistence
Throws:
SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Specified by:
countByCompanyId in interface MBMessagePersistence
Throws:
SystemException

countByThreadId

public int countByThreadId(long threadId)
                    throws SystemException
Specified by:
countByThreadId in interface MBMessagePersistence
Throws:
SystemException

countByThreadReplies

public int countByThreadReplies(long threadId)
                         throws SystemException
Specified by:
countByThreadReplies in interface MBMessagePersistence
Throws:
SystemException

countByUserId

public int countByUserId(long userId)
                  throws SystemException
Specified by:
countByUserId in interface MBMessagePersistence
Throws:
SystemException

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws SystemException
Specified by:
countByG_U in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_U

public int filterCountByG_U(long groupId,
                            long userId)
                     throws SystemException
Specified by:
filterCountByG_U in interface MBMessagePersistence
Throws:
SystemException

countByG_C

public int countByG_C(long groupId,
                      long categoryId)
               throws SystemException
Specified by:
countByG_C in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_C

public int filterCountByG_C(long groupId,
                            long categoryId)
                     throws SystemException
Specified by:
filterCountByG_C in interface MBMessagePersistence
Throws:
SystemException

countByG_S

public int countByG_S(long groupId,
                      int status)
               throws SystemException
Specified by:
countByG_S in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_S

public int filterCountByG_S(long groupId,
                            int status)
                     throws SystemException
Specified by:
filterCountByG_S in interface MBMessagePersistence
Throws:
SystemException

countByC_S

public int countByC_S(long companyId,
                      int status)
               throws SystemException
Specified by:
countByC_S in interface MBMessagePersistence
Throws:
SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws SystemException
Specified by:
countByC_C in interface MBMessagePersistence
Throws:
SystemException

countByT_P

public int countByT_P(long threadId,
                      long parentMessageId)
               throws SystemException
Specified by:
countByT_P in interface MBMessagePersistence
Throws:
SystemException

countByT_S

public int countByT_S(long threadId,
                      int status)
               throws SystemException
Specified by:
countByT_S in interface MBMessagePersistence
Throws:
SystemException

countByTR_S

public int countByTR_S(long threadId,
                       int status)
                throws SystemException
Specified by:
countByTR_S in interface MBMessagePersistence
Throws:
SystemException

countByG_U_S

public int countByG_U_S(long groupId,
                        long userId,
                        int status)
                 throws SystemException
Specified by:
countByG_U_S in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_U_S

public int filterCountByG_U_S(long groupId,
                              long userId,
                              int status)
                       throws SystemException
Specified by:
filterCountByG_U_S in interface MBMessagePersistence
Throws:
SystemException

countByG_C_T

public int countByG_C_T(long groupId,
                        long categoryId,
                        long threadId)
                 throws SystemException
Specified by:
countByG_C_T in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_C_T

public int filterCountByG_C_T(long groupId,
                              long categoryId,
                              long threadId)
                       throws SystemException
Specified by:
filterCountByG_C_T in interface MBMessagePersistence
Throws:
SystemException

countByG_C_S

public int countByG_C_S(long groupId,
                        long categoryId,
                        int status)
                 throws SystemException
Specified by:
countByG_C_S in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_C_S

public int filterCountByG_C_S(long groupId,
                              long categoryId,
                              int status)
                       throws SystemException
Specified by:
filterCountByG_C_S in interface MBMessagePersistence
Throws:
SystemException

countByC_C_S

public int countByC_C_S(long classNameId,
                        long classPK,
                        int status)
                 throws SystemException
Specified by:
countByC_C_S in interface MBMessagePersistence
Throws:
SystemException

countByG_C_T_S

public int countByG_C_T_S(long groupId,
                          long categoryId,
                          long threadId,
                          int status)
                   throws SystemException
Specified by:
countByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

filterCountByG_C_T_S

public int filterCountByG_C_T_S(long groupId,
                                long categoryId,
                                long threadId,
                                int status)
                         throws SystemException
Specified by:
filterCountByG_C_T_S in interface MBMessagePersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface MBMessagePersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3