com.liferay.portlet.messageboards.service
Class MBMessageServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBMessageServiceWrapper
All Implemented Interfaces:
MBMessageService

public class MBMessageServiceWrapper
extends java.lang.Object
implements MBMessageService

View Source

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

This class is a wrapper for MBMessageService.

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

Constructor Summary
MBMessageServiceWrapper(MBMessageService mbMessageService)
           
 
Method Summary
 MBMessage addDiscussionMessage(long groupId, java.lang.String className, long classPK, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, ThemeDisplay themeDisplay)
           
 MBMessage addMessage(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, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 MBMessage addMessage(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 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 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, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 MBMessage addMessage(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, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 MBMessage addMessage(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 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(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, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteDiscussionMessage(long groupId, java.lang.String className, long classPK, long messageId)
           
 void deleteMessage(long messageId)
           
 java.util.List<MBMessage> getCategoryMessages(long categoryId, int start, int end)
           
 int getCategoryMessagesCount(long categoryId)
           
 java.lang.String getCategoryMessagesRSS(long categoryId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 java.lang.String getCompanyMessagesRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 java.lang.String getGroupMessagesRSS(long groupId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 java.lang.String getGroupMessagesRSS(long groupId, long userId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 MBMessage getMessage(long messageId)
           
 MBMessageDisplay getMessageDisplay(long messageId)
           
 MBMessageDisplay getMessageDisplay(long messageId, java.lang.String threadView)
           
 java.lang.String getThreadMessagesRSS(long threadId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, ThemeDisplay themeDisplay)
           
 MBMessageService getWrappedMBMessageService()
           
 void subscribeMessage(long messageId)
           
 void unsubscribeMessage(long messageId)
           
 MBMessage updateDiscussionMessage(long groupId, java.lang.String className, long classPK, long messageId, java.lang.String subject, java.lang.String body)
           
 MBMessage updateMessage(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)
           
 MBMessage updateMessage(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBMessageServiceWrapper

public MBMessageServiceWrapper(MBMessageService mbMessageService)
Method Detail

addDiscussionMessage

public MBMessage addDiscussionMessage(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,
                                      java.rmi.RemoteException
Specified by:
addDiscussionMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            boolean addCommunityPermissions,
                            boolean addGuestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            boolean addCommunityPermissions,
                            boolean addGuestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addMessage

public MBMessage addMessage(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,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
addMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteDiscussionMessage

public void deleteDiscussionMessage(long groupId,
                                    java.lang.String className,
                                    long classPK,
                                    long messageId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
deleteDiscussionMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteMessage

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

getCategoryMessages

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

getCategoryMessagesCount

public int getCategoryMessagesCount(long categoryId)
                             throws com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
getCategoryMessagesCount in interface MBMessageService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getCategoryMessagesRSS

public java.lang.String getCategoryMessagesRSS(long categoryId,
                                               int max,
                                               java.lang.String type,
                                               double version,
                                               java.lang.String displayStyle,
                                               java.lang.String feedURL,
                                               java.lang.String entryURL,
                                               ThemeDisplay themeDisplay)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException,
                                               java.rmi.RemoteException
Specified by:
getCategoryMessagesRSS in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getCompanyMessagesRSS

public java.lang.String getCompanyMessagesRSS(long companyId,
                                              int max,
                                              java.lang.String type,
                                              double version,
                                              java.lang.String displayStyle,
                                              java.lang.String feedURL,
                                              java.lang.String entryURL,
                                              ThemeDisplay themeDisplay)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException,
                                              java.rmi.RemoteException
Specified by:
getCompanyMessagesRSS in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getGroupMessagesRSS

public java.lang.String getGroupMessagesRSS(long groupId,
                                            int max,
                                            java.lang.String type,
                                            double version,
                                            java.lang.String displayStyle,
                                            java.lang.String feedURL,
                                            java.lang.String entryURL,
                                            ThemeDisplay themeDisplay)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException,
                                            java.rmi.RemoteException
Specified by:
getGroupMessagesRSS in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getGroupMessagesRSS

public java.lang.String getGroupMessagesRSS(long groupId,
                                            long userId,
                                            int max,
                                            java.lang.String type,
                                            double version,
                                            java.lang.String displayStyle,
                                            java.lang.String feedURL,
                                            java.lang.String entryURL,
                                            ThemeDisplay themeDisplay)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException,
                                            java.rmi.RemoteException
Specified by:
getGroupMessagesRSS in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getMessage

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

getMessageDisplay

public MBMessageDisplay getMessageDisplay(long messageId)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException,
                                          java.rmi.RemoteException
Specified by:
getMessageDisplay in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getMessageDisplay

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

getThreadMessagesRSS

public java.lang.String getThreadMessagesRSS(long threadId,
                                             int max,
                                             java.lang.String type,
                                             double version,
                                             java.lang.String displayStyle,
                                             java.lang.String feedURL,
                                             java.lang.String entryURL,
                                             ThemeDisplay themeDisplay)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException,
                                             java.rmi.RemoteException
Specified by:
getThreadMessagesRSS in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

subscribeMessage

public void subscribeMessage(long messageId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException,
                             java.rmi.RemoteException
Specified by:
subscribeMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

unsubscribeMessage

public void unsubscribeMessage(long messageId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Specified by:
unsubscribeMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateDiscussionMessage

public MBMessage updateDiscussionMessage(long groupId,
                                         java.lang.String className,
                                         long classPK,
                                         long messageId,
                                         java.lang.String subject,
                                         java.lang.String body)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException,
                                         java.rmi.RemoteException
Specified by:
updateDiscussionMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateMessage

public MBMessage updateMessage(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)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Specified by:
updateMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateMessage

public MBMessage updateMessage(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,
                               java.rmi.RemoteException
Specified by:
updateMessage in interface MBMessageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getWrappedMBMessageService

public MBMessageService getWrappedMBMessageService()