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 MBCategoryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBCategoryService
026     * @generated
027     */
028    @ProviderType
029    public class MBCategoryServiceWrapper implements MBCategoryService,
030            ServiceWrapper<MBCategoryService> {
031            public MBCategoryServiceWrapper(MBCategoryService mbCategoryService) {
032                    _mbCategoryService = mbCategoryService;
033            }
034    
035            @Override
036            public com.liferay.portlet.messageboards.model.MBCategory addCategory(
037                    long parentCategoryId, java.lang.String name,
038                    java.lang.String description, java.lang.String displayStyle,
039                    java.lang.String emailAddress, java.lang.String inProtocol,
040                    java.lang.String inServerName, int inServerPort, boolean inUseSSL,
041                    java.lang.String inUserName, java.lang.String inPassword,
042                    int inReadInterval, java.lang.String outEmailAddress,
043                    boolean outCustom, java.lang.String outServerName, int outServerPort,
044                    boolean outUseSSL, java.lang.String outUserName,
045                    java.lang.String outPassword, boolean mailingListActive,
046                    boolean allowAnonymousEmail,
047                    com.liferay.portal.service.ServiceContext serviceContext)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    return _mbCategoryService.addCategory(parentCategoryId, name,
050                            description, displayStyle, emailAddress, inProtocol, inServerName,
051                            inServerPort, inUseSSL, inUserName, inPassword, inReadInterval,
052                            outEmailAddress, outCustom, outServerName, outServerPort,
053                            outUseSSL, outUserName, outPassword, mailingListActive,
054                            allowAnonymousEmail, serviceContext);
055            }
056    
057            @Override
058            public com.liferay.portlet.messageboards.model.MBCategory addCategory(
059                    long userId, long parentCategoryId, java.lang.String name,
060                    java.lang.String description,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _mbCategoryService.addCategory(userId, parentCategoryId, name,
064                            description, serviceContext);
065            }
066    
067            @Override
068            public void deleteCategory(long categoryId, boolean includeTrashedEntries)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    _mbCategoryService.deleteCategory(categoryId, includeTrashedEntries);
071            }
072    
073            @Override
074            public void deleteCategory(long groupId, long categoryId)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    _mbCategoryService.deleteCategory(groupId, categoryId);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
081                    long groupId) {
082                    return _mbCategoryService.getCategories(groupId);
083            }
084    
085            @Override
086            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
087                    long groupId, long excludedCategoryId, long parentCategoryId,
088                    int status, int start, int end) {
089                    return _mbCategoryService.getCategories(groupId, excludedCategoryId,
090                            parentCategoryId, status, start, end);
091            }
092    
093            @Override
094            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
095                    long groupId, long[] excludedCategoryIds, long[] parentCategoryIds,
096                    int status, int start, int end) {
097                    return _mbCategoryService.getCategories(groupId, excludedCategoryIds,
098                            parentCategoryIds, status, start, end);
099            }
100    
101            @Override
102            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
103                    long groupId, long parentCategoryId, int start, int end) {
104                    return _mbCategoryService.getCategories(groupId, parentCategoryId,
105                            start, end);
106            }
107    
108            @Override
109            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
110                    long groupId, long parentCategoryId, int status, int start, int end) {
111                    return _mbCategoryService.getCategories(groupId, parentCategoryId,
112                            status, start, end);
113            }
114    
115            @Override
116            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
117                    long groupId, long[] parentCategoryIds, int start, int end) {
118                    return _mbCategoryService.getCategories(groupId, parentCategoryIds,
119                            start, end);
120            }
121    
122            @Override
123            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
124                    long groupId, long[] parentCategoryIds, int status, int start, int end) {
125                    return _mbCategoryService.getCategories(groupId, parentCategoryIds,
126                            status, start, end);
127            }
128    
129            @Override
130            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
131                    long groupId, int status) {
132                    return _mbCategoryService.getCategories(groupId, status);
133            }
134    
135            @Override
136            public java.util.List<java.lang.Object> getCategoriesAndThreads(
137                    long groupId, long categoryId) {
138                    return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId);
139            }
140    
141            @Override
142            public java.util.List<java.lang.Object> getCategoriesAndThreads(
143                    long groupId, long categoryId, int status) {
144                    return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId,
145                            status);
146            }
147    
148            @Override
149            public java.util.List<java.lang.Object> getCategoriesAndThreads(
150                    long groupId, long categoryId, int status, int start, int end) {
151                    return _mbCategoryService.getCategoriesAndThreads(groupId, categoryId,
152                            status, start, end);
153            }
154    
155            @Override
156            public int getCategoriesAndThreadsCount(long groupId, long categoryId) {
157                    return _mbCategoryService.getCategoriesAndThreadsCount(groupId,
158                            categoryId);
159            }
160    
161            @Override
162            public int getCategoriesAndThreadsCount(long groupId, long categoryId,
163                    int status) {
164                    return _mbCategoryService.getCategoriesAndThreadsCount(groupId,
165                            categoryId, status);
166            }
167    
168            @Override
169            public int getCategoriesCount(long groupId, long excludedCategoryId,
170                    long parentCategoryId, int status) {
171                    return _mbCategoryService.getCategoriesCount(groupId,
172                            excludedCategoryId, parentCategoryId, status);
173            }
174    
175            @Override
176            public int getCategoriesCount(long groupId, long[] excludedCategoryIds,
177                    long[] parentCategoryIds, int status) {
178                    return _mbCategoryService.getCategoriesCount(groupId,
179                            excludedCategoryIds, parentCategoryIds, status);
180            }
181    
182            @Override
183            public int getCategoriesCount(long groupId, long parentCategoryId) {
184                    return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId);
185            }
186    
187            @Override
188            public int getCategoriesCount(long groupId, long parentCategoryId,
189                    int status) {
190                    return _mbCategoryService.getCategoriesCount(groupId, parentCategoryId,
191                            status);
192            }
193    
194            @Override
195            public int getCategoriesCount(long groupId, long[] parentCategoryIds) {
196                    return _mbCategoryService.getCategoriesCount(groupId, parentCategoryIds);
197            }
198    
199            @Override
200            public int getCategoriesCount(long groupId, long[] parentCategoryIds,
201                    int status) {
202                    return _mbCategoryService.getCategoriesCount(groupId,
203                            parentCategoryIds, status);
204            }
205    
206            @Override
207            public com.liferay.portlet.messageboards.model.MBCategory getCategory(
208                    long categoryId)
209                    throws com.liferay.portal.kernel.exception.PortalException {
210                    return _mbCategoryService.getCategory(categoryId);
211            }
212    
213            @Override
214            public long[] getCategoryIds(long groupId, long categoryId) {
215                    return _mbCategoryService.getCategoryIds(groupId, categoryId);
216            }
217    
218            /**
219            * Returns the OSGi service identifier.
220            *
221            * @return the OSGi service identifier
222            */
223            @Override
224            public java.lang.String getOSGiServiceIdentifier() {
225                    return _mbCategoryService.getOSGiServiceIdentifier();
226            }
227    
228            @Override
229            public java.util.List<java.lang.Long> getSubcategoryIds(
230                    java.util.List<java.lang.Long> categoryIds, long groupId,
231                    long categoryId) {
232                    return _mbCategoryService.getSubcategoryIds(categoryIds, groupId,
233                            categoryId);
234            }
235    
236            @Override
237            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getSubscribedCategories(
238                    long groupId, long userId, int start, int end) {
239                    return _mbCategoryService.getSubscribedCategories(groupId, userId,
240                            start, end);
241            }
242    
243            @Override
244            public int getSubscribedCategoriesCount(long groupId, long userId) {
245                    return _mbCategoryService.getSubscribedCategoriesCount(groupId, userId);
246            }
247    
248            @Override
249            public com.liferay.portlet.messageboards.model.MBCategory moveCategory(
250                    long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
251                    throws com.liferay.portal.kernel.exception.PortalException {
252                    return _mbCategoryService.moveCategory(categoryId, parentCategoryId,
253                            mergeWithParentCategory);
254            }
255    
256            @Override
257            public com.liferay.portlet.messageboards.model.MBCategory moveCategoryFromTrash(
258                    long categoryId, long newCategoryId)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _mbCategoryService.moveCategoryFromTrash(categoryId,
261                            newCategoryId);
262            }
263    
264            @Override
265            public com.liferay.portlet.messageboards.model.MBCategory moveCategoryToTrash(
266                    long categoryId)
267                    throws com.liferay.portal.kernel.exception.PortalException {
268                    return _mbCategoryService.moveCategoryToTrash(categoryId);
269            }
270    
271            @Override
272            public void restoreCategoryFromTrash(long categoryId)
273                    throws com.liferay.portal.kernel.exception.PortalException {
274                    _mbCategoryService.restoreCategoryFromTrash(categoryId);
275            }
276    
277            @Override
278            public void subscribeCategory(long groupId, long categoryId)
279                    throws com.liferay.portal.kernel.exception.PortalException {
280                    _mbCategoryService.subscribeCategory(groupId, categoryId);
281            }
282    
283            @Override
284            public void unsubscribeCategory(long groupId, long categoryId)
285                    throws com.liferay.portal.kernel.exception.PortalException {
286                    _mbCategoryService.unsubscribeCategory(groupId, categoryId);
287            }
288    
289            @Override
290            public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
291                    long categoryId, long parentCategoryId, java.lang.String name,
292                    java.lang.String description, java.lang.String displayStyle,
293                    java.lang.String emailAddress, java.lang.String inProtocol,
294                    java.lang.String inServerName, int inServerPort, boolean inUseSSL,
295                    java.lang.String inUserName, java.lang.String inPassword,
296                    int inReadInterval, java.lang.String outEmailAddress,
297                    boolean outCustom, java.lang.String outServerName, int outServerPort,
298                    boolean outUseSSL, java.lang.String outUserName,
299                    java.lang.String outPassword, boolean mailingListActive,
300                    boolean allowAnonymousEmail, boolean mergeWithParentCategory,
301                    com.liferay.portal.service.ServiceContext serviceContext)
302                    throws com.liferay.portal.kernel.exception.PortalException {
303                    return _mbCategoryService.updateCategory(categoryId, parentCategoryId,
304                            name, description, displayStyle, emailAddress, inProtocol,
305                            inServerName, inServerPort, inUseSSL, inUserName, inPassword,
306                            inReadInterval, outEmailAddress, outCustom, outServerName,
307                            outServerPort, outUseSSL, outUserName, outPassword,
308                            mailingListActive, allowAnonymousEmail, mergeWithParentCategory,
309                            serviceContext);
310            }
311    
312            @Override
313            public MBCategoryService getWrappedService() {
314                    return _mbCategoryService;
315            }
316    
317            @Override
318            public void setWrappedService(MBCategoryService mbCategoryService) {
319                    _mbCategoryService = mbCategoryService;
320            }
321    
322            private MBCategoryService _mbCategoryService;
323    }