com.liferay.portlet.messageboards.service.impl
Class MBMessageLocalServiceImpl
java.lang.Object
com.liferay.portlet.messageboards.service.base.MBMessageLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.messageboards.service.MBMessageLocalService
public class MBMessageLocalServiceImpl
- extends MBMessageLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Raymond Augé, Mika Koivisto
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBMessageLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, companyLocalService, companyPersistence, companyService, counterLocalService, counterService, dlLocalService, dlService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, lockLocalService, lockPersistence, mailService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.messageboards.model.MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
int status)
|
com.liferay.portlet.messageboards.model.MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.messageboards.model.MBMessage |
addMessage(long userId,
java.lang.String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.messageboards.model.MBMessage |
addMessage(long userId,
java.lang.String userName,
long groupId,
long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.messageboards.model.MBMessage |
addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addMessageResources(com.liferay.portlet.messageboards.model.MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(com.liferay.portlet.messageboards.model.MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessages(java.lang.String className,
long classPK)
|
protected void |
deleteDiscussionSocialActivities(java.lang.String className,
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> messages)
|
void |
deleteMessage(long messageId)
|
void |
deleteMessage(com.liferay.portlet.messageboards.model.MBMessage message)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCategoryMessagesCount(long groupId,
long categoryId,
int status)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getCompanyMessages(long companyId,
int status,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getCompanyMessages(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyMessagesCount(long companyId,
int status)
|
com.liferay.portlet.messageboards.model.MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status)
|
com.liferay.portlet.messageboards.model.MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status,
java.lang.String threadView)
|
int |
getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
|
java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> |
getDiscussions(java.lang.String className)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getGroupMessages(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupMessagesCount(long groupId,
int status)
|
int |
getGroupMessagesCount(long groupId,
long userId,
int status)
|
com.liferay.portlet.messageboards.model.MBMessage |
getMessage(long messageId)
|
com.liferay.portlet.messageboards.model.MBMessageDisplay |
getMessageDisplay(long messageId,
int status,
java.lang.String threadView)
|
com.liferay.portlet.messageboards.model.MBMessageDisplay |
getMessageDisplay(com.liferay.portlet.messageboards.model.MBMessage message,
int status,
java.lang.String threadView)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getMessages(java.lang.String className,
long classPK,
int status)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getNoAssetMessages()
|
int |
getPositionInThread(long messageId)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getThreadMessages(long threadId,
int status)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getThreadMessages(long threadId,
int status,
java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getThreadMessages(long threadId,
int status,
int start,
int end)
|
int |
getThreadMessagesCount(long threadId,
int status)
|
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> |
getThreadRepliesMessages(long threadId,
int status,
int start,
int end)
|
protected void |
notifySubscribers(com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext,
boolean update)
|
protected void |
pingPingback(com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext)
|
protected void |
sendBlogsCommentsEmail(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
subscribeMessage(long userId,
long messageId)
|
void |
unsubscribeMessage(long userId,
long messageId)
|
void |
updateAsset(long userId,
com.liferay.portlet.messageboards.model.MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
int status)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateMessage(long messageId,
java.lang.String body)
|
protected void |
updatePriorities(long threadId,
double priority)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateStatus(long userId,
long messageId,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.messageboards.model.MBMessage |
updateStatus(long userId,
com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext,
boolean reindex)
|
protected void |
validate(java.lang.String subject,
java.lang.String body)
|
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBMessageLocalServiceBaseImpl |
addMBMessage, createMBMessage, deleteMBMessage, deleteMBMessage, dynamicQuery, dynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getDLLocalService, getDLService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLockLocalService, getLockPersistence, getMailService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessage, getMBMessageFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageFlagService, getMBMessageLocalService, getMBMessagePersistence, getMBMessages, getMBMessagesCount, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setDLLocalService, setDLService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLockLocalService, setLockPersistence, setMailService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBMessage, updateMBMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBMessageLocalServiceImpl
public MBMessageLocalServiceImpl()
addDiscussionMessage
public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addDiscussionMessage
public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public com.liferay.portlet.messageboards.model.MBMessage addMessage(long userId,
java.lang.String userName,
long groupId,
long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public com.liferay.portlet.messageboards.model.MBMessage addMessage(long userId,
java.lang.String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public com.liferay.portlet.messageboards.model.MBMessage addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(com.liferay.portlet.messageboards.model.MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(com.liferay.portlet.messageboards.model.MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDiscussionMessage
public void deleteDiscussionMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDiscussionMessages
public void deleteDiscussionMessages(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteMessage
public void deleteMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteMessage
public void deleteMessage(com.liferay.portlet.messageboards.model.MBMessage message)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategoryMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategoryMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategoryMessagesCount
public int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessagesCount
public int getCompanyMessagesCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessageDisplay
public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessageDisplay
public com.liferay.portlet.messageboards.model.MBMessageDisplay getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessagesCount
public int getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDiscussions
public java.util.List<com.liferay.portlet.messageboards.model.MBDiscussion> getDiscussions(java.lang.String className)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
long userId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMessage
public com.liferay.portlet.messageboards.model.MBMessage getMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getMessages(java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMessageDisplay
public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(long messageId,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMessageDisplay
public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(com.liferay.portlet.messageboards.model.MBMessage message,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getNoAssetMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getNoAssetMessages()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPositionInThread
public int getPositionInThread(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(long threadId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(long threadId,
int status,
java.util.Comparator<com.liferay.portlet.messageboards.model.MBMessage> comparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadMessages(long threadId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessagesCount
public int getThreadMessagesCount(long threadId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadRepliesMessages
public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getThreadRepliesMessages(long threadId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
subscribeMessage
public void subscribeMessage(long userId,
long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
unsubscribeMessage
public void unsubscribeMessage(long userId,
long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateAsset
public void updateAsset(long userId,
com.liferay.portlet.messageboards.model.MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateDiscussionMessage
public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public com.liferay.portlet.messageboards.model.MBMessage updateMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
boolean allowPingbacks,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public com.liferay.portlet.messageboards.model.MBMessage updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public com.liferay.portlet.messageboards.model.MBMessage updateMessage(long messageId,
java.lang.String body)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStatus
public com.liferay.portlet.messageboards.model.MBMessage updateStatus(long userId,
com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext,
boolean reindex)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStatus
public com.liferay.portlet.messageboards.model.MBMessage updateStatus(long userId,
long messageId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDiscussionSocialActivities
protected void deleteDiscussionSocialActivities(java.lang.String className,
java.util.List<com.liferay.portlet.messageboards.model.MBMessage> messages)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
notifySubscribers
protected void notifySubscribers(com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext,
boolean update)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
pingPingback
protected void pingPingback(com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext)
sendBlogsCommentsEmail
protected void sendBlogsCommentsEmail(long userId,
com.liferay.portlet.blogs.model.BlogsEntry entry,
com.liferay.portlet.messageboards.model.MBMessage message,
com.liferay.portal.service.ServiceContext serviceContext)
throws java.io.IOException,
com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
java.io.IOException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updatePriorities
protected void updatePriorities(long threadId,
double priority)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
validate
protected void validate(java.lang.String subject,
java.lang.String body)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException