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