com.liferay.portlet.messageboards.service
Class MBMessageLocalServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBMessageLocalServiceUtil
public class MBMessageLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.messageboards.service.MBMessageLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
MBMessageLocalService
Method Summary |
static 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)
|
static 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)
|
static MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String subject,
java.lang.String body)
|
static MBMessage |
addMBMessage(MBMessage mbMessage)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static void |
addMessageResources(long categoryId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addMessageResources(long categoryId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addMessageResources(long categoryId,
java.lang.String topicId,
long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addMessageResources(MBCategory category,
MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addMessageResources(MBCategory category,
MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
deleteDiscussionMessage(long messageId)
|
static void |
deleteDiscussionMessages(java.lang.String className,
long classPK)
|
static void |
deleteMBMessage(long messageId)
|
static void |
deleteMBMessage(MBMessage mbMessage)
|
static void |
deleteMessage(long messageId)
|
static void |
deleteMessage(MBMessage message)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static int |
getCategoriesMessagesCount(java.util.List<java.lang.Long> categoryIds)
|
static java.util.List<MBMessage> |
getCategoryMessages(long categoryId,
int start,
int end)
|
static java.util.List<MBMessage> |
getCategoryMessages(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getCategoryMessagesCount(long categoryId)
|
static java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int start,
int end)
|
static java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getCompanyMessagesCount(long companyId)
|
static MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK)
|
static int |
getDiscussionMessagesCount(long classNameId,
long classPK)
|
static java.util.List<MBDiscussion> |
getDiscussions(java.lang.String className)
|
static java.util.List<MBMessage> |
getGroupMessages(long groupId,
int start,
int end)
|
static java.util.List<MBMessage> |
getGroupMessages(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int start,
int end)
|
static java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupMessagesCount(long groupId)
|
static int |
getGroupMessagesCount(long groupId,
long userId)
|
static MBMessage |
getMBMessage(long messageId)
|
static java.util.List<MBMessage> |
getMBMessages(int start,
int end)
|
static int |
getMBMessagesCount()
|
static MBMessage |
getMessage(long messageId)
|
static MBMessageDisplay |
getMessageDisplay(long messageId)
|
static MBMessageDisplay |
getMessageDisplay(MBMessage message)
|
static java.util.List<MBMessage> |
getMessages(java.lang.String className,
long classPK)
|
static java.util.List<MBMessage> |
getNoAssetMessages()
|
static MBMessageLocalService |
getService()
|
static java.util.List<MBMessage> |
getThreadMessages(long threadId)
|
static java.util.List<MBMessage> |
getThreadMessages(long threadId,
java.util.Comparator<MBMessage> comparator)
|
static int |
getThreadMessagesCount(long threadId)
|
void |
setService(MBMessageLocalService service)
|
static void |
subscribeMessage(long userId,
long messageId)
|
static void |
unsubscribeMessage(long userId,
long messageId)
|
static MBMessage |
updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body)
|
static MBMessage |
updateMBMessage(MBMessage mbMessage)
|
static MBMessage |
updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
|
static 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)
|
static MBMessage |
updateMessage(long messageId,
java.lang.String body)
|
static void |
updateTagsAsset(long userId,
MBMessage message,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBMessageLocalServiceUtil
public MBMessageLocalServiceUtil()
addMBMessage
public static MBMessage addMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteMBMessage
public static void deleteMBMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteMBMessage
public static void deleteMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static 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
public static MBMessage getMBMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMBMessages
public static java.util.List<MBMessage> getMBMessages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBMessagesCount
public static int getMBMessagesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateMBMessage
public static MBMessage updateMBMessage(MBMessage mbMessage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addDiscussionMessage
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static void deleteDiscussionMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDiscussionMessages
public static 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
public static void deleteMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteMessage
public static void deleteMessage(MBMessage message)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategoryMessages
public static java.util.List<MBMessage> getCategoryMessages(long categoryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoryMessages
public static 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
public static int getCategoryMessagesCount(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesMessagesCount
public static int getCategoriesMessagesCount(java.util.List<java.lang.Long> categoryIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyMessages
public static java.util.List<MBMessage> getCompanyMessages(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyMessages
public static 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
public static int getCompanyMessagesCount(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDiscussionMessageDisplay
public static 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
public static int getDiscussionMessagesCount(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDiscussions
public static java.util.List<MBDiscussion> getDiscussions(java.lang.String className)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
public static java.util.List<MBMessage> getGroupMessages(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
public static 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
public static java.util.List<MBMessage> getGroupMessages(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessages
public static 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
public static int getGroupMessagesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupMessagesCount
public static int getGroupMessagesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMessage
public static MBMessage getMessage(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMessages
public static java.util.List<MBMessage> getMessages(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMessageDisplay
public static MBMessageDisplay getMessageDisplay(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMessageDisplay
public static MBMessageDisplay getMessageDisplay(MBMessage message)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoAssetMessages
public static java.util.List<MBMessage> getNoAssetMessages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessages
public static java.util.List<MBMessage> getThreadMessages(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessages
public static java.util.List<MBMessage> getThreadMessages(long threadId,
java.util.Comparator<MBMessage> comparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getThreadMessagesCount
public static int getThreadMessagesCount(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
subscribeMessage
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
getService
public static MBMessageLocalService getService()
setService
public void setService(MBMessageLocalService service)