001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBThreadServiceWrapper implements MBThreadService,
029 ServiceWrapper<MBThreadService> {
030 public MBThreadServiceWrapper(MBThreadService mbThreadService) {
031 _mbThreadService = mbThreadService;
032 }
033
034 public void deleteThread(long threadId)
035 throws com.liferay.portal.kernel.exception.PortalException,
036 com.liferay.portal.kernel.exception.SystemException {
037 _mbThreadService.deleteThread(threadId);
038 }
039
040 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
041 long groupId, long userId, int status, boolean subscribed,
042 boolean includeAnonymous, int start, int end)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 return _mbThreadService.getGroupThreads(groupId, userId, status,
046 subscribed, includeAnonymous, start, end);
047 }
048
049 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
050 long groupId, long userId, int status, boolean subscribed, int start,
051 int end)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _mbThreadService.getGroupThreads(groupId, userId, status,
055 subscribed, start, end);
056 }
057
058 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
059 long groupId, long userId, int status, int start, int end)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _mbThreadService.getGroupThreads(groupId, userId, status, start,
063 end);
064 }
065
066 public int getGroupThreadsCount(long groupId, long userId, int status)
067 throws com.liferay.portal.kernel.exception.SystemException {
068 return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
069 }
070
071 public int getGroupThreadsCount(long groupId, long userId, int status,
072 boolean subscribed)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
075 subscribed);
076 }
077
078 public int getGroupThreadsCount(long groupId, long userId, int status,
079 boolean subscribed, boolean includeAnonymous)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
082 subscribed, includeAnonymous);
083 }
084
085 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
086 long groupId, long categoryId, int status, int start, int end)
087 throws com.liferay.portal.kernel.exception.SystemException {
088 return _mbThreadService.getThreads(groupId, categoryId, status, start,
089 end);
090 }
091
092 public int getThreadsCount(long groupId, long categoryId, int status)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _mbThreadService.getThreadsCount(groupId, categoryId, status);
095 }
096
097 public com.liferay.portal.model.Lock lockThread(long threadId)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException {
100 return _mbThreadService.lockThread(threadId);
101 }
102
103 public com.liferay.portlet.messageboards.model.MBThread moveThread(
104 long categoryId, long threadId)
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException {
107 return _mbThreadService.moveThread(categoryId, threadId);
108 }
109
110 public com.liferay.portlet.messageboards.model.MBThread splitThread(
111 long messageId, java.lang.String subject,
112 com.liferay.portal.service.ServiceContext serviceContext)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException {
115 return _mbThreadService.splitThread(messageId, subject, serviceContext);
116 }
117
118 public void unlockThread(long threadId)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 _mbThreadService.unlockThread(threadId);
122 }
123
124
127 public MBThreadService getWrappedMBThreadService() {
128 return _mbThreadService;
129 }
130
131
134 public void setWrappedMBThreadService(MBThreadService mbThreadService) {
135 _mbThreadService = mbThreadService;
136 }
137
138 public MBThreadService getWrappedService() {
139 return _mbThreadService;
140 }
141
142 public void setWrappedService(MBThreadService mbThreadService) {
143 _mbThreadService = mbThreadService;
144 }
145
146 private MBThreadService _mbThreadService;
147 }