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