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