001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link MBThreadService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see MBThreadService
024     * @generated
025     */
026    public class MBThreadServiceWrapper implements MBThreadService,
027            ServiceWrapper<MBThreadService> {
028            public MBThreadServiceWrapper(MBThreadService mbThreadService) {
029                    _mbThreadService = mbThreadService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _mbThreadService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _mbThreadService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public void deleteThread(long threadId)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    _mbThreadService.deleteThread(threadId);
057            }
058    
059            @Override
060            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
061                    long groupId, long userId, java.util.Date modifiedDate, int status,
062                    int start, int end)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _mbThreadService.getGroupThreads(groupId, userId, modifiedDate,
066                            status, start, end);
067            }
068    
069            @Override
070            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
071                    long groupId, long userId, int status, boolean subscribed,
072                    boolean includeAnonymous, int start, int end)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _mbThreadService.getGroupThreads(groupId, userId, status,
076                            subscribed, includeAnonymous, start, end);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
081                    long groupId, long userId, int status, boolean subscribed, int start,
082                    int end)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _mbThreadService.getGroupThreads(groupId, userId, status,
086                            subscribed, start, end);
087            }
088    
089            @Override
090            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
091                    long groupId, long userId, int status, int start, int end)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _mbThreadService.getGroupThreads(groupId, userId, status, start,
095                            end);
096            }
097    
098            @Override
099            public int getGroupThreadsCount(long groupId, long userId,
100                    java.util.Date modifiedDate, int status)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _mbThreadService.getGroupThreadsCount(groupId, userId,
103                            modifiedDate, status);
104            }
105    
106            @Override
107            public int getGroupThreadsCount(long groupId, long userId, int status)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status);
110            }
111    
112            @Override
113            public int getGroupThreadsCount(long groupId, long userId, int status,
114                    boolean subscribed)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
117                            subscribed);
118            }
119    
120            @Override
121            public int getGroupThreadsCount(long groupId, long userId, int status,
122                    boolean subscribed, boolean includeAnonymous)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _mbThreadService.getGroupThreadsCount(groupId, userId, status,
125                            subscribed, includeAnonymous);
126            }
127    
128            @Override
129            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
130                    long groupId, long categoryId, int status, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException {
132                    return _mbThreadService.getThreads(groupId, categoryId, status, start,
133                            end);
134            }
135    
136            @Override
137            public int getThreadsCount(long groupId, long categoryId, int status)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _mbThreadService.getThreadsCount(groupId, categoryId, status);
140            }
141    
142            @Override
143            public com.liferay.portal.model.Lock lockThread(long threadId)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    return _mbThreadService.lockThread(threadId);
147            }
148    
149            @Override
150            public com.liferay.portlet.messageboards.model.MBThread moveThread(
151                    long categoryId, long threadId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _mbThreadService.moveThread(categoryId, threadId);
155            }
156    
157            @Override
158            public com.liferay.portlet.messageboards.model.MBThread moveThreadFromTrash(
159                    long categoryId, long threadId)
160                    throws com.liferay.portal.kernel.exception.PortalException,
161                            com.liferay.portal.kernel.exception.SystemException {
162                    return _mbThreadService.moveThreadFromTrash(categoryId, threadId);
163            }
164    
165            @Override
166            public com.liferay.portlet.messageboards.model.MBThread moveThreadToTrash(
167                    long threadId)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException {
170                    return _mbThreadService.moveThreadToTrash(threadId);
171            }
172    
173            @Override
174            public void restoreThreadFromTrash(long threadId)
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException {
177                    _mbThreadService.restoreThreadFromTrash(threadId);
178            }
179    
180            @Override
181            public com.liferay.portal.kernel.search.Hits search(long groupId,
182                    long creatorUserId, int status, int start, int end)
183                    throws com.liferay.portal.kernel.exception.PortalException,
184                            com.liferay.portal.kernel.exception.SystemException {
185                    return _mbThreadService.search(groupId, creatorUserId, status, start,
186                            end);
187            }
188    
189            @Override
190            public com.liferay.portal.kernel.search.Hits search(long groupId,
191                    long creatorUserId, long startDate, long endDate, int status,
192                    int start, int end)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException {
195                    return _mbThreadService.search(groupId, creatorUserId, startDate,
196                            endDate, status, start, end);
197            }
198    
199            @Override
200            public com.liferay.portlet.messageboards.model.MBThread splitThread(
201                    long messageId, java.lang.String subject,
202                    com.liferay.portal.service.ServiceContext serviceContext)
203                    throws com.liferay.portal.kernel.exception.PortalException,
204                            com.liferay.portal.kernel.exception.SystemException {
205                    return _mbThreadService.splitThread(messageId, subject, serviceContext);
206            }
207    
208            @Override
209            public void unlockThread(long threadId)
210                    throws com.liferay.portal.kernel.exception.PortalException,
211                            com.liferay.portal.kernel.exception.SystemException {
212                    _mbThreadService.unlockThread(threadId);
213            }
214    
215            /**
216             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
217             */
218            public MBThreadService getWrappedMBThreadService() {
219                    return _mbThreadService;
220            }
221    
222            /**
223             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
224             */
225            public void setWrappedMBThreadService(MBThreadService mbThreadService) {
226                    _mbThreadService = mbThreadService;
227            }
228    
229            @Override
230            public MBThreadService getWrappedService() {
231                    return _mbThreadService;
232            }
233    
234            @Override
235            public void setWrappedService(MBThreadService mbThreadService) {
236                    _mbThreadService = mbThreadService;
237            }
238    
239            private MBThreadService _mbThreadService;
240    }