001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class MBThreadServiceWrapper implements MBThreadService,
027 ServiceWrapper<MBThreadService> {
028 public MBThreadServiceWrapper(MBThreadService mbThreadService) {
029 _mbThreadService = mbThreadService;
030 }
031
032
037 @Override
038 public java.lang.String getBeanIdentifier() {
039 return _mbThreadService.getBeanIdentifier();
040 }
041
042
047 @Override
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _mbThreadService.setBeanIdentifier(beanIdentifier);
050 }
051
052 @Override
053 public void deleteThread(long threadId)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 _mbThreadService.deleteThread(threadId);
057 }
058
059 @Override
060 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
061 long groupId, long userId, java.util.Date modifiedDate, int status,
062 int start, int end)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
066 status, start, end);
067 }
068
069 @Override
070 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
071 long groupId, long userId, int status, boolean subscribed,
072 boolean includeAnonymous, int start, int end)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _mbThreadService.getGroupThreads(groupId, userId, status,
076 subscribed, includeAnonymous, start, end);
077 }
078
079 @Override
080 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
081 long groupId, long userId, int status, boolean subscribed, int start,
082 int end)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 return _mbThreadService.getGroupThreads(groupId, userId, status,
086 subscribed, start, end);
087 }
088
089 @Override
090 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
091 long groupId, long userId, int status, int start, int end)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _mbThreadService.getGroupThreads(groupId, userId, status, start,
095 end);
096 }
097
098 @Override
099 public int getGroupThreadsCount(long groupId, long userId,
100 java.util.Date modifiedDate, int status)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _mbThreadService.getGroupThreadsCount(groupId, userId,
103 modifiedDate, status);
104 }
105
106 @Override
107 public int getGroupThreadsCount(long groupId, long userId, int status)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
110 }
111
112 @Override
113 public int getGroupThreadsCount(long groupId, long userId, int status,
114 boolean subscribed)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
117 subscribed);
118 }
119
120 @Override
121 public int getGroupThreadsCount(long groupId, long userId, int status,
122 boolean subscribed, boolean includeAnonymous)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
125 subscribed, includeAnonymous);
126 }
127
128 @Override
129 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
130 long groupId, long categoryId, int status, int start, int end)
131 throws com.liferay.portal.kernel.exception.SystemException {
132 return _mbThreadService.getThreads(groupId, categoryId, status, start,
133 end);
134 }
135
136 @Override
137 public int getThreadsCount(long groupId, long categoryId, int status)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _mbThreadService.getThreadsCount(groupId, categoryId, status);
140 }
141
142 @Override
143 public com.liferay.portal.model.Lock lockThread(long threadId)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException {
146 return _mbThreadService.lockThread(threadId);
147 }
148
149 @Override
150 public com.liferay.portlet.messageboards.model.MBThread moveThread(
151 long categoryId, long threadId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _mbThreadService.moveThread(categoryId, threadId);
155 }
156
157 @Override
158 public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
159 long categoryId, long threadId)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 return _mbThreadService.moveThreadFromTrash(categoryId, threadId);
163 }
164
165 @Override
166 public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
167 long threadId)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 return _mbThreadService.moveThreadToTrash(threadId);
171 }
172
173 @Override
174 public void restoreThreadFromTrash(long threadId)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 _mbThreadService.restoreThreadFromTrash(threadId);
178 }
179
180 @Override
181 public com.liferay.portal.kernel.search.Hits search(long groupId,
182 long creatorUserId, int status, int start, int end)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return _mbThreadService.search(groupId, creatorUserId, status, start,
186 end);
187 }
188
189 @Override
190 public com.liferay.portal.kernel.search.Hits search(long groupId,
191 long creatorUserId, long startDate, long endDate, int status,
192 int start, int end)
193 throws com.liferay.portal.kernel.exception.PortalException,
194 com.liferay.portal.kernel.exception.SystemException {
195 return _mbThreadService.search(groupId, creatorUserId, startDate,
196 endDate, status, start, end);
197 }
198
199 @Override
200 public com.liferay.portlet.messageboards.model.MBThread splitThread(
201 long messageId, java.lang.String subject,
202 com.liferay.portal.service.ServiceContext serviceContext)
203 throws com.liferay.portal.kernel.exception.PortalException,
204 com.liferay.portal.kernel.exception.SystemException {
205 return _mbThreadService.splitThread(messageId, subject, serviceContext);
206 }
207
208 @Override
209 public void unlockThread(long threadId)
210 throws com.liferay.portal.kernel.exception.PortalException,
211 com.liferay.portal.kernel.exception.SystemException {
212 _mbThreadService.unlockThread(threadId);
213 }
214
215
218 public MBThreadService getWrappedMBThreadService() {
219 return _mbThreadService;
220 }
221
222
225 public void setWrappedMBThreadService(MBThreadService mbThreadService) {
226 _mbThreadService = mbThreadService;
227 }
228
229 @Override
230 public MBThreadService getWrappedService() {
231 return _mbThreadService;
232 }
233
234 @Override
235 public void setWrappedService(MBThreadService mbThreadService) {
236 _mbThreadService = mbThreadService;
237 }
238
239 private MBThreadService _mbThreadService;
240 }