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