001
014
015 package com.liferay.portlet.messageboards.service;
016
017
026 public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
027 public MBThreadLocalServiceWrapper(
028 MBThreadLocalService mbThreadLocalService) {
029 _mbThreadLocalService = mbThreadLocalService;
030 }
031
032 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
033 com.liferay.portlet.messageboards.model.MBThread mbThread)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _mbThreadLocalService.addMBThread(mbThread);
036 }
037
038 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
039 long threadId) {
040 return _mbThreadLocalService.createMBThread(threadId);
041 }
042
043 public void deleteMBThread(long threadId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _mbThreadLocalService.deleteMBThread(threadId);
047 }
048
049 public void deleteMBThread(
050 com.liferay.portlet.messageboards.model.MBThread mbThread)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 _mbThreadLocalService.deleteMBThread(mbThread);
053 }
054
055 @SuppressWarnings("unchecked")
056 public java.util.List dynamicQuery(
057 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
060 }
061
062 @SuppressWarnings("unchecked")
063 public java.util.List dynamicQuery(
064 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException {
066 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
067 }
068
069 @SuppressWarnings("unchecked")
070 public java.util.List dynamicQuery(
071 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072 int end,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
076 orderByComparator);
077 }
078
079 public long dynamicQueryCount(
080 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
083 }
084
085 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
086 long threadId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _mbThreadLocalService.getMBThread(threadId);
090 }
091
092 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
093 int start, int end)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _mbThreadLocalService.getMBThreads(start, end);
096 }
097
098 public int getMBThreadsCount()
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _mbThreadLocalService.getMBThreadsCount();
101 }
102
103 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
104 com.liferay.portlet.messageboards.model.MBThread mbThread)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _mbThreadLocalService.updateMBThread(mbThread);
107 }
108
109 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
110 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _mbThreadLocalService.updateMBThread(mbThread, merge);
113 }
114
115 public void deleteThread(long threadId)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 _mbThreadLocalService.deleteThread(threadId);
119 }
120
121 public void deleteThread(
122 com.liferay.portlet.messageboards.model.MBThread thread)
123 throws com.liferay.portal.kernel.exception.PortalException,
124 com.liferay.portal.kernel.exception.SystemException {
125 _mbThreadLocalService.deleteThread(thread);
126 }
127
128 public void deleteThreads(long groupId, long categoryId)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 _mbThreadLocalService.deleteThreads(groupId, categoryId);
132 }
133
134 public int getCategoryThreadsCount(long groupId, long categoryId, int status)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _mbThreadLocalService.getCategoryThreadsCount(groupId,
137 categoryId, status);
138 }
139
140 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
141 long groupId, int status, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
144 }
145
146 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
147 long groupId, long userId, int status, boolean subscribed,
148 boolean includeAnonymous, int start, int end)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
152 subscribed, includeAnonymous, start, end);
153 }
154
155 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
156 long groupId, long userId, int status, boolean subscribed, int start,
157 int end)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
161 subscribed, start, end);
162 }
163
164 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
165 long groupId, long userId, int status, int start, int end)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException {
168 return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
169 start, end);
170 }
171
172 public int getGroupThreadsCount(long groupId, int status)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
175 }
176
177 public int getGroupThreadsCount(long groupId, long userId, int status)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
180 status);
181 }
182
183 public int getGroupThreadsCount(long groupId, long userId, int status,
184 boolean subscribed)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
187 status, subscribed);
188 }
189
190 public int getGroupThreadsCount(long groupId, long userId, int status,
191 boolean subscribed, boolean includeAnonymous)
192 throws com.liferay.portal.kernel.exception.SystemException {
193 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
194 status, subscribed, includeAnonymous);
195 }
196
197 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
198 long categoryId, double priority)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
202 }
203
204 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
205 long categoryId, double priority, boolean inherit)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
209 inherit);
210 }
211
212 public com.liferay.portlet.messageboards.model.MBThread getThread(
213 long threadId)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 return _mbThreadLocalService.getThread(threadId);
217 }
218
219 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
220 long groupId, long categoryId, int status, int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _mbThreadLocalService.getThreads(groupId, categoryId, status,
223 start, end);
224 }
225
226 public int getThreadsCount(long groupId, long categoryId, int status)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
229 }
230
231 public com.liferay.portlet.messageboards.model.MBThread moveThread(
232 long groupId, long categoryId, long threadId)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
236 }
237
238 public com.liferay.portlet.messageboards.model.MBThread splitThread(
239 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _mbThreadLocalService.splitThread(messageId, serviceContext);
243 }
244
245 public com.liferay.portlet.messageboards.model.MBThread updateThread(
246 long threadId, int viewCount)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 return _mbThreadLocalService.updateThread(threadId, viewCount);
250 }
251
252 public MBThreadLocalService getWrappedMBThreadLocalService() {
253 return _mbThreadLocalService;
254 }
255
256 private MBThreadLocalService _mbThreadLocalService;
257 }