com.liferay.portlet.messageboards.service
Class MBMessageLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBMessageLocalServiceWrapper
All Implemented Interfaces:
MBMessageLocalService

public class MBMessageLocalServiceWrapper
extends java.lang.Object
implements MBMessageLocalService

View Source

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

This class is a wrapper for MBMessageLocalService.

Author:
Brian Wing Shun Chan
See Also:
MBMessageLocalService
Generated:

Constructor Summary
MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
           
 
Method Summary
 MBMessage addDiscussionMessage(long userId, java.lang.String userName, java.lang.String className, long classPK)
           
 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, ServiceContext serviceContext)
           
 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, ServiceContext serviceContext)
           
 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, ServiceContext serviceContext)
           
 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, ServiceContext serviceContext)
           
 void addMessageResources(long messageId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addMessageResources(long messageId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addMessageResources(MBMessage message, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addMessageResources(MBMessage message, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 MBMessage createMBMessage(long messageId)
           
 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 dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 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)
           
 MBMessageDisplay getDiscussionMessageDisplay(long userId, java.lang.String className, long classPK, java.lang.String threadView)
           
 int getDiscussionMessagesCount(long classNameId, long classPK)
           
 int getDiscussionMessagesCount(java.lang.String className, 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)
           
 MBMessage getMBMessageByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<MBMessage> getMBMessages(int start, int end)
           
 int getMBMessagesCount()
           
 MBMessage getMessage(long messageId)
           
 MBMessageDisplay getMessageDisplay(long messageId, java.lang.String threadView)
           
 MBMessageDisplay getMessageDisplay(long messageId, java.lang.String threadView, boolean includePrevAndNext)
           
 MBMessageDisplay getMessageDisplay(MBMessage message, java.lang.String threadView)
           
 MBMessageDisplay getMessageDisplay(MBMessage message, java.lang.String threadView, boolean includePrevAndNext)
           
 java.util.List<MBMessage> getMessages(java.lang.String className, long classPK)
           
 java.util.List<MBMessage> getNoAssetMessages()
           
 int getPositionInThread(long messageId)
           
 java.util.List<MBMessage> getThreadMessages(long threadId)
           
 java.util.List<MBMessage> getThreadMessages(long threadId, java.util.Comparator<MBMessage> comparator)
           
 java.util.List<MBMessage> getThreadMessages(long threadId, int start, int end)
           
 int getThreadMessagesCount(long threadId)
           
 java.util.List<MBMessage> getThreadRepliesMessages(long threadId, int start, int end)
           
 MBMessageLocalService getWrappedMBMessageLocalService()
           
 void reIndex(long messageId)
           
 void reIndex(MBMessage message)
           
 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 updateMBMessage(MBMessage mbMessage, boolean merge)
           
 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, ServiceContext serviceContext)
           
 MBMessage updateMessage(long messageId, java.lang.String body)
           
 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
 

Constructor Detail

MBMessageLocalServiceWrapper

public MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
Method Detail

addMBMessage

public MBMessage addMBMessage(MBMessage mbMessage)
                       throws com.liferay.portal.SystemException
Specified by:
addMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

createMBMessage

public MBMessage createMBMessage(long messageId)
Specified by:
createMBMessage in interface MBMessageLocalService

deleteMBMessage

public void deleteMBMessage(long messageId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
deleteMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteMBMessage

public void deleteMBMessage(MBMessage mbMessage)
                     throws com.liferay.portal.SystemException
Specified by:
deleteMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getMBMessage

public MBMessage getMBMessage(long messageId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
getMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMBMessageByUuidAndGroupId

public MBMessage getMBMessageByUuidAndGroupId(java.lang.String uuid,
                                              long groupId)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Specified by:
getMBMessageByUuidAndGroupId in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMBMessages

public java.util.List<MBMessage> getMBMessages(int start,
                                               int end)
                                        throws com.liferay.portal.SystemException
Specified by:
getMBMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getMBMessagesCount

public int getMBMessagesCount()
                       throws com.liferay.portal.SystemException
Specified by:
getMBMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

updateMBMessage

public MBMessage updateMBMessage(MBMessage mbMessage)
                          throws com.liferay.portal.SystemException
Specified by:
updateMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

updateMBMessage

public MBMessage updateMBMessage(MBMessage mbMessage,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Specified by:
updateMBMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

addDiscussionMessage

public MBMessage addDiscussionMessage(long userId,
                                      java.lang.String userName,
                                      java.lang.String className,
                                      long classPK)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
addDiscussionMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addDiscussionMessage

public 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,
                                      ServiceContext serviceContext)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
addDiscussionMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessage

public 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,
                            ServiceContext serviceContext)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
addMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessage

public 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,
                            ServiceContext serviceContext)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
addMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessage

public 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,
                            ServiceContext serviceContext)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
addMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessageResources

public void addMessageResources(long messageId,
                                boolean addCommunityPermissions,
                                boolean addGuestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
addMessageResources in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessageResources

public void addMessageResources(long messageId,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
addMessageResources in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessageResources

public void addMessageResources(MBMessage message,
                                boolean addCommunityPermissions,
                                boolean addGuestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
addMessageResources in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addMessageResources

public void addMessageResources(MBMessage message,
                                java.lang.String[] communityPermissions,
                                java.lang.String[] guestPermissions)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
addMessageResources in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteDiscussionMessage

public void deleteDiscussionMessage(long messageId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
deleteDiscussionMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteDiscussionMessages

public void deleteDiscussionMessages(java.lang.String className,
                                     long classPK)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Specified by:
deleteDiscussionMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteMessage

public void deleteMessage(long messageId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
deleteMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteMessage

public void deleteMessage(MBMessage message)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
deleteMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategoryMessages

public java.util.List<MBMessage> getCategoryMessages(long categoryId,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Specified by:
getCategoryMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getCategoryMessages

public java.util.List<MBMessage> getCategoryMessages(long categoryId,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Specified by:
getCategoryMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getCategoryMessagesCount

public int getCategoryMessagesCount(long categoryId)
                             throws com.liferay.portal.SystemException
Specified by:
getCategoryMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getCompanyMessages

public java.util.List<MBMessage> getCompanyMessages(long companyId,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Specified by:
getCompanyMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getCompanyMessages

public java.util.List<MBMessage> getCompanyMessages(long companyId,
                                                    int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Specified by:
getCompanyMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getCompanyMessagesCount

public int getCompanyMessagesCount(long companyId)
                            throws com.liferay.portal.SystemException
Specified by:
getCompanyMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getDiscussionMessageDisplay

public MBMessageDisplay getDiscussionMessageDisplay(long userId,
                                                    java.lang.String className,
                                                    long classPK)
                                             throws com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Specified by:
getDiscussionMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDiscussionMessageDisplay

public MBMessageDisplay getDiscussionMessageDisplay(long userId,
                                                    java.lang.String className,
                                                    long classPK,
                                                    java.lang.String threadView)
                                             throws com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Specified by:
getDiscussionMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDiscussionMessagesCount

public int getDiscussionMessagesCount(long classNameId,
                                      long classPK)
                               throws com.liferay.portal.SystemException
Specified by:
getDiscussionMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getDiscussionMessagesCount

public int getDiscussionMessagesCount(java.lang.String className,
                                      long classPK)
                               throws com.liferay.portal.SystemException
Specified by:
getDiscussionMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getDiscussions

public java.util.List<MBDiscussion> getDiscussions(java.lang.String className)
                                            throws com.liferay.portal.SystemException
Specified by:
getDiscussions in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessages

public java.util.List<MBMessage> getGroupMessages(long groupId,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Specified by:
getGroupMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessages

public java.util.List<MBMessage> getGroupMessages(long groupId,
                                                  int start,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Specified by:
getGroupMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessages

public java.util.List<MBMessage> getGroupMessages(long groupId,
                                                  long userId,
                                                  int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Specified by:
getGroupMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessages

public 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
Specified by:
getGroupMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessagesCount

public int getGroupMessagesCount(long groupId)
                          throws com.liferay.portal.SystemException
Specified by:
getGroupMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getGroupMessagesCount

public int getGroupMessagesCount(long groupId,
                                 long userId)
                          throws com.liferay.portal.SystemException
Specified by:
getGroupMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getMessage

public MBMessage getMessage(long messageId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
getMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMessageDisplay

public MBMessageDisplay getMessageDisplay(long messageId,
                                          java.lang.String threadView)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMessageDisplay

public MBMessageDisplay getMessageDisplay(long messageId,
                                          java.lang.String threadView,
                                          boolean includePrevAndNext)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMessageDisplay

public MBMessageDisplay getMessageDisplay(MBMessage message,
                                          java.lang.String threadView)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMessageDisplay

public MBMessageDisplay getMessageDisplay(MBMessage message,
                                          java.lang.String threadView,
                                          boolean includePrevAndNext)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getMessageDisplay in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMessages

public java.util.List<MBMessage> getMessages(java.lang.String className,
                                             long classPK)
                                      throws com.liferay.portal.SystemException
Specified by:
getMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getNoAssetMessages

public java.util.List<MBMessage> getNoAssetMessages()
                                             throws com.liferay.portal.SystemException
Specified by:
getNoAssetMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getPositionInThread

public int getPositionInThread(long messageId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
getPositionInThread in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getThreadMessages

public java.util.List<MBMessage> getThreadMessages(long threadId)
                                            throws com.liferay.portal.SystemException
Specified by:
getThreadMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getThreadMessages

public java.util.List<MBMessage> getThreadMessages(long threadId,
                                                   java.util.Comparator<MBMessage> comparator)
                                            throws com.liferay.portal.SystemException
Specified by:
getThreadMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getThreadMessages

public java.util.List<MBMessage> getThreadMessages(long threadId,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.SystemException
Specified by:
getThreadMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getThreadMessagesCount

public int getThreadMessagesCount(long threadId)
                           throws com.liferay.portal.SystemException
Specified by:
getThreadMessagesCount in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

getThreadRepliesMessages

public java.util.List<MBMessage> getThreadRepliesMessages(long threadId,
                                                          int start,
                                                          int end)
                                                   throws com.liferay.portal.SystemException
Specified by:
getThreadRepliesMessages in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

reIndex

public void reIndex(long messageId)
             throws com.liferay.portal.SystemException
Specified by:
reIndex in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

reIndex

public void reIndex(MBMessage message)
             throws com.liferay.portal.SystemException
Specified by:
reIndex in interface MBMessageLocalService
Throws:
com.liferay.portal.SystemException

subscribeMessage

public void subscribeMessage(long userId,
                             long messageId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
subscribeMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribeMessage

public void unsubscribeMessage(long userId,
                               long messageId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
unsubscribeMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateDiscussionMessage

public MBMessage updateDiscussionMessage(long userId,
                                         long messageId,
                                         java.lang.String subject,
                                         java.lang.String body)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Specified by:
updateDiscussionMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateMessage

public MBMessage updateMessage(long messageId,
                               java.util.Date createDate,
                               java.util.Date modifiedDate)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
updateMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateMessage

public 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,
                               ServiceContext serviceContext)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
updateMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateMessage

public MBMessage updateMessage(long messageId,
                               java.lang.String body)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
updateMessage in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTagsAsset

public void updateTagsAsset(long userId,
                            MBMessage message,
                            java.lang.String[] tagsEntries)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
updateTagsAsset in interface MBMessageLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedMBMessageLocalService

public MBMessageLocalService getWrappedMBMessageLocalService()