001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService,
029 ServiceWrapper<MBCategoryLocalService> {
030 public MBCategoryLocalServiceWrapper(
031 MBCategoryLocalService mbCategoryLocalService) {
032 _mbCategoryLocalService = mbCategoryLocalService;
033 }
034
035
042 public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
043 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _mbCategoryLocalService.addMBCategory(mbCategory);
046 }
047
048
054 public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
055 long categoryId) {
056 return _mbCategoryLocalService.createMBCategory(categoryId);
057 }
058
059
067 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
068 long categoryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _mbCategoryLocalService.deleteMBCategory(categoryId);
072 }
073
074
081 public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
082 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _mbCategoryLocalService.deleteMBCategory(mbCategory);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _mbCategoryLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategory(
163 long categoryId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _mbCategoryLocalService.fetchMBCategory(categoryId);
166 }
167
168
176 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
177 long categoryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbCategoryLocalService.getMBCategory(categoryId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _mbCategoryLocalService.getMBCategories(start, end);
223 }
224
225
231 public int getMBCategoriesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _mbCategoryLocalService.getMBCategoriesCount();
234 }
235
236
243 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
244 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _mbCategoryLocalService.updateMBCategory(mbCategory);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _mbCategoryLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
268 long userId, long parentCategoryId, java.lang.String name,
269 java.lang.String description, java.lang.String displayStyle,
270 java.lang.String emailAddress, java.lang.String inProtocol,
271 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
272 java.lang.String inUserName, java.lang.String inPassword,
273 int inReadInterval, java.lang.String outEmailAddress,
274 boolean outCustom, java.lang.String outServerName, int outServerPort,
275 boolean outUseSSL, java.lang.String outUserName,
276 java.lang.String outPassword, boolean allowAnonymous,
277 boolean mailingListActive,
278 com.liferay.portal.service.ServiceContext serviceContext)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
282 name, description, displayStyle, emailAddress, inProtocol,
283 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
284 inReadInterval, outEmailAddress, outCustom, outServerName,
285 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
286 mailingListActive, serviceContext);
287 }
288
289 public void addCategoryResources(long categoryId,
290 boolean addGroupPermissions, boolean addGuestPermissions)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 _mbCategoryLocalService.addCategoryResources(categoryId,
294 addGroupPermissions, addGuestPermissions);
295 }
296
297 public void addCategoryResources(long categoryId,
298 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _mbCategoryLocalService.addCategoryResources(categoryId,
302 groupPermissions, guestPermissions);
303 }
304
305 public void addCategoryResources(
306 com.liferay.portlet.messageboards.model.MBCategory category,
307 boolean addGroupPermissions, boolean addGuestPermissions)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 _mbCategoryLocalService.addCategoryResources(category,
311 addGroupPermissions, addGuestPermissions);
312 }
313
314 public void addCategoryResources(
315 com.liferay.portlet.messageboards.model.MBCategory category,
316 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _mbCategoryLocalService.addCategoryResources(category,
320 groupPermissions, guestPermissions);
321 }
322
323 public void deleteCategories(long groupId)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 _mbCategoryLocalService.deleteCategories(groupId);
327 }
328
329 public void deleteCategory(long categoryId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 _mbCategoryLocalService.deleteCategory(categoryId);
333 }
334
335 public void deleteCategory(
336 com.liferay.portlet.messageboards.model.MBCategory category)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 _mbCategoryLocalService.deleteCategory(category);
340 }
341
342 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
343 long groupId)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return _mbCategoryLocalService.getCategories(groupId);
346 }
347
348 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
349 long groupId, long parentCategoryId, int start, int end)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
352 start, end);
353 }
354
355 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
356 long groupId, long[] parentCategoryIds, int start, int end)
357 throws com.liferay.portal.kernel.exception.SystemException {
358 return _mbCategoryLocalService.getCategories(groupId,
359 parentCategoryIds, start, end);
360 }
361
362 public int getCategoriesCount(long groupId)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _mbCategoryLocalService.getCategoriesCount(groupId);
365 }
366
367 public int getCategoriesCount(long groupId, long parentCategoryId)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _mbCategoryLocalService.getCategoriesCount(groupId,
370 parentCategoryId);
371 }
372
373 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _mbCategoryLocalService.getCategoriesCount(groupId,
376 parentCategoryIds);
377 }
378
379 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
380 long categoryId)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 return _mbCategoryLocalService.getCategory(categoryId);
384 }
385
386 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
387 long companyId, int start, int end)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
390 end);
391 }
392
393 public int getCompanyCategoriesCount(long companyId)
394 throws com.liferay.portal.kernel.exception.SystemException {
395 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
396 }
397
398 public java.util.List<java.lang.Long> getSubcategoryIds(
399 java.util.List<java.lang.Long> categoryIds, long groupId,
400 long categoryId)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
403 categoryId);
404 }
405
406 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
407 long groupId, long userId, int start, int end)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
410 start, end);
411 }
412
413 public int getSubscribedCategoriesCount(long groupId, long userId)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
416 userId);
417 }
418
419 public void subscribeCategory(long userId, long groupId, long categoryId)
420 throws com.liferay.portal.kernel.exception.PortalException,
421 com.liferay.portal.kernel.exception.SystemException {
422 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
423 }
424
425 public void unsubscribeCategory(long userId, long groupId, long categoryId)
426 throws com.liferay.portal.kernel.exception.PortalException,
427 com.liferay.portal.kernel.exception.SystemException {
428 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
429 }
430
431 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
432 long categoryId, long parentCategoryId, java.lang.String name,
433 java.lang.String description, java.lang.String displayStyle,
434 java.lang.String emailAddress, java.lang.String inProtocol,
435 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
436 java.lang.String inUserName, java.lang.String inPassword,
437 int inReadInterval, java.lang.String outEmailAddress,
438 boolean outCustom, java.lang.String outServerName, int outServerPort,
439 boolean outUseSSL, java.lang.String outUserName,
440 java.lang.String outPassword, boolean allowAnonymous,
441 boolean mailingListActive, boolean mergeWithParentCategory,
442 com.liferay.portal.service.ServiceContext serviceContext)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _mbCategoryLocalService.updateCategory(categoryId,
446 parentCategoryId, name, description, displayStyle, emailAddress,
447 inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
448 inPassword, inReadInterval, outEmailAddress, outCustom,
449 outServerName, outServerPort, outUseSSL, outUserName, outPassword,
450 allowAnonymous, mailingListActive, mergeWithParentCategory,
451 serviceContext);
452 }
453
454
457 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
458 return _mbCategoryLocalService;
459 }
460
461
464 public void setWrappedMBCategoryLocalService(
465 MBCategoryLocalService mbCategoryLocalService) {
466 _mbCategoryLocalService = mbCategoryLocalService;
467 }
468
469 public MBCategoryLocalService getWrappedService() {
470 return _mbCategoryLocalService;
471 }
472
473 public void setWrappedService(MBCategoryLocalService mbCategoryLocalService) {
474 _mbCategoryLocalService = mbCategoryLocalService;
475 }
476
477 private MBCategoryLocalService _mbCategoryLocalService;
478 }