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 displayStyle,
269 java.lang.String emailAddress, java.lang.String inProtocol,
270 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
271 java.lang.String inUserName, java.lang.String inPassword,
272 int inReadInterval, java.lang.String outEmailAddress,
273 boolean outCustom, java.lang.String outServerName, int outServerPort,
274 boolean outUseSSL, java.lang.String outUserName,
275 java.lang.String outPassword, boolean allowAnonymous,
276 boolean mailingListActive,
277 com.liferay.portal.service.ServiceContext serviceContext)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
281 name, description, displayStyle, emailAddress, inProtocol,
282 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
283 inReadInterval, outEmailAddress, outCustom, outServerName,
284 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
285 mailingListActive, serviceContext);
286 }
287
288 public void addCategoryResources(long categoryId,
289 boolean addGroupPermissions, boolean addGuestPermissions)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _mbCategoryLocalService.addCategoryResources(categoryId,
293 addGroupPermissions, addGuestPermissions);
294 }
295
296 public void addCategoryResources(long categoryId,
297 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 _mbCategoryLocalService.addCategoryResources(categoryId,
301 groupPermissions, guestPermissions);
302 }
303
304 public void addCategoryResources(
305 com.liferay.portlet.messageboards.model.MBCategory category,
306 boolean addGroupPermissions, boolean addGuestPermissions)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _mbCategoryLocalService.addCategoryResources(category,
310 addGroupPermissions, addGuestPermissions);
311 }
312
313 public void addCategoryResources(
314 com.liferay.portlet.messageboards.model.MBCategory category,
315 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _mbCategoryLocalService.addCategoryResources(category,
319 groupPermissions, guestPermissions);
320 }
321
322 public void deleteCategories(long groupId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _mbCategoryLocalService.deleteCategories(groupId);
326 }
327
328 public void deleteCategory(long categoryId)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _mbCategoryLocalService.deleteCategory(categoryId);
332 }
333
334 public void deleteCategory(
335 com.liferay.portlet.messageboards.model.MBCategory category)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 _mbCategoryLocalService.deleteCategory(category);
339 }
340
341 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
342 long groupId)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _mbCategoryLocalService.getCategories(groupId);
345 }
346
347 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
348 long groupId, long parentCategoryId, int start, int end)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
351 start, end);
352 }
353
354 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
355 long groupId, long[] parentCategoryIds, int start, int end)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _mbCategoryLocalService.getCategories(groupId,
358 parentCategoryIds, start, end);
359 }
360
361 public int getCategoriesCount(long groupId)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return _mbCategoryLocalService.getCategoriesCount(groupId);
364 }
365
366 public int getCategoriesCount(long groupId, long parentCategoryId)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _mbCategoryLocalService.getCategoriesCount(groupId,
369 parentCategoryId);
370 }
371
372 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _mbCategoryLocalService.getCategoriesCount(groupId,
375 parentCategoryIds);
376 }
377
378 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
379 long categoryId)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 return _mbCategoryLocalService.getCategory(categoryId);
383 }
384
385 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
386 long companyId, int start, int end)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
389 end);
390 }
391
392 public int getCompanyCategoriesCount(long companyId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
395 }
396
397 public java.util.List<java.lang.Long> getSubcategoryIds(
398 java.util.List<java.lang.Long> categoryIds, long groupId,
399 long categoryId)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
402 categoryId);
403 }
404
405 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
406 long groupId, long userId, int start, int end)
407 throws com.liferay.portal.kernel.exception.SystemException {
408 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
409 start, end);
410 }
411
412 public int getSubscribedCategoriesCount(long groupId, long userId)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
415 userId);
416 }
417
418 public void subscribeCategory(long userId, long groupId, long categoryId)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
422 }
423
424 public void unsubscribeCategory(long userId, long groupId, long categoryId)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
428 }
429
430 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
431 long categoryId, long parentCategoryId, java.lang.String name,
432 java.lang.String description, java.lang.String displayStyle,
433 java.lang.String emailAddress, java.lang.String inProtocol,
434 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
435 java.lang.String inUserName, java.lang.String inPassword,
436 int inReadInterval, java.lang.String outEmailAddress,
437 boolean outCustom, java.lang.String outServerName, int outServerPort,
438 boolean outUseSSL, java.lang.String outUserName,
439 java.lang.String outPassword, boolean allowAnonymous,
440 boolean mailingListActive, boolean mergeWithParentCategory,
441 com.liferay.portal.service.ServiceContext serviceContext)
442 throws com.liferay.portal.kernel.exception.PortalException,
443 com.liferay.portal.kernel.exception.SystemException {
444 return _mbCategoryLocalService.updateCategory(categoryId,
445 parentCategoryId, name, description, displayStyle, emailAddress,
446 inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
447 inPassword, inReadInterval, outEmailAddress, outCustom,
448 outServerName, outServerPort, outUseSSL, outUserName, outPassword,
449 allowAnonymous, mailingListActive, mergeWithParentCategory,
450 serviceContext);
451 }
452
453 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
454 return _mbCategoryLocalService;
455 }
456
457 public void setWrappedMBCategoryLocalService(
458 MBCategoryLocalService mbCategoryLocalService) {
459 _mbCategoryLocalService = mbCategoryLocalService;
460 }
461
462 private MBCategoryLocalService _mbCategoryLocalService;
463 }