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            /**
042            * Returns the Spring bean ID for this bean.
043            *
044            * @return the Spring bean ID for this bean
045            */
046            @Override
047            public java.lang.String getBeanIdentifier() {
048                    return _mbThreadService.getBeanIdentifier();
049            }
050    
051            @Override
052            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
053                    long groupId, long userId, java.util.Date modifiedDate, int status,
054                    int start, int end)
055                    throws com.liferay.portal.kernel.exception.PortalException {
056                    return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
057                            status, start, end);
058            }
059    
060            @Override
061            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
062                    long groupId, long userId, int status, int start, int end)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    return _mbThreadService.getGroupThreads(groupId, userId, status, start,
065                            end);
066            }
067    
068            @Override
069            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
070                    long groupId, long userId, int status, boolean subscribed,
071                    boolean includeAnonymous, int start, int end)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _mbThreadService.getGroupThreads(groupId, userId, status,
074                            subscribed, includeAnonymous, start, end);
075            }
076    
077            @Override
078            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
079                    long groupId, long userId, int status, boolean subscribed, int start,
080                    int end) throws com.liferay.portal.kernel.exception.PortalException {
081                    return _mbThreadService.getGroupThreads(groupId, userId, status,
082                            subscribed, start, end);
083            }
084    
085            @Override
086            public int getGroupThreadsCount(long groupId, long userId,
087                    java.util.Date modifiedDate, int status) {
088                    return _mbThreadService.getGroupThreadsCount(groupId, userId,
089                            modifiedDate, status);
090            }
091    
092            @Override
093            public int getGroupThreadsCount(long groupId, long userId, int status) {
094                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
095            }
096    
097            @Override
098            public int getGroupThreadsCount(long groupId, long userId, int status,
099                    boolean subscribed) {
100                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
101                            subscribed);
102            }
103    
104            @Override
105            public int getGroupThreadsCount(long groupId, long userId, int status,
106                    boolean subscribed, boolean includeAnonymous) {
107                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
108                            subscribed, includeAnonymous);
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.model.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            /**
174            * Sets the Spring bean ID for this bean.
175            *
176            * @param beanIdentifier the Spring bean ID for this bean
177            */
178            @Override
179            public void setBeanIdentifier(java.lang.String beanIdentifier) {
180                    _mbThreadService.setBeanIdentifier(beanIdentifier);
181            }
182    
183            @Override
184            public com.liferay.portlet.messageboards.model.MBThread splitThread(
185                    long messageId, java.lang.String subject,
186                    com.liferay.portal.service.ServiceContext serviceContext)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    return _mbThreadService.splitThread(messageId, subject, serviceContext);
189            }
190    
191            @Override
192            public void unlockThread(long threadId)
193                    throws com.liferay.portal.kernel.exception.PortalException {
194                    _mbThreadService.unlockThread(threadId);
195            }
196    
197            /**
198             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
199             */
200            @Deprecated
201            public MBThreadService getWrappedMBThreadService() {
202                    return _mbThreadService;
203            }
204    
205            /**
206             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
207             */
208            @Deprecated
209            public void setWrappedMBThreadService(MBThreadService mbThreadService) {
210                    _mbThreadService = mbThreadService;
211            }
212    
213            @Override
214            public MBThreadService getWrappedService() {
215                    return _mbThreadService;
216            }
217    
218            @Override
219            public void setWrappedService(MBThreadService mbThreadService) {
220                    _mbThreadService = mbThreadService;
221            }
222    
223            private MBThreadService _mbThreadService;
224    }