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