001
014
015 package com.liferay.portlet.messageboards.service;
016
017
026 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService {
027 public MBCategoryLocalServiceWrapper(
028 MBCategoryLocalService mbCategoryLocalService) {
029 _mbCategoryLocalService = mbCategoryLocalService;
030 }
031
032
039 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
040 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _mbCategoryLocalService.addMBCategory(mbCategory);
043 }
044
045
051 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
052 long categoryId) {
053 return _mbCategoryLocalService.createMBCategory(categoryId);
054 }
055
056
063 public void deleteMBCategory(long categoryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _mbCategoryLocalService.deleteMBCategory(categoryId);
067 }
068
069
075 public void deleteMBCategory(
076 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _mbCategoryLocalService.deleteMBCategory(mbCategory);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
161 long categoryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _mbCategoryLocalService.getMBCategory(categoryId);
165 }
166
167
176 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
177 java.lang.String uuid, long groupId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
181 groupId);
182 }
183
184
196 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
197 int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _mbCategoryLocalService.getMBCategories(start, end);
200 }
201
202
208 public int getMBCategoriesCount()
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _mbCategoryLocalService.getMBCategoriesCount();
211 }
212
213
220 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
221 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _mbCategoryLocalService.updateMBCategory(mbCategory);
224 }
225
226
234 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
235 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
236 boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _mbCategoryLocalService.updateMBCategory(mbCategory, merge);
239 }
240
241 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
242 long userId, long parentCategoryId, java.lang.String name,
243 java.lang.String description, java.lang.String emailAddress,
244 java.lang.String inProtocol, java.lang.String inServerName,
245 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
246 java.lang.String inPassword, int inReadInterval,
247 java.lang.String outEmailAddress, boolean outCustom,
248 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
249 java.lang.String outUserName, java.lang.String outPassword,
250 boolean mailingListActive,
251 com.liferay.portal.service.ServiceContext serviceContext)
252 throws com.liferay.portal.kernel.exception.PortalException,
253 com.liferay.portal.kernel.exception.SystemException {
254 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
255 name, description, emailAddress, inProtocol, inServerName,
256 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
257 outEmailAddress, outCustom, outServerName, outServerPort,
258 outUseSSL, outUserName, outPassword, mailingListActive,
259 serviceContext);
260 }
261
262 public void addCategoryResources(long categoryId,
263 boolean addCommunityPermissions, boolean addGuestPermissions)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 _mbCategoryLocalService.addCategoryResources(categoryId,
267 addCommunityPermissions, addGuestPermissions);
268 }
269
270 public void addCategoryResources(long categoryId,
271 java.lang.String[] communityPermissions,
272 java.lang.String[] guestPermissions)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _mbCategoryLocalService.addCategoryResources(categoryId,
276 communityPermissions, guestPermissions);
277 }
278
279 public void addCategoryResources(
280 com.liferay.portlet.messageboards.model.MBCategory category,
281 boolean addCommunityPermissions, boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _mbCategoryLocalService.addCategoryResources(category,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addCategoryResources(
289 com.liferay.portlet.messageboards.model.MBCategory category,
290 java.lang.String[] communityPermissions,
291 java.lang.String[] guestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _mbCategoryLocalService.addCategoryResources(category,
295 communityPermissions, guestPermissions);
296 }
297
298 public void deleteCategories(long groupId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _mbCategoryLocalService.deleteCategories(groupId);
302 }
303
304 public void deleteCategory(long categoryId)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 _mbCategoryLocalService.deleteCategory(categoryId);
308 }
309
310 public void deleteCategory(
311 com.liferay.portlet.messageboards.model.MBCategory category)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _mbCategoryLocalService.deleteCategory(category);
315 }
316
317 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
318 long groupId)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _mbCategoryLocalService.getCategories(groupId);
321 }
322
323 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
324 long groupId, long parentCategoryId, int start, int end)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
327 start, end);
328 }
329
330 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
331 long groupId, long[] parentCategoryIds, int start, int end)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _mbCategoryLocalService.getCategories(groupId,
334 parentCategoryIds, start, end);
335 }
336
337 public int getCategoriesCount(long groupId)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _mbCategoryLocalService.getCategoriesCount(groupId);
340 }
341
342 public int getCategoriesCount(long groupId, long parentCategoryId)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _mbCategoryLocalService.getCategoriesCount(groupId,
345 parentCategoryId);
346 }
347
348 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _mbCategoryLocalService.getCategoriesCount(groupId,
351 parentCategoryIds);
352 }
353
354 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
355 long categoryId)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return _mbCategoryLocalService.getCategory(categoryId);
359 }
360
361 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
362 long companyId, int start, int end)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
365 end);
366 }
367
368 public int getCompanyCategoriesCount(long companyId)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
371 }
372
373 public java.util.List<java.lang.Long> getSubcategoryIds(
374 java.util.List<java.lang.Long> categoryIds, long groupId,
375 long categoryId)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
378 categoryId);
379 }
380
381 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
382 long groupId, long userId, int start, int end)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
385 start, end);
386 }
387
388 public int getSubscribedCategoriesCount(long groupId, long userId)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
391 userId);
392 }
393
394 public void subscribeCategory(long userId, long groupId, long categoryId)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
398 }
399
400 public void unsubscribeCategory(long userId, long groupId, long categoryId)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
404 }
405
406 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
407 long categoryId, long parentCategoryId, java.lang.String name,
408 java.lang.String description, java.lang.String emailAddress,
409 java.lang.String inProtocol, java.lang.String inServerName,
410 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
411 java.lang.String inPassword, int inReadInterval,
412 java.lang.String outEmailAddress, boolean outCustom,
413 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
414 java.lang.String outUserName, java.lang.String outPassword,
415 boolean mailingListActive, boolean mergeWithParentCategory,
416 com.liferay.portal.service.ServiceContext serviceContext)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException {
419 return _mbCategoryLocalService.updateCategory(categoryId,
420 parentCategoryId, name, description, emailAddress, inProtocol,
421 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
422 inReadInterval, outEmailAddress, outCustom, outServerName,
423 outServerPort, outUseSSL, outUserName, outPassword,
424 mailingListActive, mergeWithParentCategory, serviceContext);
425 }
426
427 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
428 return _mbCategoryLocalService;
429 }
430
431 private MBCategoryLocalService _mbCategoryLocalService;
432 }