1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBCategoryServiceWrapper implements MBCategoryService {
35 public MBCategoryServiceWrapper(MBCategoryService mbCategoryService) {
36 _mbCategoryService = mbCategoryService;
37 }
38
39 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
40 long parentCategoryId, java.lang.String name,
41 java.lang.String description, java.lang.String emailAddress,
42 java.lang.String inProtocol, java.lang.String inServerName,
43 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
44 java.lang.String inPassword, int inReadInterval,
45 java.lang.String outEmailAddress, boolean outCustom,
46 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
47 java.lang.String outUserName, java.lang.String outPassword,
48 boolean mailingListActive,
49 com.liferay.portal.service.ServiceContext serviceContext)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 return _mbCategoryService.addCategory(parentCategoryId, name,
53 description, emailAddress, inProtocol, inServerName, inServerPort,
54 inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
55 outCustom, outServerName, outServerPort, outUseSSL, outUserName,
56 outPassword, mailingListActive, serviceContext);
57 }
58
59 public void deleteCategory(long groupId, long categoryId)
60 throws com.liferay.portal.kernel.exception.PortalException,
61 com.liferay.portal.kernel.exception.SystemException {
62 _mbCategoryService.deleteCategory(groupId, categoryId);
63 }
64
65 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
66 long categoryId)
67 throws com.liferay.portal.kernel.exception.PortalException,
68 com.liferay.portal.kernel.exception.SystemException {
69 return _mbCategoryService.getCategory(categoryId);
70 }
71
72 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
73 long groupId, long parentCategoryId, int start, int end)
74 throws com.liferay.portal.kernel.exception.PortalException,
75 com.liferay.portal.kernel.exception.SystemException {
76 return _mbCategoryService.getCategories(groupId, parentCategoryId,
77 start, end);
78 }
79
80 public int getCategoriesCount(long groupId, long parentCategoryId)
81 throws com.liferay.portal.kernel.exception.SystemException {
82 return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId);
83 }
84
85 public void subscribeCategory(long groupId, long categoryId)
86 throws com.liferay.portal.kernel.exception.PortalException,
87 com.liferay.portal.kernel.exception.SystemException {
88 _mbCategoryService.subscribeCategory(groupId, categoryId);
89 }
90
91 public void unsubscribeCategory(long groupId, long categoryId)
92 throws com.liferay.portal.kernel.exception.PortalException,
93 com.liferay.portal.kernel.exception.SystemException {
94 _mbCategoryService.unsubscribeCategory(groupId, categoryId);
95 }
96
97 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
98 long categoryId, long parentCategoryId, java.lang.String name,
99 java.lang.String description, java.lang.String emailAddress,
100 java.lang.String inProtocol, java.lang.String inServerName,
101 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
102 java.lang.String inPassword, int inReadInterval,
103 java.lang.String outEmailAddress, boolean outCustom,
104 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
105 java.lang.String outUserName, java.lang.String outPassword,
106 boolean mailingListActive, boolean mergeWithParentCategory,
107 com.liferay.portal.service.ServiceContext serviceContext)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return _mbCategoryService.updateCategory(categoryId, parentCategoryId,
111 name, description, emailAddress, inProtocol, inServerName,
112 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
113 outEmailAddress, outCustom, outServerName, outServerPort,
114 outUseSSL, outUserName, outPassword, mailingListActive,
115 mergeWithParentCategory, serviceContext);
116 }
117
118 public MBCategoryService getWrappedMBCategoryService() {
119 return _mbCategoryService;
120 }
121
122 private MBCategoryService _mbCategoryService;
123 }