Liferay 6.0.5

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 Object
implements MBMessageService

This class is a wrapper for MBMessageService.

See Also:
MBMessageService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
MBMessageServiceWrapper(MBMessageService mbMessageService)
           
 
Method Summary
 MBMessage addDiscussionMessage(long groupId, String className, long classPK, String permissionClassName, long permissionClassPK, long threadId, long parentMessageId, String subject, String body, ServiceContext serviceContext)
           
 MBMessage addMessage(long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, List<ObjectValuePair<String,byte[]>> files, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext)
           
 MBMessage addMessage(long groupId, long categoryId, String subject, String body, List<ObjectValuePair<String,byte[]>> files, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext)
           
 void deleteDiscussionMessage(long groupId, String className, long classPK, String permissionClassName, long permissionClassPK, long messageId)
           
 void deleteMessage(long messageId)
           
 List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end)
           
 int getCategoryMessagesCount(long groupId, long categoryId, int status)
           
 String getCategoryMessagesRSS(long groupId, long categoryId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 String getCompanyMessagesRSS(long companyId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 String getGroupMessagesRSS(long groupId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 String getGroupMessagesRSS(long groupId, long userId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 MBMessage getMessage(long messageId)
           
 MBMessageDisplay getMessageDisplay(long messageId, int status, String threadView, boolean includePrevAndNext)
           
 List<MBMessage> getThreadMessages(long groupId, long categoryId, long threadId, int status, int start, int end)
           
 int getThreadMessagesCount(long groupId, long categoryId, long threadId, int status)
           
 String getThreadMessagesRSS(long threadId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 MBMessageService getWrappedMBMessageService()
           
 void subscribeMessage(long messageId)
           
 void unsubscribeMessage(long messageId)
           
 MBMessage updateDiscussionMessage(String className, long classPK, String permissionClassName, long permissionClassPK, long messageId, String subject, String body, ServiceContext serviceContext)
           
 MBMessage updateMessage(long messageId, String subject, String body, List<ObjectValuePair<String,byte[]>> files, List<String> existingFiles, double priority, boolean allowPingbacks, ServiceContext serviceContext)
           
 
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,
                                      String className,
                                      long classPK,
                                      String permissionClassName,
                                      long permissionClassPK,
                                      long threadId,
                                      long parentMessageId,
                                      String subject,
                                      String body,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Specified by:
addDiscussionMessage in interface MBMessageService
Throws:
PortalException
SystemException

addMessage

public MBMessage addMessage(long groupId,
                            long categoryId,
                            long threadId,
                            long parentMessageId,
                            String subject,
                            String body,
                            List<ObjectValuePair<String,byte[]>> files,
                            boolean anonymous,
                            double priority,
                            boolean allowPingbacks,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Specified by:
addMessage in interface MBMessageService
Throws:
PortalException
SystemException

addMessage

public MBMessage addMessage(long groupId,
                            long categoryId,
                            String subject,
                            String body,
                            List<ObjectValuePair<String,byte[]>> files,
                            boolean anonymous,
                            double priority,
                            boolean allowPingbacks,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Specified by:
addMessage in interface MBMessageService
Throws:
PortalException
SystemException

deleteDiscussionMessage

public void deleteDiscussionMessage(long groupId,
                                    String className,
                                    long classPK,
                                    String permissionClassName,
                                    long permissionClassPK,
                                    long messageId)
                             throws PortalException,
                                    SystemException
Specified by:
deleteDiscussionMessage in interface MBMessageService
Throws:
PortalException
SystemException

deleteMessage

public void deleteMessage(long messageId)
                   throws PortalException,
                          SystemException
Specified by:
deleteMessage in interface MBMessageService
Throws:
PortalException
SystemException

getCategoryMessages

public List<MBMessage> getCategoryMessages(long groupId,
                                           long categoryId,
                                           int status,
                                           int start,
                                           int end)
                                    throws PortalException,
                                           SystemException
Specified by:
getCategoryMessages in interface MBMessageService
Throws:
PortalException
SystemException

getCategoryMessagesCount

public int getCategoryMessagesCount(long groupId,
                                    long categoryId,
                                    int status)
                             throws SystemException
Specified by:
getCategoryMessagesCount in interface MBMessageService
Throws:
SystemException

getCategoryMessagesRSS

public String getCategoryMessagesRSS(long groupId,
                                     long categoryId,
                                     int status,
                                     int max,
                                     String type,
                                     double version,
                                     String displayStyle,
                                     String feedURL,
                                     String entryURL,
                                     ThemeDisplay themeDisplay)
                              throws PortalException,
                                     SystemException
Specified by:
getCategoryMessagesRSS in interface MBMessageService
Throws:
PortalException
SystemException

getCompanyMessagesRSS

public String getCompanyMessagesRSS(long companyId,
                                    int status,
                                    int max,
                                    String type,
                                    double version,
                                    String displayStyle,
                                    String feedURL,
                                    String entryURL,
                                    ThemeDisplay themeDisplay)
                             throws PortalException,
                                    SystemException
Specified by:
getCompanyMessagesRSS in interface MBMessageService
Throws:
PortalException
SystemException

getGroupMessagesRSS

public String getGroupMessagesRSS(long groupId,
                                  int status,
                                  int max,
                                  String type,
                                  double version,
                                  String displayStyle,
                                  String feedURL,
                                  String entryURL,
                                  ThemeDisplay themeDisplay)
                           throws PortalException,
                                  SystemException
Specified by:
getGroupMessagesRSS in interface MBMessageService
Throws:
PortalException
SystemException

getGroupMessagesRSS

public String getGroupMessagesRSS(long groupId,
                                  long userId,
                                  int status,
                                  int max,
                                  String type,
                                  double version,
                                  String displayStyle,
                                  String feedURL,
                                  String entryURL,
                                  ThemeDisplay themeDisplay)
                           throws PortalException,
                                  SystemException
Specified by:
getGroupMessagesRSS in interface MBMessageService
Throws:
PortalException
SystemException

getMessage

public MBMessage getMessage(long messageId)
                     throws PortalException,
                            SystemException
Specified by:
getMessage in interface MBMessageService
Throws:
PortalException
SystemException

getMessageDisplay

public MBMessageDisplay getMessageDisplay(long messageId,
                                          int status,
                                          String threadView,
                                          boolean includePrevAndNext)
                                   throws PortalException,
                                          SystemException
Specified by:
getMessageDisplay in interface MBMessageService
Throws:
PortalException
SystemException

getThreadMessages

public List<MBMessage> getThreadMessages(long groupId,
                                         long categoryId,
                                         long threadId,
                                         int status,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
getThreadMessages in interface MBMessageService
Throws:
SystemException

getThreadMessagesCount

public int getThreadMessagesCount(long groupId,
                                  long categoryId,
                                  long threadId,
                                  int status)
                           throws SystemException
Specified by:
getThreadMessagesCount in interface MBMessageService
Throws:
SystemException

getThreadMessagesRSS

public String getThreadMessagesRSS(long threadId,
                                   int status,
                                   int max,
                                   String type,
                                   double version,
                                   String displayStyle,
                                   String feedURL,
                                   String entryURL,
                                   ThemeDisplay themeDisplay)
                            throws PortalException,
                                   SystemException
Specified by:
getThreadMessagesRSS in interface MBMessageService
Throws:
PortalException
SystemException

subscribeMessage

public void subscribeMessage(long messageId)
                      throws PortalException,
                             SystemException
Specified by:
subscribeMessage in interface MBMessageService
Throws:
PortalException
SystemException

unsubscribeMessage

public void unsubscribeMessage(long messageId)
                        throws PortalException,
                               SystemException
Specified by:
unsubscribeMessage in interface MBMessageService
Throws:
PortalException
SystemException

updateDiscussionMessage

public MBMessage updateDiscussionMessage(String className,
                                         long classPK,
                                         String permissionClassName,
                                         long permissionClassPK,
                                         long messageId,
                                         String subject,
                                         String body,
                                         ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Specified by:
updateDiscussionMessage in interface MBMessageService
Throws:
PortalException
SystemException

updateMessage

public MBMessage updateMessage(long messageId,
                               String subject,
                               String body,
                               List<ObjectValuePair<String,byte[]>> files,
                               List<String> existingFiles,
                               double priority,
                               boolean allowPingbacks,
                               ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Specified by:
updateMessage in interface MBMessageService
Throws:
PortalException
SystemException

getWrappedMBMessageService

public MBMessageService getWrappedMBMessageService()

Liferay 6.0.5