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