001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link MBCategoryLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see MBCategoryLocalService
024     * @generated
025     */
026    public class MBCategoryLocalServiceWrapper implements MBCategoryLocalService,
027            ServiceWrapper<MBCategoryLocalService> {
028            public MBCategoryLocalServiceWrapper(
029                    MBCategoryLocalService mbCategoryLocalService) {
030                    _mbCategoryLocalService = mbCategoryLocalService;
031            }
032    
033            /**
034            * Adds the message boards category to the database. Also notifies the appropriate model listeners.
035            *
036            * @param mbCategory the message boards category
037            * @return the message boards category that was added
038            * @throws SystemException if a system exception occurred
039            */
040            @Override
041            public com.liferay.portlet.messageboards.model.MBCategory addMBCategory(
042                    com.liferay.portlet.messageboards.model.MBCategory mbCategory)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _mbCategoryLocalService.addMBCategory(mbCategory);
045            }
046    
047            /**
048            * Creates a new message boards category with the primary key. Does not add the message boards category to the database.
049            *
050            * @param categoryId the primary key for the new message boards category
051            * @return the new message boards category
052            */
053            @Override
054            public com.liferay.portlet.messageboards.model.MBCategory createMBCategory(
055                    long categoryId) {
056                    return _mbCategoryLocalService.createMBCategory(categoryId);
057            }
058    
059            /**
060            * Deletes the message boards category with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param categoryId the primary key of the message boards category
063            * @return the message boards category that was removed
064            * @throws PortalException if a message boards category with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            @Override
068            public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
069                    long categoryId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _mbCategoryLocalService.deleteMBCategory(categoryId);
073            }
074    
075            /**
076            * Deletes the message boards category from the database. Also notifies the appropriate model listeners.
077            *
078            * @param mbCategory the message boards category
079            * @return the message boards category that was removed
080            * @throws SystemException if a system exception occurred
081            */
082            @Override
083            public com.liferay.portlet.messageboards.model.MBCategory deleteMBCategory(
084                    com.liferay.portlet.messageboards.model.MBCategory mbCategory)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _mbCategoryLocalService.deleteMBCategory(mbCategory);
087            }
088    
089            @Override
090            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091                    return _mbCategoryLocalService.dynamicQuery();
092            }
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @Override
102            @SuppressWarnings("rawtypes")
103            public java.util.List dynamicQuery(
104                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _mbCategoryLocalService.dynamicQuery(dynamicQuery);
107            }
108    
109            /**
110            * Performs a dynamic query on the database and returns a range of the matching rows.
111            *
112            * <p>
113            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
114            * </p>
115            *
116            * @param dynamicQuery the dynamic query
117            * @param start the lower bound of the range of model instances
118            * @param end the upper bound of the range of model instances (not inclusive)
119            * @return the range of matching rows
120            * @throws SystemException if a system exception occurred
121            */
122            @Override
123            @SuppressWarnings("rawtypes")
124            public java.util.List dynamicQuery(
125                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126                    int end) throws com.liferay.portal.kernel.exception.SystemException {
127                    return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
128            }
129    
130            /**
131            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
132            *
133            * <p>
134            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
135            * </p>
136            *
137            * @param dynamicQuery the dynamic query
138            * @param start the lower bound of the range of model instances
139            * @param end the upper bound of the range of model instances (not inclusive)
140            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
141            * @return the ordered range of matching rows
142            * @throws SystemException if a system exception occurred
143            */
144            @Override
145            @SuppressWarnings("rawtypes")
146            public java.util.List dynamicQuery(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148                    int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return _mbCategoryLocalService.dynamicQuery(dynamicQuery, start, end,
152                            orderByComparator);
153            }
154    
155            /**
156            * Returns the number of rows that match the dynamic query.
157            *
158            * @param dynamicQuery the dynamic query
159            * @return the number of rows that match the dynamic query
160            * @throws SystemException if a system exception occurred
161            */
162            @Override
163            public long dynamicQueryCount(
164                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery);
167            }
168    
169            /**
170            * Returns the number of rows that match the dynamic query.
171            *
172            * @param dynamicQuery the dynamic query
173            * @param projection the projection to apply to the query
174            * @return the number of rows that match the dynamic query
175            * @throws SystemException if a system exception occurred
176            */
177            @Override
178            public long dynamicQueryCount(
179                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180                    com.liferay.portal.kernel.dao.orm.Projection projection)
181                    throws com.liferay.portal.kernel.exception.SystemException {
182                    return _mbCategoryLocalService.dynamicQueryCount(dynamicQuery,
183                            projection);
184            }
185    
186            @Override
187            public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategory(
188                    long categoryId)
189                    throws com.liferay.portal.kernel.exception.SystemException {
190                    return _mbCategoryLocalService.fetchMBCategory(categoryId);
191            }
192    
193            /**
194            * Returns the message boards category with the matching UUID and company.
195            *
196            * @param uuid the message boards category's UUID
197            * @param companyId the primary key of the company
198            * @return the matching message boards category, or <code>null</code> if a matching message boards category could not be found
199            * @throws SystemException if a system exception occurred
200            */
201            @Override
202            public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategoryByUuidAndCompanyId(
203                    java.lang.String uuid, long companyId)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return _mbCategoryLocalService.fetchMBCategoryByUuidAndCompanyId(uuid,
206                            companyId);
207            }
208    
209            /**
210            * Returns the message boards category matching the UUID and group.
211            *
212            * @param uuid the message boards category's UUID
213            * @param groupId the primary key of the group
214            * @return the matching message boards category, or <code>null</code> if a matching message boards category could not be found
215            * @throws SystemException if a system exception occurred
216            */
217            @Override
218            public com.liferay.portlet.messageboards.model.MBCategory fetchMBCategoryByUuidAndGroupId(
219                    java.lang.String uuid, long groupId)
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return _mbCategoryLocalService.fetchMBCategoryByUuidAndGroupId(uuid,
222                            groupId);
223            }
224    
225            /**
226            * Returns the message boards category with the primary key.
227            *
228            * @param categoryId the primary key of the message boards category
229            * @return the message boards category
230            * @throws PortalException if a message boards category with the primary key could not be found
231            * @throws SystemException if a system exception occurred
232            */
233            @Override
234            public com.liferay.portlet.messageboards.model.MBCategory getMBCategory(
235                    long categoryId)
236                    throws com.liferay.portal.kernel.exception.PortalException,
237                            com.liferay.portal.kernel.exception.SystemException {
238                    return _mbCategoryLocalService.getMBCategory(categoryId);
239            }
240    
241            @Override
242            public com.liferay.portal.model.PersistedModel getPersistedModel(
243                    java.io.Serializable primaryKeyObj)
244                    throws com.liferay.portal.kernel.exception.PortalException,
245                            com.liferay.portal.kernel.exception.SystemException {
246                    return _mbCategoryLocalService.getPersistedModel(primaryKeyObj);
247            }
248    
249            /**
250            * Returns the message boards category with the matching UUID and company.
251            *
252            * @param uuid the message boards category's UUID
253            * @param companyId the primary key of the company
254            * @return the matching message boards category
255            * @throws PortalException if a matching message boards category could not be found
256            * @throws SystemException if a system exception occurred
257            */
258            @Override
259            public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndCompanyId(
260                    java.lang.String uuid, long companyId)
261                    throws com.liferay.portal.kernel.exception.PortalException,
262                            com.liferay.portal.kernel.exception.SystemException {
263                    return _mbCategoryLocalService.getMBCategoryByUuidAndCompanyId(uuid,
264                            companyId);
265            }
266    
267            /**
268            * Returns the message boards category matching the UUID and group.
269            *
270            * @param uuid the message boards category's UUID
271            * @param groupId the primary key of the group
272            * @return the matching message boards category
273            * @throws PortalException if a matching message boards category could not be found
274            * @throws SystemException if a system exception occurred
275            */
276            @Override
277            public com.liferay.portlet.messageboards.model.MBCategory getMBCategoryByUuidAndGroupId(
278                    java.lang.String uuid, long groupId)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    return _mbCategoryLocalService.getMBCategoryByUuidAndGroupId(uuid,
282                            groupId);
283            }
284    
285            /**
286            * Returns a range of all the message boards categories.
287            *
288            * <p>
289            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBCategoryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
290            * </p>
291            *
292            * @param start the lower bound of the range of message boards categories
293            * @param end the upper bound of the range of message boards categories (not inclusive)
294            * @return the range of message boards categories
295            * @throws SystemException if a system exception occurred
296            */
297            @Override
298            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getMBCategories(
299                    int start, int end)
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    return _mbCategoryLocalService.getMBCategories(start, end);
302            }
303    
304            /**
305            * Returns the number of message boards categories.
306            *
307            * @return the number of message boards categories
308            * @throws SystemException if a system exception occurred
309            */
310            @Override
311            public int getMBCategoriesCount()
312                    throws com.liferay.portal.kernel.exception.SystemException {
313                    return _mbCategoryLocalService.getMBCategoriesCount();
314            }
315    
316            /**
317            * Updates the message boards category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
318            *
319            * @param mbCategory the message boards category
320            * @return the message boards category that was updated
321            * @throws SystemException if a system exception occurred
322            */
323            @Override
324            public com.liferay.portlet.messageboards.model.MBCategory updateMBCategory(
325                    com.liferay.portlet.messageboards.model.MBCategory mbCategory)
326                    throws com.liferay.portal.kernel.exception.SystemException {
327                    return _mbCategoryLocalService.updateMBCategory(mbCategory);
328            }
329    
330            /**
331            * Returns the Spring bean ID for this bean.
332            *
333            * @return the Spring bean ID for this bean
334            */
335            @Override
336            public java.lang.String getBeanIdentifier() {
337                    return _mbCategoryLocalService.getBeanIdentifier();
338            }
339    
340            /**
341            * Sets the Spring bean ID for this bean.
342            *
343            * @param beanIdentifier the Spring bean ID for this bean
344            */
345            @Override
346            public void setBeanIdentifier(java.lang.String beanIdentifier) {
347                    _mbCategoryLocalService.setBeanIdentifier(beanIdentifier);
348            }
349    
350            @Override
351            public com.liferay.portlet.messageboards.model.MBCategory addCategory(
352                    long userId, long parentCategoryId, java.lang.String name,
353                    java.lang.String description,
354                    com.liferay.portal.service.ServiceContext serviceContext)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
358                            name, description, serviceContext);
359            }
360    
361            @Override
362            public com.liferay.portlet.messageboards.model.MBCategory addCategory(
363                    long userId, long parentCategoryId, java.lang.String name,
364                    java.lang.String description, java.lang.String displayStyle,
365                    java.lang.String emailAddress, java.lang.String inProtocol,
366                    java.lang.String inServerName, int inServerPort, boolean inUseSSL,
367                    java.lang.String inUserName, java.lang.String inPassword,
368                    int inReadInterval, java.lang.String outEmailAddress,
369                    boolean outCustom, java.lang.String outServerName, int outServerPort,
370                    boolean outUseSSL, java.lang.String outUserName,
371                    java.lang.String outPassword, boolean allowAnonymous,
372                    boolean mailingListActive,
373                    com.liferay.portal.service.ServiceContext serviceContext)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException {
376                    return _mbCategoryLocalService.addCategory(userId, parentCategoryId,
377                            name, description, displayStyle, emailAddress, inProtocol,
378                            inServerName, inServerPort, inUseSSL, inUserName, inPassword,
379                            inReadInterval, outEmailAddress, outCustom, outServerName,
380                            outServerPort, outUseSSL, outUserName, outPassword, allowAnonymous,
381                            mailingListActive, serviceContext);
382            }
383    
384            @Override
385            public void addCategoryResources(long categoryId,
386                    boolean addGroupPermissions, boolean addGuestPermissions)
387                    throws com.liferay.portal.kernel.exception.PortalException,
388                            com.liferay.portal.kernel.exception.SystemException {
389                    _mbCategoryLocalService.addCategoryResources(categoryId,
390                            addGroupPermissions, addGuestPermissions);
391            }
392    
393            @Override
394            public void addCategoryResources(long categoryId,
395                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    _mbCategoryLocalService.addCategoryResources(categoryId,
399                            groupPermissions, guestPermissions);
400            }
401    
402            @Override
403            public void addCategoryResources(
404                    com.liferay.portlet.messageboards.model.MBCategory category,
405                    boolean addGroupPermissions, boolean addGuestPermissions)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    _mbCategoryLocalService.addCategoryResources(category,
409                            addGroupPermissions, addGuestPermissions);
410            }
411    
412            @Override
413            public void addCategoryResources(
414                    com.liferay.portlet.messageboards.model.MBCategory category,
415                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
416                    throws com.liferay.portal.kernel.exception.PortalException,
417                            com.liferay.portal.kernel.exception.SystemException {
418                    _mbCategoryLocalService.addCategoryResources(category,
419                            groupPermissions, guestPermissions);
420            }
421    
422            @Override
423            public void deleteCategories(long groupId)
424                    throws com.liferay.portal.kernel.exception.PortalException,
425                            com.liferay.portal.kernel.exception.SystemException {
426                    _mbCategoryLocalService.deleteCategories(groupId);
427            }
428    
429            @Override
430            public void deleteCategory(long categoryId)
431                    throws com.liferay.portal.kernel.exception.PortalException,
432                            com.liferay.portal.kernel.exception.SystemException {
433                    _mbCategoryLocalService.deleteCategory(categoryId);
434            }
435    
436            @Override
437            public void deleteCategory(
438                    com.liferay.portlet.messageboards.model.MBCategory category)
439                    throws com.liferay.portal.kernel.exception.PortalException,
440                            com.liferay.portal.kernel.exception.SystemException {
441                    _mbCategoryLocalService.deleteCategory(category);
442            }
443    
444            @Override
445            public void deleteCategory(
446                    com.liferay.portlet.messageboards.model.MBCategory category,
447                    boolean includeTrashedEntries)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    _mbCategoryLocalService.deleteCategory(category, includeTrashedEntries);
451            }
452    
453            @Override
454            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
455                    long groupId)
456                    throws com.liferay.portal.kernel.exception.SystemException {
457                    return _mbCategoryLocalService.getCategories(groupId);
458            }
459    
460            @Override
461            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
462                    long groupId, int status)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _mbCategoryLocalService.getCategories(groupId, status);
465            }
466    
467            @Override
468            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
469                    long groupId, long parentCategoryId, int start, int end)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
472                            start, end);
473            }
474    
475            @Override
476            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
477                    long groupId, long parentCategoryId, int status, int start, int end)
478                    throws com.liferay.portal.kernel.exception.SystemException {
479                    return _mbCategoryLocalService.getCategories(groupId, parentCategoryId,
480                            status, start, end);
481            }
482    
483            @Override
484            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
485                    long groupId, long[] parentCategoryIds, int start, int end)
486                    throws com.liferay.portal.kernel.exception.SystemException {
487                    return _mbCategoryLocalService.getCategories(groupId,
488                            parentCategoryIds, start, end);
489            }
490    
491            @Override
492            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
493                    long groupId, long[] parentCategoryIds, int status, int start, int end)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return _mbCategoryLocalService.getCategories(groupId,
496                            parentCategoryIds, status, start, end);
497            }
498    
499            @Override
500            public java.util.List<java.lang.Object> getCategoriesAndThreads(
501                    long groupId, long categoryId)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return _mbCategoryLocalService.getCategoriesAndThreads(groupId,
504                            categoryId);
505            }
506    
507            @Override
508            public int getCategoriesCount(long groupId)
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return _mbCategoryLocalService.getCategoriesCount(groupId);
511            }
512    
513            @Override
514            public int getCategoriesCount(long groupId, int status)
515                    throws com.liferay.portal.kernel.exception.SystemException {
516                    return _mbCategoryLocalService.getCategoriesCount(groupId, status);
517            }
518    
519            @Override
520            public int getCategoriesCount(long groupId, long parentCategoryId)
521                    throws com.liferay.portal.kernel.exception.SystemException {
522                    return _mbCategoryLocalService.getCategoriesCount(groupId,
523                            parentCategoryId);
524            }
525    
526            @Override
527            public int getCategoriesCount(long groupId, long parentCategoryId,
528                    int status) throws com.liferay.portal.kernel.exception.SystemException {
529                    return _mbCategoryLocalService.getCategoriesCount(groupId,
530                            parentCategoryId, status);
531            }
532    
533            @Override
534            public int getCategoriesCount(long groupId, long[] parentCategoryIds)
535                    throws com.liferay.portal.kernel.exception.SystemException {
536                    return _mbCategoryLocalService.getCategoriesCount(groupId,
537                            parentCategoryIds);
538            }
539    
540            @Override
541            public int getCategoriesCount(long groupId, long[] parentCategoryIds,
542                    int status) throws com.liferay.portal.kernel.exception.SystemException {
543                    return _mbCategoryLocalService.getCategoriesCount(groupId,
544                            parentCategoryIds, status);
545            }
546    
547            @Override
548            public com.liferay.portlet.messageboards.model.MBCategory getCategory(
549                    long categoryId)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException {
552                    return _mbCategoryLocalService.getCategory(categoryId);
553            }
554    
555            @Override
556            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCompanyCategories(
557                    long companyId, int start, int end)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return _mbCategoryLocalService.getCompanyCategories(companyId, start,
560                            end);
561            }
562    
563            @Override
564            public int getCompanyCategoriesCount(long companyId)
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return _mbCategoryLocalService.getCompanyCategoriesCount(companyId);
567            }
568    
569            @Override
570            public java.util.List<java.lang.Long> getSubcategoryIds(
571                    java.util.List<java.lang.Long> categoryIds, long groupId,
572                    long categoryId)
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    return _mbCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
575                            categoryId);
576            }
577    
578            @Override
579            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
580                    long groupId, long userId, int start, int end)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _mbCategoryLocalService.getSubscribedCategories(groupId, userId,
583                            start, end);
584            }
585    
586            @Override
587            public int getSubscribedCategoriesCount(long groupId, long userId)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return _mbCategoryLocalService.getSubscribedCategoriesCount(groupId,
590                            userId);
591            }
592    
593            @Override
594            public void moveCategoriesToTrash(long groupId, long userId)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    _mbCategoryLocalService.moveCategoriesToTrash(groupId, userId);
598            }
599    
600            @Override
601            public com.liferay.portlet.messageboards.model.MBCategory moveCategory(
602                    long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
603                    throws com.liferay.portal.kernel.exception.PortalException,
604                            com.liferay.portal.kernel.exception.SystemException {
605                    return _mbCategoryLocalService.moveCategory(categoryId,
606                            parentCategoryId, mergeWithParentCategory);
607            }
608    
609            @Override
610            public com.liferay.portlet.messageboards.model.MBCategory moveCategoryFromTrash(
611                    long userId, long categoryId, long newCategoryId)
612                    throws com.liferay.portal.kernel.exception.PortalException,
613                            com.liferay.portal.kernel.exception.SystemException {
614                    return _mbCategoryLocalService.moveCategoryFromTrash(userId,
615                            categoryId, newCategoryId);
616            }
617    
618            @Override
619            public com.liferay.portlet.messageboards.model.MBCategory moveCategoryToTrash(
620                    long userId, long categoryId)
621                    throws com.liferay.portal.kernel.exception.PortalException,
622                            com.liferay.portal.kernel.exception.SystemException {
623                    return _mbCategoryLocalService.moveCategoryToTrash(userId, categoryId);
624            }
625    
626            @Override
627            public void restoreCategoryFromTrash(long userId, long categoryId)
628                    throws com.liferay.portal.kernel.exception.PortalException,
629                            com.liferay.portal.kernel.exception.SystemException {
630                    _mbCategoryLocalService.restoreCategoryFromTrash(userId, categoryId);
631            }
632    
633            @Override
634            public void subscribeCategory(long userId, long groupId, long categoryId)
635                    throws com.liferay.portal.kernel.exception.PortalException,
636                            com.liferay.portal.kernel.exception.SystemException {
637                    _mbCategoryLocalService.subscribeCategory(userId, groupId, categoryId);
638            }
639    
640            @Override
641            public void unsubscribeCategory(long userId, long groupId, long categoryId)
642                    throws com.liferay.portal.kernel.exception.PortalException,
643                            com.liferay.portal.kernel.exception.SystemException {
644                    _mbCategoryLocalService.unsubscribeCategory(userId, groupId, categoryId);
645            }
646    
647            @Override
648            public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
649                    long categoryId, long parentCategoryId, java.lang.String name,
650                    java.lang.String description, java.lang.String displayStyle,
651                    java.lang.String emailAddress, java.lang.String inProtocol,
652                    java.lang.String inServerName, int inServerPort, boolean inUseSSL,
653                    java.lang.String inUserName, java.lang.String inPassword,
654                    int inReadInterval, java.lang.String outEmailAddress,
655                    boolean outCustom, java.lang.String outServerName, int outServerPort,
656                    boolean outUseSSL, java.lang.String outUserName,
657                    java.lang.String outPassword, boolean allowAnonymous,
658                    boolean mailingListActive, boolean mergeWithParentCategory,
659                    com.liferay.portal.service.ServiceContext serviceContext)
660                    throws com.liferay.portal.kernel.exception.PortalException,
661                            com.liferay.portal.kernel.exception.SystemException {
662                    return _mbCategoryLocalService.updateCategory(categoryId,
663                            parentCategoryId, name, description, displayStyle, emailAddress,
664                            inProtocol, inServerName, inServerPort, inUseSSL, inUserName,
665                            inPassword, inReadInterval, outEmailAddress, outCustom,
666                            outServerName, outServerPort, outUseSSL, outUserName, outPassword,
667                            allowAnonymous, mailingListActive, mergeWithParentCategory,
668                            serviceContext);
669            }
670    
671            @Override
672            public com.liferay.portlet.messageboards.model.MBCategory updateStatus(
673                    long userId, long categoryId, int status)
674                    throws com.liferay.portal.kernel.exception.PortalException,
675                            com.liferay.portal.kernel.exception.SystemException {
676                    return _mbCategoryLocalService.updateStatus(userId, categoryId, status);
677            }
678    
679            /**
680             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
681             */
682            public MBCategoryLocalService getWrappedMBCategoryLocalService() {
683                    return _mbCategoryLocalService;
684            }
685    
686            /**
687             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
688             */
689            public void setWrappedMBCategoryLocalService(
690                    MBCategoryLocalService mbCategoryLocalService) {
691                    _mbCategoryLocalService = mbCategoryLocalService;
692            }
693    
694            @Override
695            public MBCategoryLocalService getWrappedService() {
696                    return _mbCategoryLocalService;
697            }
698    
699            @Override
700            public void setWrappedService(MBCategoryLocalService mbCategoryLocalService) {
701                    _mbCategoryLocalService = mbCategoryLocalService;
702            }
703    
704            private MBCategoryLocalService _mbCategoryLocalService;
705    }