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
066 public void deleteMBCategory(long categoryId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _mbCategoryLocalService.deleteMBCategory(categoryId);
070 }
071
072
078 public void deleteMBCategory(
079 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _mbCategoryLocalService.deleteMBCategory(mbCategory);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategory(
156 long categoryId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _mbCategoryLocalService.fetchMBCategory(categoryId);
159 }
160
161
169 public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
170 long categoryId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _mbCategoryLocalService.getMBCategory(categoryId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
192 public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
197 groupId);
198 }
199
200
212 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
213 int start, int end)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _mbCategoryLocalService.getMBCategories(start, end);
216 }
217
218
224 public int getMBCategoriesCount()
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _mbCategoryLocalService.getMBCategoriesCount();
227 }
228
229
236 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
237 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _mbCategoryLocalService.updateMBCategory(mbCategory);
240 }
241
242
250 public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
251 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
252 boolean merge)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _mbCategoryLocalService.updateMBCategory(mbCategory, merge);
255 }
256
257
262 public java.lang.String getBeanIdentifier() {
263 return _mbCategoryLocalService.getBeanIdentifier();
264 }
265
266
271 public void setBeanIdentifier(java.lang.String beanIdentifier) {
272 _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
273 }
274
275 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
276 long userId, long parentCategoryId, java.lang.String name,
277 java.lang.String description, java.lang.String displayStyle,
278 java.lang.String emailAddress, java.lang.String inProtocol,
279 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
280 java.lang.String inUserName, java.lang.String inPassword,
281 int inReadInterval, java.lang.String outEmailAddress,
282 boolean outCustom, java.lang.String outServerName, int outServerPort,
283 boolean outUseSSL, java.lang.String outUserName,
284 java.lang.String outPassword, boolean allowAnonymous,
285 boolean mailingListActive,
286 com.liferay.portal.service.ServiceContext serviceContext)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
290 name, description, displayStyle, emailAddress, inProtocol,
291 inServerName, inServerPort, inUseSSL, inUserName, inPassword,
292 inReadInterval, outEmailAddress, outCustom, outServerName,
293 outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
294 mailingListActive, serviceContext);
295 }
296
297 public void addCategoryResources(long categoryId,
298 boolean addGroupPermissions, boolean addGuestPermissions)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _mbCategoryLocalService.addCategoryResources(categoryId,
302 addGroupPermissions, addGuestPermissions);
303 }
304
305 public void addCategoryResources(long categoryId,
306 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 _mbCategoryLocalService.addCategoryResources(categoryId,
310 groupPermissions, guestPermissions);
311 }
312
313 public void addCategoryResources(
314 com.liferay.portlet.messageboards.model.MBCategory category,
315 boolean addGroupPermissions, boolean addGuestPermissions)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _mbCategoryLocalService.addCategoryResources(category,
319 addGroupPermissions, addGuestPermissions);
320 }
321
322 public void addCategoryResources(
323 com.liferay.portlet.messageboards.model.MBCategory category,
324 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _mbCategoryLocalService.addCategoryResources(category,
328 groupPermissions, guestPermissions);
329 }
330
331 public void deleteCategories(long groupId)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 _mbCategoryLocalService.deleteCategories(groupId);
335 }
336
337 public void deleteCategory(long categoryId)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 _mbCategoryLocalService.deleteCategory(categoryId);
341 }
342
343 public void deleteCategory(
344 com.liferay.portlet.messageboards.model.MBCategory category)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 _mbCategoryLocalService.deleteCategory(category);
348 }
349
350 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
351 long groupId)
352 throws com.liferay.portal.kernel.exception.SystemException {
353 return _mbCategoryLocalService.getCategories(groupId);
354 }
355
356 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
357 long groupId, long parentCategoryId, int start, int end)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
360 start, end);
361 }
362
363 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
364 long groupId, long[] parentCategoryIds, int start, int end)
365 throws com.liferay.portal.kernel.exception.SystemException {
366 return _mbCategoryLocalService.getCategories(groupId,
367 parentCategoryIds, start, end);
368 }
369
370 public int getCategoriesCount(long groupId)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _mbCategoryLocalService.getCategoriesCount(groupId);
373 }
374
375 public int getCategoriesCount(long groupId, long parentCategoryId)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return _mbCategoryLocalService.getCategoriesCount(groupId,
378 parentCategoryId);
379 }
380
381 public int getCategoriesCount(long groupId, long[] parentCategoryIds)
382 throws com.liferay.portal.kernel.exception.SystemException {
383 return _mbCategoryLocalService.getCategoriesCount(groupId,
384 parentCategoryIds);
385 }
386
387 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
388 long categoryId)
389 throws com.liferay.portal.kernel.exception.PortalException,
390 com.liferay.portal.kernel.exception.SystemException {
391 return _mbCategoryLocalService.getCategory(categoryId);
392 }
393
394 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
395 long companyId, int start, int end)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _mbCategoryLocalService.getCompanyCategories(companyId, start,
398 end);
399 }
400
401 public int getCompanyCategoriesCount(long companyId)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
404 }
405
406 public java.util.List<java.lang.Long> getSubcategoryIds(
407 java.util.List<java.lang.Long> categoryIds, long groupId,
408 long categoryId)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
411 categoryId);
412 }
413
414 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
415 long groupId, long userId, int start, int end)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
418 start, end);
419 }
420
421 public int getSubscribedCategoriesCount(long groupId, long userId)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
424 userId);
425 }
426
427 public void subscribeCategory(long userId, long groupId, long categoryId)
428 throws com.liferay.portal.kernel.exception.PortalException,
429 com.liferay.portal.kernel.exception.SystemException {
430 _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
431 }
432
433 public void unsubscribeCategory(long userId, long groupId, long categoryId)
434 throws com.liferay.portal.kernel.exception.PortalException,
435 com.liferay.portal.kernel.exception.SystemException {
436 _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
437 }
438
439 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
440 long categoryId, long parentCategoryId, java.lang.String name,
441 java.lang.String description, java.lang.String displayStyle,
442 java.lang.String emailAddress, java.lang.String inProtocol,
443 java.lang.String inServerName, int inServerPort, boolean inUseSSL,
444 java.lang.String inUserName, java.lang.String inPassword,
445 int inReadInterval, java.lang.String outEmailAddress,
446 boolean outCustom, java.lang.String outServerName, int outServerPort,
447 boolean outUseSSL, java.lang.String outUserName,
448 java.lang.String outPassword, boolean allowAnonymous,
449 boolean mailingListActive, boolean mergeWithParentCategory,
450 com.liferay.portal.service.ServiceContext serviceContext)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException {
453 return _mbCategoryLocalService.updateCategory(categoryId,
454 parentCategoryId, name, description, displayStyle, emailAddress,
455 inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
456 inPassword, inReadInterval, outEmailAddress, outCustom,
457 outServerName, outServerPort, outUseSSL, outUserName, outPassword,
458 allowAnonymous, mailingListActive, mergeWithParentCategory,
459 serviceContext);
460 }
461
462
465 public MBCategoryLocalService getWrappedMBCategoryLocalService() {
466 return _mbCategoryLocalService;
467 }
468
469
472 public void setWrappedMBCategoryLocalService(
473 MBCategoryLocalService mbCategoryLocalService) {
474 _mbCategoryLocalService = mbCategoryLocalService;
475 }
476
477 public MBCategoryLocalService getWrappedService() {
478 return _mbCategoryLocalService;
479 }
480
481 public void setWrappedService(MBCategoryLocalService mbCategoryLocalService) {
482 _mbCategoryLocalService = mbCategoryLocalService;
483 }
484
485 private MBCategoryLocalService _mbCategoryLocalService;
486 }