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 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
183 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
184 java.lang.String uuid, long groupId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
188 groupId);
189 }
190
191
203 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _mbCategoryLocalService.getMBCategories(start, end);
207 }
208
209
215 public int getMBCategoriesCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _mbCategoryLocalService.getMBCategoriesCount();
218 }
219
220
227 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
228 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _mbCategoryLocalService.updateMBCategory(mbCategory);
231 }
232
233
241 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
242 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _mbCategoryLocalService.updateMBCategory(mbCategory, merge);
246 }
247
248
253 public java.lang.String getBeanIdentifier() {
254 return _mbCategoryLocalService.getBeanIdentifier();
255 }
256
257
262 public void setBeanIdentifier(java.lang.String beanIdentifier) {
263 _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
264 }
265
266 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
267 long userId, long parentCategoryId, java.lang.String name,
268 java.lang.String description, java.lang.String emailAddress,
269 java.lang.String inProtocol, java.lang.String inServerName,
270 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
271 java.lang.String inPassword, int inReadInterval,
272 java.lang.String outEmailAddress, boolean outCustom,
273 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
274 java.lang.String outUserName, java.lang.String outPassword,
275 boolean allowAnonymous, boolean mailingListActive,
276 com.liferay.portal.service.ServiceContext serviceContext)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
280 name, description, emailAddress, inProtocol, inServerName,
281 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
282 outEmailAddress, outCustom, outServerName, outServerPort,
283 outUseSSL, outUserName, outPassword, allowAnonymous,
284 mailingListActive, serviceContext);
285 }
286
287
293 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
294 long userId, long parentCategoryId, java.lang.String name,
295 java.lang.String description, java.lang.String emailAddress,
296 java.lang.String inProtocol, java.lang.String inServerName,
297 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
298 java.lang.String inPassword, int inReadInterval,
299 java.lang.String outEmailAddress, boolean outCustom,
300 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
301 java.lang.String outUserName, java.lang.String outPassword,
302 boolean mailingListActive,
303 com.liferay.portal.service.ServiceContext serviceContext)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
307 name, description, emailAddress, inProtocol, inServerName,
308 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
309 outEmailAddress, outCustom, outServerName, outServerPort,
310 outUseSSL, outUserName, outPassword, mailingListActive,
311 serviceContext);
312 }
313
314 public void addCategoryResources(long categoryId,
315 boolean addCommunityPermissions, boolean addGuestPermissions)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _mbCategoryLocalService.addCategoryResources(categoryId,
319 addCommunityPermissions, addGuestPermissions);
320 }
321
322 public void addCategoryResources(long categoryId,
323 java.lang.String[] communityPermissions,
324 java.lang.String[] guestPermissions)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _mbCategoryLocalService.addCategoryResources(categoryId,
328 communityPermissions, guestPermissions);
329 }
330
331 public void addCategoryResources(
332 com.liferay.portlet.messageboards.model.MBCategory category,
333 boolean addCommunityPermissions, boolean addGuestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _mbCategoryLocalService.addCategoryResources(category,
337 addCommunityPermissions, addGuestPermissions);
338 }
339
340 public void addCategoryResources(
341 com.liferay.portlet.messageboards.model.MBCategory category,
342 java.lang.String[] communityPermissions,
343 java.lang.String[] guestPermissions)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 _mbCategoryLocalService.addCategoryResources(category,
347 communityPermissions, guestPermissions);
348 }
349
350 public void deleteCategories(long groupId)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 _mbCategoryLocalService.deleteCategories(groupId);
354 }
355
356 public void deleteCategory(long categoryId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _mbCategoryLocalService.deleteCategory(categoryId);
360 }
361
362 public void deleteCategory(
363 com.liferay.portlet.messageboards.model.MBCategory category)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _mbCategoryLocalService.deleteCategory(category);
367 }
368
369 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
370 long groupId)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _mbCategoryLocalService.getCategories(groupId);
373 }
374
375 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
376 long groupId, long parentCategoryId, int start, int end)
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
379 start, end);
380 }
381
382 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
383 long groupId, long[] parentCategoryIds, int start, int end)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _mbCategoryLocalService.getCategories(groupId,
386 parentCategoryIds, start, end);
387 }
388
389 public int getCategoriesCount(long groupId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return _mbCategoryLocalService.getCategoriesCount(groupId);
392 }
393
394 public int getCategoriesCount(long groupId, long parentCategoryId)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _mbCategoryLocalService.getCategoriesCount(groupId,
397 parentCategoryId);
398 }
399
400 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _mbCategoryLocalService.getCategoriesCount(groupId,
403 parentCategoryIds);
404 }
405
406 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
407 long categoryId)
408 throws com.liferay.portal.kernel.exception.PortalException,
409 com.liferay.portal.kernel.exception.SystemException {
410 return _mbCategoryLocalService.getCategory(categoryId);
411 }
412
413 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
414 long companyId, int start, int end)
415 throws com.liferay.portal.kernel.exception.SystemException {
416 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
417 end);
418 }
419
420 public int getCompanyCategoriesCount(long companyId)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
423 }
424
425 public java.util.List<java.lang.Long> getSubcategoryIds(
426 java.util.List<java.lang.Long> categoryIds, long groupId,
427 long categoryId)
428 throws com.liferay.portal.kernel.exception.SystemException {
429 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
430 categoryId);
431 }
432
433 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
434 long groupId, long userId, int start, int end)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
437 start, end);
438 }
439
440 public int getSubscribedCategoriesCount(long groupId, long userId)
441 throws com.liferay.portal.kernel.exception.SystemException {
442 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
443 userId);
444 }
445
446 public void subscribeCategory(long userId, long groupId, long categoryId)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
450 }
451
452 public void unsubscribeCategory(long userId, long groupId, long categoryId)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
456 }
457
458 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
459 long categoryId, long parentCategoryId, java.lang.String name,
460 java.lang.String description, java.lang.String emailAddress,
461 java.lang.String inProtocol, java.lang.String inServerName,
462 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
463 java.lang.String inPassword, int inReadInterval,
464 java.lang.String outEmailAddress, boolean outCustom,
465 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
466 java.lang.String outUserName, java.lang.String outPassword,
467 boolean allowAnonymous, boolean mailingListActive,
468 boolean mergeWithParentCategory,
469 com.liferay.portal.service.ServiceContext serviceContext)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException {
472 return _mbCategoryLocalService.updateCategory(categoryId,
473 parentCategoryId, name, description, emailAddress, inProtocol,
474 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
475 inReadInterval, outEmailAddress, outCustom, outServerName,
476 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
477 mailingListActive, mergeWithParentCategory, serviceContext);
478 }
479
480
486 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
487 long categoryId, long parentCategoryId, java.lang.String name,
488 java.lang.String description, java.lang.String emailAddress,
489 java.lang.String inProtocol, java.lang.String inServerName,
490 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
491 java.lang.String inPassword, int inReadInterval,
492 java.lang.String outEmailAddress, boolean outCustom,
493 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
494 java.lang.String outUserName, java.lang.String outPassword,
495 boolean mailingListActive, boolean mergeWithParentCategory,
496 com.liferay.portal.service.ServiceContext serviceContext)
497 throws com.liferay.portal.kernel.exception.PortalException,
498 com.liferay.portal.kernel.exception.SystemException {
499 return _mbCategoryLocalService.updateCategory(categoryId,
500 parentCategoryId, name, description, emailAddress, inProtocol,
501 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
502 inReadInterval, outEmailAddress, outCustom, outServerName,
503 outServerPort, outUseSSL, outUserName, outPassword,
504 mailingListActive, mergeWithParentCategory, serviceContext);
505 }
506
507 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
508 return _mbCategoryLocalService;
509 }
510
511 public void setWrappedMBCategoryLocalService(
512 MBCategoryLocalService mbCategoryLocalService) {
513 _mbCategoryLocalService = mbCategoryLocalService;
514 }
515
516 private MBCategoryLocalService _mbCategoryLocalService;
517 }