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