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 MBThreadService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBThreadService
026     * @generated
027     */
028    @ProviderType
029    public class MBThreadServiceWrapper implements MBThreadService,
030            ServiceWrapper<MBThreadService> {
031            public MBThreadServiceWrapper(MBThreadService mbThreadService) {
032                    _mbThreadService = mbThreadService;
033            }
034    
035            @Override
036            public void deleteThread(long threadId)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    _mbThreadService.deleteThread(threadId);
039            }
040    
041            @Override
042            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
043                    long groupId, long userId, java.util.Date modifiedDate, int status,
044                    int start, int end)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
047                            status, start, end);
048            }
049    
050            @Override
051            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
052                    long groupId, long userId, int status, int start, int end)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    return _mbThreadService.getGroupThreads(groupId, userId, status, start,
055                            end);
056            }
057    
058            @Override
059            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
060                    long groupId, long userId, int status, boolean subscribed,
061                    boolean includeAnonymous, int start, int end)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _mbThreadService.getGroupThreads(groupId, userId, status,
064                            subscribed, includeAnonymous, start, end);
065            }
066    
067            @Override
068            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
069                    long groupId, long userId, int status, boolean subscribed, int start,
070                    int end) throws com.liferay.portal.kernel.exception.PortalException {
071                    return _mbThreadService.getGroupThreads(groupId, userId, status,
072                            subscribed, start, end);
073            }
074    
075            @Override
076            public int getGroupThreadsCount(long groupId, long userId,
077                    java.util.Date modifiedDate, int status) {
078                    return _mbThreadService.getGroupThreadsCount(groupId, userId,
079                            modifiedDate, status);
080            }
081    
082            @Override
083            public int getGroupThreadsCount(long groupId, long userId, int status) {
084                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
085            }
086    
087            @Override
088            public int getGroupThreadsCount(long groupId, long userId, int status,
089                    boolean subscribed) {
090                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
091                            subscribed);
092            }
093    
094            @Override
095            public int getGroupThreadsCount(long groupId, long userId, int status,
096                    boolean subscribed, boolean includeAnonymous) {
097                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
098                            subscribed, includeAnonymous);
099            }
100    
101            /**
102            * Returns the OSGi service identifier.
103            *
104            * @return the OSGi service identifier
105            */
106            @Override
107            public java.lang.String getOSGiServiceIdentifier() {
108                    return _mbThreadService.getOSGiServiceIdentifier();
109            }
110    
111            @Override
112            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
113                    long groupId, long categoryId, int status, int start, int end) {
114                    return _mbThreadService.getThreads(groupId, categoryId, status, start,
115                            end);
116            }
117    
118            @Override
119            public int getThreadsCount(long groupId, long categoryId, int status) {
120                    return _mbThreadService.getThreadsCount(groupId, categoryId, status);
121            }
122    
123            @Override
124            public com.liferay.portal.kernel.lock.Lock lockThread(long threadId)
125                    throws com.liferay.portal.kernel.exception.PortalException {
126                    return _mbThreadService.lockThread(threadId);
127            }
128    
129            @Override
130            public com.liferay.portlet.messageboards.model.MBThread moveThread(
131                    long categoryId, long threadId)
132                    throws com.liferay.portal.kernel.exception.PortalException {
133                    return _mbThreadService.moveThread(categoryId, threadId);
134            }
135    
136            @Override
137            public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
138                    long categoryId, long threadId)
139                    throws com.liferay.portal.kernel.exception.PortalException {
140                    return _mbThreadService.moveThreadFromTrash(categoryId, threadId);
141            }
142    
143            @Override
144            public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
145                    long threadId)
146                    throws com.liferay.portal.kernel.exception.PortalException {
147                    return _mbThreadService.moveThreadToTrash(threadId);
148            }
149    
150            @Override
151            public void restoreThreadFromTrash(long threadId)
152                    throws com.liferay.portal.kernel.exception.PortalException {
153                    _mbThreadService.restoreThreadFromTrash(threadId);
154            }
155    
156            @Override
157            public com.liferay.portal.kernel.search.Hits search(long groupId,
158                    long creatorUserId, long startDate, long endDate, int status,
159                    int start, int end)
160                    throws com.liferay.portal.kernel.exception.PortalException {
161                    return _mbThreadService.search(groupId, creatorUserId, startDate,
162                            endDate, status, start, end);
163            }
164    
165            @Override
166            public com.liferay.portal.kernel.search.Hits search(long groupId,
167                    long creatorUserId, int status, int start, int end)
168                    throws com.liferay.portal.kernel.exception.PortalException {
169                    return _mbThreadService.search(groupId, creatorUserId, status, start,
170                            end);
171            }
172    
173            @Override
174            public com.liferay.portlet.messageboards.model.MBThread splitThread(
175                    long messageId, java.lang.String subject,
176                    com.liferay.portal.service.ServiceContext serviceContext)
177                    throws com.liferay.portal.kernel.exception.PortalException {
178                    return _mbThreadService.splitThread(messageId, subject, serviceContext);
179            }
180    
181            @Override
182            public void unlockThread(long threadId)
183                    throws com.liferay.portal.kernel.exception.PortalException {
184                    _mbThreadService.unlockThread(threadId);
185            }
186    
187            @Override
188            public MBThreadService getWrappedService() {
189                    return _mbThreadService;
190            }
191    
192            @Override
193            public void setWrappedService(MBThreadService mbThreadService) {
194                    _mbThreadService = mbThreadService;
195            }
196    
197            private MBThreadService _mbThreadService;
198    }