1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
35 public MBThreadLocalServiceWrapper(
36 MBThreadLocalService mbThreadLocalService) {
37 _mbThreadLocalService = mbThreadLocalService;
38 }
39
40 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
41 com.liferay.portlet.messageboards.model.MBThread mbThread)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _mbThreadLocalService.addMBThread(mbThread);
44 }
45
46 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
47 long threadId) {
48 return _mbThreadLocalService.createMBThread(threadId);
49 }
50
51 public void deleteMBThread(long threadId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _mbThreadLocalService.deleteMBThread(threadId);
55 }
56
57 public void deleteMBThread(
58 com.liferay.portlet.messageboards.model.MBThread mbThread)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _mbThreadLocalService.deleteMBThread(mbThread);
61 }
62
63 @SuppressWarnings("unchecked")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("unchecked")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.kernel.exception.SystemException {
74 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 @SuppressWarnings("unchecked")
78 public java.util.List dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException {
83 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
84 orderByComparator);
85 }
86
87 public long dynamicQueryCount(
88 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
91 }
92
93 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
94 long threadId)
95 throws com.liferay.portal.kernel.exception.PortalException,
96 com.liferay.portal.kernel.exception.SystemException {
97 return _mbThreadLocalService.getMBThread(threadId);
98 }
99
100 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
101 int start, int end)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _mbThreadLocalService.getMBThreads(start, end);
104 }
105
106 public int getMBThreadsCount()
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return _mbThreadLocalService.getMBThreadsCount();
109 }
110
111 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
112 com.liferay.portlet.messageboards.model.MBThread mbThread)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _mbThreadLocalService.updateMBThread(mbThread);
115 }
116
117 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
118 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _mbThreadLocalService.updateMBThread(mbThread, merge);
121 }
122
123 public void deleteThread(long threadId)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 _mbThreadLocalService.deleteThread(threadId);
127 }
128
129 public void deleteThread(
130 com.liferay.portlet.messageboards.model.MBThread thread)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 _mbThreadLocalService.deleteThread(thread);
134 }
135
136 public void deleteThreads(long groupId, long categoryId)
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException {
139 _mbThreadLocalService.deleteThreads(groupId, categoryId);
140 }
141
142 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
145 categoryId, status);
146 }
147
148 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
149 long groupId, int status, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
152 }
153
154 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
155 long groupId, long userId, int status, int start, int end)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
159 start, end);
160 }
161
162 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
163 long groupId, long userId, int status, boolean subscribed, int start,
164 int end)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
168 subscribed, start, end);
169 }
170
171 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
172 long groupId, long userId, int status, boolean subscribed,
173 boolean includeAnonymous, int start, int end)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
177 subscribed, includeAnonymous, start, end);
178 }
179
180 public int getGroupThreadsCount(long groupId, int status)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
183 }
184
185 public int getGroupThreadsCount(long groupId, long userId, int status)
186 throws com.liferay.portal.kernel.exception.SystemException {
187 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
188 status);
189 }
190
191 public int getGroupThreadsCount(long groupId, long userId, int status,
192 boolean subscribed)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
195 status, subscribed);
196 }
197
198 public int getGroupThreadsCount(long groupId, long userId, int status,
199 boolean subscribed, boolean includeAnonymous)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
202 status, subscribed, includeAnonymous);
203 }
204
205 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
206 long categoryId, double priority)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
210 }
211
212 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
213 long categoryId, double priority, boolean inherit)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
217 inherit);
218 }
219
220 public com.liferay.portlet.messageboards.model.MBThread getThread(
221 long threadId)
222 throws com.liferay.portal.kernel.exception.PortalException,
223 com.liferay.portal.kernel.exception.SystemException {
224 return _mbThreadLocalService.getThread(threadId);
225 }
226
227 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
228 long groupId, long categoryId, int status, int start, int end)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
231 start, end);
232 }
233
234 public int getThreadsCount(long groupId, long categoryId, int status)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
237 }
238
239 public com.liferay.portlet.messageboards.model.MBThread moveThread(
240 long groupId, long categoryId, long threadId)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
244 }
245
246 public com.liferay.portlet.messageboards.model.MBThread splitThread(
247 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _mbThreadLocalService.splitThread(messageId, serviceContext);
251 }
252
253 public com.liferay.portlet.messageboards.model.MBThread updateThread(
254 long threadId, int viewCount)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException {
257 return _mbThreadLocalService.updateThread(threadId, viewCount);
258 }
259
260 public MBThreadLocalService getWrappedMBThreadLocalService() {
261 return _mbThreadLocalService;
262 }
263
264 private MBThreadLocalService _mbThreadLocalService;
265 }