Liferay 6.1.2-ce-ga3

com.liferay.portlet.messageboards.service
Class MBMessageServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBMessageServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<MBMessageService>, MBMessageService

public class MBMessageServiceWrapper
extends Object
implements MBMessageService, ServiceWrapper<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 it is generated.

Constructor Summary
MBMessageServiceWrapper(MBMessageService mbMessageService)
           
 
Method Summary
 MBMessage addDiscussionMessage(long groupId, String className, long classPK, String permissionClassName, long permissionClassPK, long permissionOwnerId, long threadId, long parentMessageId, String subject, String body, ServiceContext serviceContext)
           
 MBMessage addMessage(long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, String format, List<ObjectValuePair<String,InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext)
          Deprecated. addMessage(long, String, String, String, java.util.List, boolean, double, boolean, com.liferay.portal.service.ServiceContext)
 MBMessage addMessage(long groupId, long categoryId, String subject, String body, String format, List<ObjectValuePair<String,InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext)
           
 MBMessage addMessage(long parentMessageId, String subject, String body, String format, List<ObjectValuePair<String,InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext)
           
 void deleteDiscussionMessage(long groupId, String className, long classPK, String permissionClassName, long permissionClassPK, long permissionOwnerId, long messageId)
           
 void deleteMessage(long messageId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 int getGroupMessagesCount(long groupId, int status)
           
 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)
           
 int getThreadAnswersCount(long groupId, long categoryId, long threadId)
           
 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()
          Deprecated. Renamed to getWrappedService()
 MBMessageService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedMBMessageService(MBMessageService mbMessageService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.messageboards.service.MBMessageService)
 void setWrappedService(MBMessageService mbMessageService)
           
 void subscribeMessage(long messageId)
           
 void unsubscribeMessage(long messageId)
           
 void updateAnswer(long messageId, boolean answer, boolean cascade)
           
 MBMessage updateDiscussionMessage(String className, long classPK, String permissionClassName, long permissionClassPK, long permissionOwnerId, long messageId, String subject, String body, ServiceContext serviceContext)
           
 MBMessage updateMessage(long messageId, String subject, String body, List<ObjectValuePair<String,InputStream>> inputStreamOVPs, 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

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface MBMessageService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface MBMessageService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addDiscussionMessage

public MBMessage addDiscussionMessage(long groupId,
                                      String className,
                                      long classPK,
                                      String permissionClassName,
                                      long permissionClassPK,
                                      long permissionOwnerId,
                                      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,
                            String format,
                            List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
                            boolean anonymous,
                            double priority,
                            boolean allowPingbacks,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Deprecated. addMessage(long, String, String, String, java.util.List, boolean, double, boolean, com.liferay.portal.service.ServiceContext)

Specified by:
addMessage in interface MBMessageService
Throws:
PortalException
SystemException

addMessage

public MBMessage addMessage(long groupId,
                            long categoryId,
                            String subject,
                            String body,
                            String format,
                            List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
                            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 parentMessageId,
                            String subject,
                            String body,
                            String format,
                            List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
                            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 permissionOwnerId,
                                    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

getGroupMessagesCount

public int getGroupMessagesCount(long groupId,
                                 int status)
                          throws SystemException
Specified by:
getGroupMessagesCount in interface MBMessageService
Throws:
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

getThreadAnswersCount

public int getThreadAnswersCount(long groupId,
                                 long categoryId,
                                 long threadId)
                          throws SystemException
Specified by:
getThreadAnswersCount in interface MBMessageService
Throws:
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

updateAnswer

public void updateAnswer(long messageId,
                         boolean answer,
                         boolean cascade)
                  throws PortalException,
                         SystemException
Specified by:
updateAnswer in interface MBMessageService
Throws:
PortalException
SystemException

updateDiscussionMessage

public MBMessage updateDiscussionMessage(String className,
                                         long classPK,
                                         String permissionClassName,
                                         long permissionClassPK,
                                         long permissionOwnerId,
                                         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,InputStream>> inputStreamOVPs,
                               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()
Deprecated. Renamed to getWrappedService()


setWrappedMBMessageService

public void setWrappedMBMessageService(MBMessageService mbMessageService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.messageboards.service.MBMessageService)


getWrappedService

public MBMessageService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<MBMessageService>

setWrappedService

public void setWrappedService(MBMessageService mbMessageService)
Specified by:
setWrappedService in interface ServiceWrapper<MBMessageService>

Liferay 6.1.2-ce-ga3