com.liferay.portlet.messageboards.service
Interface MBMessageLocalService
public interface MBMessageLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
MBMessageLocalServiceUtil
Method Summary |
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body)
|
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ThemeDisplay themeDisplay)
|
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String subject,
java.lang.String body)
|
MBMessage |
addMBMessage(MBMessage mbMessage)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
void |
addMessageResources(long categoryId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long categoryId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addMessageResources(MBCategory category,
MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(MBCategory category,
MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessages(java.lang.String className,
long classPK)
|
void |
deleteMBMessage(long messageId)
|
void |
deleteMBMessage(MBMessage mbMessage)
|
void |
deleteMessage(long messageId)
|
void |
deleteMessage(MBMessage message)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
int |
getCategoriesMessagesCount(java.util.List<java.lang.Long> categoryIds)
|
java.util.List<MBMessage> |
getCategoryMessages(long categoryId,
int start,
int end)
|
java.util.List<MBMessage> |
getCategoryMessages(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCategoryMessagesCount(long categoryId)
|
java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int start,
int end)
|
java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyMessagesCount(long companyId)
|
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK)
|
int |
getDiscussionMessagesCount(long classNameId,
long classPK)
|
java.util.List<MBDiscussion> |
getDiscussions(java.lang.String className)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
int start,
int end)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int start,
int end)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupMessagesCount(long groupId)
|
int |
getGroupMessagesCount(long groupId,
long userId)
|
MBMessage |
getMBMessage(long messageId)
|
java.util.List<MBMessage> |
getMBMessages(int start,
int end)
|
int |
getMBMessagesCount()
|
MBMessage |
getMessage(long messageId)
|
MBMessageDisplay |
getMessageDisplay(long messageId)
|
MBMessageDisplay |
getMessageDisplay(MBMessage message)
|
java.util.List<MBMessage> |
getMessages(java.lang.String className,
long classPK)
|
java.util.List<MBMessage> |
getNoAssetMessages()
|
java.util.List<MBMessage> |
getThreadMessages(long threadId)
|
java.util.List<MBMessage> |
getThreadMessages(long threadId,
java.util.Comparator<MBMessage> comparator)
|
int |
getThreadMessagesCount(long threadId)
|
void |
subscribeMessage(long userId,
long messageId)
|
void |
unsubscribeMessage(long userId,
long messageId)
|
MBMessage |
updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body)
|
MBMessage |
updateMBMessage(MBMessage mbMessage)
|
MBMessage |
updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
|
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
MBMessage |
updateMessage(long messageId,
java.lang.String body)
|
void |
updateTagsAsset(long userId,
MBMessage message,
java.lang.String[] tagsEntries)
|
addMBMessage
MBMessage addMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteMBMessage
void deleteMBMessage(long messageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteMBMessage
void deleteMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBMessage
MBMessage getMBMessage(long messageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getMBMessages
java.util.List<MBMessage> getMBMessages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBMessagesCount
int getMBMessagesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateMBMessage
MBMessage updateMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addDiscussionMessage
MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String subject,
java.lang.String body)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDiscussionMessage
MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDiscussionMessage
MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessage
MBMessage addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(long categoryId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(MBCategory category,
MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(long categoryId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addMessageResources
void addMessageResources(MBCategory category,
MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDiscussionMessage
void deleteDiscussionMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDiscussionMessages
void deleteDiscussionMessages(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteMessage
void deleteMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteMessage
void deleteMessage(MBMessage message)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategoryMessages
java.util.List<MBMessage> getCategoryMessages(long categoryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoryMessages
java.util.List<MBMessage> getCategoryMessages(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoryMessagesCount
int getCategoryMessagesCount(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesMessagesCount
int getCategoriesMessagesCount(java.util.List<java.lang.Long> categoryIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyMessages
java.util.List<MBMessage> getCompanyMessages(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyMessages
java.util.List<MBMessage> getCompanyMessages(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyMessagesCount
int getCompanyMessagesCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDiscussionMessageDisplay
MBMessageDisplay getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDiscussionMessagesCount
int getDiscussionMessagesCount(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDiscussions
java.util.List<MBDiscussion> getDiscussions(java.lang.String className)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
java.util.List<MBMessage> getGroupMessages(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
java.util.List<MBMessage> getGroupMessages(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
java.util.List<MBMessage> getGroupMessages(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
java.util.List<MBMessage> getGroupMessages(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessagesCount
int getGroupMessagesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessagesCount
int getGroupMessagesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMessage
MBMessage getMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMessages
java.util.List<MBMessage> getMessages(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMessageDisplay
MBMessageDisplay getMessageDisplay(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMessageDisplay
MBMessageDisplay getMessageDisplay(MBMessage message)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoAssetMessages
java.util.List<MBMessage> getNoAssetMessages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessages
java.util.List<MBMessage> getThreadMessages(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessages
java.util.List<MBMessage> getThreadMessages(long threadId,
java.util.Comparator<MBMessage> comparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessagesCount
int getThreadMessagesCount(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
subscribeMessage
void subscribeMessage(long userId,
long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsubscribeMessage
void unsubscribeMessage(long userId,
long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateDiscussionMessage
MBMessage updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateMessage
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateMessage
MBMessage updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateMessage
MBMessage updateMessage(long messageId,
java.lang.String body)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
void updateTagsAsset(long userId,
MBMessage message,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException