1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService {
35 public MBCategoryLocalServiceWrapper(
36 MBCategoryLocalService mbCategoryLocalService) {
37 _mbCategoryLocalService = mbCategoryLocalService;
38 }
39
40 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
41 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _mbCategoryLocalService.addMBCategory(mbCategory);
44 }
45
46 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
47 long categoryId) {
48 return _mbCategoryLocalService.createMBCategory(categoryId);
49 }
50
51 public void deleteMBCategory(long categoryId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _mbCategoryLocalService.deleteMBCategory(categoryId);
55 }
56
57 public void deleteMBCategory(
58 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _mbCategoryLocalService.deleteMBCategory(mbCategory);
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 _mbCategoryLocalService.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 _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
76 long categoryId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException {
79 return _mbCategoryLocalService.getMBCategory(categoryId);
80 }
81
82 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
83 int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return _mbCategoryLocalService.getMBCategories(start, end);
86 }
87
88 public int getMBCategoriesCount()
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _mbCategoryLocalService.getMBCategoriesCount();
91 }
92
93 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
94 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return _mbCategoryLocalService.updateMBCategory(mbCategory);
97 }
98
99 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
100 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
101 boolean merge)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _mbCategoryLocalService.updateMBCategory(mbCategory, merge);
104 }
105
106 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
107 long userId, long parentCategoryId, java.lang.String name,
108 java.lang.String description, java.lang.String emailAddress,
109 java.lang.String inProtocol, java.lang.String inServerName,
110 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
111 java.lang.String inPassword, int inReadInterval,
112 java.lang.String outEmailAddress, boolean outCustom,
113 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
114 java.lang.String outUserName, java.lang.String outPassword,
115 boolean mailingListActive,
116 com.liferay.portal.service.ServiceContext serviceContext)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
120 name, description, emailAddress, inProtocol, inServerName,
121 inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
122 outEmailAddress, outCustom, outServerName, outServerPort,
123 outUseSSL, outUserName, outPassword, mailingListActive,
124 serviceContext);
125 }
126
127 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
128 java.lang.String uuid, long userId, long parentCategoryId,
129 java.lang.String name, java.lang.String description,
130 java.lang.String emailAddress, java.lang.String inProtocol,
131 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
132 java.lang.String inUserName, java.lang.String inPassword,
133 int inReadInterval, java.lang.String outEmailAddress,
134 boolean outCustom, java.lang.String outServerName, int outServerPort,
135 boolean outUseSSL, java.lang.String outUserName,
136 java.lang.String outPassword, boolean mailingListActive,
137 com.liferay.portal.service.ServiceContext serviceContext)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _mbCategoryLocalService.addCategory(uuid, userId,
141 parentCategoryId, name, description, emailAddress, inProtocol,
142 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
143 inReadInterval, outEmailAddress, outCustom, outServerName,
144 outServerPort, outUseSSL, outUserName, outPassword,
145 mailingListActive, serviceContext);
146 }
147
148 public void addCategoryResources(long categoryId,
149 boolean addCommunityPermissions, boolean addGuestPermissions)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 _mbCategoryLocalService.addCategoryResources(categoryId,
153 addCommunityPermissions, addGuestPermissions);
154 }
155
156 public void addCategoryResources(long categoryId,
157 java.lang.String[] communityPermissions,
158 java.lang.String[] guestPermissions)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 _mbCategoryLocalService.addCategoryResources(categoryId,
162 communityPermissions, guestPermissions);
163 }
164
165 public void addCategoryResources(
166 com.liferay.portlet.messageboards.model.MBCategory category,
167 boolean addCommunityPermissions, boolean addGuestPermissions)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 _mbCategoryLocalService.addCategoryResources(category,
171 addCommunityPermissions, addGuestPermissions);
172 }
173
174 public void addCategoryResources(
175 com.liferay.portlet.messageboards.model.MBCategory category,
176 java.lang.String[] communityPermissions,
177 java.lang.String[] guestPermissions)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 _mbCategoryLocalService.addCategoryResources(category,
181 communityPermissions, guestPermissions);
182 }
183
184 public void deleteCategories(long groupId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 _mbCategoryLocalService.deleteCategories(groupId);
188 }
189
190 public void deleteCategory(long categoryId)
191 throws com.liferay.portal.kernel.exception.PortalException,
192 com.liferay.portal.kernel.exception.SystemException {
193 _mbCategoryLocalService.deleteCategory(categoryId);
194 }
195
196 public void deleteCategory(
197 com.liferay.portlet.messageboards.model.MBCategory category)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 _mbCategoryLocalService.deleteCategory(category);
201 }
202
203 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
204 long groupId)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _mbCategoryLocalService.getCategories(groupId);
207 }
208
209 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
210 long groupId, long parentCategoryId)
211 throws com.liferay.portal.kernel.exception.SystemException {
212 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId);
213 }
214
215 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
216 long groupId, long parentCategoryId, int start, int end)
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
219 start, end);
220 }
221
222 public int getCategoriesCount(long groupId)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _mbCategoryLocalService.getCategoriesCount(groupId);
225 }
226
227 public int getCategoriesCount(long groupId, long parentCategoryId)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _mbCategoryLocalService.getCategoriesCount(groupId,
230 parentCategoryId);
231 }
232
233 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
234 long categoryId)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException {
237 return _mbCategoryLocalService.getCategory(categoryId);
238 }
239
240 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
241 long companyId, int start, int end)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
244 end);
245 }
246
247 public int getCompanyCategoriesCount(long companyId)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
250 }
251
252 public void getSubcategoryIds(java.util.List<Long> categoryIds,
253 long groupId, long categoryId)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
256 categoryId);
257 }
258
259 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
260 long groupId, long userId, int start, int end)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
263 start, end);
264 }
265
266 public int getSubscribedCategoriesCount(long groupId, long userId)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
269 userId);
270 }
271
272 public com.liferay.portlet.messageboards.model.MBCategory getSystemCategory()
273 throws com.liferay.portal.kernel.exception.SystemException {
274 return _mbCategoryLocalService.getSystemCategory();
275 }
276
277 public void subscribeCategory(long userId, long groupId, long categoryId)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
281 }
282
283 public void unsubscribeCategory(long userId, long groupId, long categoryId)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
287 }
288
289 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
290 long categoryId, long parentCategoryId, java.lang.String name,
291 java.lang.String description, java.lang.String emailAddress,
292 java.lang.String inProtocol, java.lang.String inServerName,
293 int inServerPort, boolean inUseSSL, java.lang.String inUserName,
294 java.lang.String inPassword, int inReadInterval,
295 java.lang.String outEmailAddress, boolean outCustom,
296 java.lang.String outServerName, int outServerPort, boolean outUseSSL,
297 java.lang.String outUserName, java.lang.String outPassword,
298 boolean mailingListActive, boolean mergeWithParentCategory,
299 com.liferay.portal.service.ServiceContext serviceContext)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _mbCategoryLocalService.updateCategory(categoryId,
303 parentCategoryId, name, description, emailAddress, inProtocol,
304 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
305 inReadInterval, outEmailAddress, outCustom, outServerName,
306 outServerPort, outUseSSL, outUserName, outPassword,
307 mailingListActive, mergeWithParentCategory, serviceContext);
308 }
309
310 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
311 return _mbCategoryLocalService;
312 }
313
314 private MBCategoryLocalService _mbCategoryLocalService;
315 }