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.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.PortalException,
53 com.liferay.portal.SystemException {
54 _mbThreadLocalService.deleteMBThread(threadId);
55 }
56
57 public void deleteMBThread(
58 com.liferay.portlet.messageboards.model.MBThread mbThread)
59 throws com.liferay.portal.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.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.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.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.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.PortalException,
93 com.liferay.portal.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) throws com.liferay.portal.SystemException {
99 return _mbThreadLocalService.getMBThreads(start, end);
100 }
101
102 public int getMBThreadsCount() throws com.liferay.portal.SystemException {
103 return _mbThreadLocalService.getMBThreadsCount();
104 }
105
106 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
107 com.liferay.portlet.messageboards.model.MBThread mbThread)
108 throws com.liferay.portal.SystemException {
109 return _mbThreadLocalService.updateMBThread(mbThread);
110 }
111
112 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
113 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
114 throws com.liferay.portal.SystemException {
115 return _mbThreadLocalService.updateMBThread(mbThread, merge);
116 }
117
118 public void deleteThread(long threadId)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 _mbThreadLocalService.deleteThread(threadId);
122 }
123
124 public void deleteThread(
125 com.liferay.portlet.messageboards.model.MBThread thread)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 _mbThreadLocalService.deleteThread(thread);
129 }
130
131 public void deleteThreads(long categoryId)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 _mbThreadLocalService.deleteThreads(categoryId);
135 }
136
137 public int getCategoryThreadsCount(long categoryId)
138 throws com.liferay.portal.SystemException {
139 return _mbThreadLocalService.getCategoryThreadsCount(categoryId);
140 }
141
142 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
143 long groupId, int start, int end)
144 throws com.liferay.portal.SystemException {
145 return _mbThreadLocalService.getGroupThreads(groupId, start, end);
146 }
147
148 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
149 long groupId, long userId, boolean subscribed,
150 boolean includeAnonymous, int start, int end)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 return _mbThreadLocalService.getGroupThreads(groupId, userId,
154 subscribed, includeAnonymous, start, end);
155 }
156
157 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
158 long groupId, long userId, boolean subscribed, int start, int end)
159 throws com.liferay.portal.PortalException,
160 com.liferay.portal.SystemException {
161 return _mbThreadLocalService.getGroupThreads(groupId, userId,
162 subscribed, start, end);
163 }
164
165 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
166 long groupId, long userId, int start, int end)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 return _mbThreadLocalService.getGroupThreads(groupId, userId, start, end);
170 }
171
172 public int getGroupThreadsCount(long groupId)
173 throws com.liferay.portal.SystemException {
174 return _mbThreadLocalService.getGroupThreadsCount(groupId);
175 }
176
177 public int getGroupThreadsCount(long groupId, long userId)
178 throws com.liferay.portal.SystemException {
179 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId);
180 }
181
182 public int getGroupThreadsCount(long groupId, long userId,
183 boolean subscribed) throws com.liferay.portal.SystemException {
184 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
185 subscribed);
186 }
187
188 public int getGroupThreadsCount(long groupId, long userId,
189 boolean subscribed, boolean includeAnonymous)
190 throws com.liferay.portal.SystemException {
191 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
192 subscribed, includeAnonymous);
193 }
194
195 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
196 long categoryId, double priority)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException {
199 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
200 }
201
202 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
203 long categoryId, double priority, boolean inherit)
204 throws com.liferay.portal.PortalException,
205 com.liferay.portal.SystemException {
206 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
207 inherit);
208 }
209
210 public com.liferay.portlet.messageboards.model.MBThread getThread(
211 long threadId)
212 throws com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException {
214 return _mbThreadLocalService.getThread(threadId);
215 }
216
217 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
218 long categoryId, int start, int end)
219 throws com.liferay.portal.SystemException {
220 return _mbThreadLocalService.getThreads(categoryId, start, end);
221 }
222
223 public int getThreadsCount(long categoryId)
224 throws com.liferay.portal.SystemException {
225 return _mbThreadLocalService.getThreadsCount(categoryId);
226 }
227
228 public com.liferay.portlet.messageboards.model.MBThread moveThread(
229 long categoryId, long threadId)
230 throws com.liferay.portal.PortalException,
231 com.liferay.portal.SystemException {
232 return _mbThreadLocalService.moveThread(categoryId, threadId);
233 }
234
235 public com.liferay.portlet.messageboards.model.MBThread splitThread(
236 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
237 throws com.liferay.portal.PortalException,
238 com.liferay.portal.SystemException {
239 return _mbThreadLocalService.splitThread(messageId, serviceContext);
240 }
241
242 public com.liferay.portlet.messageboards.model.MBThread updateThread(
243 long threadId, int viewCount)
244 throws com.liferay.portal.PortalException,
245 com.liferay.portal.SystemException {
246 return _mbThreadLocalService.updateThread(threadId, viewCount);
247 }
248
249 public MBThreadLocalService getWrappedMBThreadLocalService() {
250 return _mbThreadLocalService;
251 }
252
253 private MBThreadLocalService _mbThreadLocalService;
254 }