001    /**
002     * Copyright (c) 2000-2010 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    
018    /**
019     * <p>
020     * This class is a wrapper for {@link MBThreadLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBThreadLocalService
025     * @generated
026     */
027    public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
028            public MBThreadLocalServiceWrapper(
029                    MBThreadLocalService mbThreadLocalService) {
030                    _mbThreadLocalService = mbThreadLocalService;
031            }
032    
033            public com.liferay.portlet.messageboards.model.MBThread addMBThread(
034                    com.liferay.portlet.messageboards.model.MBThread mbThread)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _mbThreadLocalService.addMBThread(mbThread);
037            }
038    
039            public com.liferay.portlet.messageboards.model.MBThread createMBThread(
040                    long threadId) {
041                    return _mbThreadLocalService.createMBThread(threadId);
042            }
043    
044            public void deleteMBThread(long threadId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _mbThreadLocalService.deleteMBThread(threadId);
048            }
049    
050            public void deleteMBThread(
051                    com.liferay.portlet.messageboards.model.MBThread mbThread)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _mbThreadLocalService.deleteMBThread(mbThread);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _mbThreadLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _mbThreadLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.messageboards.model.MBThread getMBThread(
087                    long threadId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _mbThreadLocalService.getMBThread(threadId);
091            }
092    
093            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
094                    int start, int end)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _mbThreadLocalService.getMBThreads(start, end);
097            }
098    
099            public int getMBThreadsCount()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _mbThreadLocalService.getMBThreadsCount();
102            }
103    
104            public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
105                    com.liferay.portlet.messageboards.model.MBThread mbThread)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _mbThreadLocalService.updateMBThread(mbThread);
108            }
109    
110            public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
111                    com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
112                    throws com.liferay.portal.kernel.exception.SystemException {
113                    return _mbThreadLocalService.updateMBThread(mbThread, merge);
114            }
115    
116            public void deleteThread(long threadId)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException {
119                    _mbThreadLocalService.deleteThread(threadId);
120            }
121    
122            public void deleteThread(
123                    com.liferay.portlet.messageboards.model.MBThread thread)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    _mbThreadLocalService.deleteThread(thread);
127            }
128    
129            public void deleteThreads(long groupId, long categoryId)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException {
132                    _mbThreadLocalService.deleteThreads(groupId, categoryId);
133            }
134    
135            public int getCategoryThreadsCount(long groupId, long categoryId, int status)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _mbThreadLocalService.getCategoryThreadsCount(groupId,
138                            categoryId, status);
139            }
140    
141            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
142                    long groupId, int status, int start, int end)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    return _mbThreadLocalService.getGroupThreads(groupId, status, start, end);
145            }
146    
147            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
148                    long groupId, long userId, int status, boolean subscribed,
149                    boolean includeAnonymous, int start, int end)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
153                            subscribed, includeAnonymous, start, end);
154            }
155    
156            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
157                    long groupId, long userId, int status, boolean subscribed, int start,
158                    int end)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
162                            subscribed, start, end);
163            }
164    
165            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
166                    long groupId, long userId, int status, int start, int end)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    return _mbThreadLocalService.getGroupThreads(groupId, userId, status,
170                            start, end);
171            }
172    
173            public int getGroupThreadsCount(long groupId, int status)
174                    throws com.liferay.portal.kernel.exception.SystemException {
175                    return _mbThreadLocalService.getGroupThreadsCount(groupId, status);
176            }
177    
178            public int getGroupThreadsCount(long groupId, long userId, int status)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
181                            status);
182            }
183    
184            public int getGroupThreadsCount(long groupId, long userId, int status,
185                    boolean subscribed)
186                    throws com.liferay.portal.kernel.exception.SystemException {
187                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
188                            status, subscribed);
189            }
190    
191            public int getGroupThreadsCount(long groupId, long userId, int status,
192                    boolean subscribed, boolean includeAnonymous)
193                    throws com.liferay.portal.kernel.exception.SystemException {
194                    return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
195                            status, subscribed, includeAnonymous);
196            }
197    
198            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
199                    long categoryId, double priority)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
203            }
204    
205            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
206                    long categoryId, double priority, boolean inherit)
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException {
209                    return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
210                            inherit);
211            }
212    
213            public com.liferay.portlet.messageboards.model.MBThread getThread(
214                    long threadId)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _mbThreadLocalService.getThread(threadId);
218            }
219    
220            public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
221                    long groupId, long categoryId, int status, int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _mbThreadLocalService.getThreads(groupId, categoryId, status,
224                            start, end);
225            }
226    
227            public int getThreadsCount(long groupId, long categoryId, int status)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return _mbThreadLocalService.getThreadsCount(groupId, categoryId, status);
230            }
231    
232            public com.liferay.portlet.messageboards.model.MBThread moveThread(
233                    long groupId, long categoryId, long threadId)
234                    throws com.liferay.portal.kernel.exception.PortalException,
235                            com.liferay.portal.kernel.exception.SystemException {
236                    return _mbThreadLocalService.moveThread(groupId, categoryId, threadId);
237            }
238    
239            public com.liferay.portlet.messageboards.model.MBThread splitThread(
240                    long messageId, com.liferay.portal.service.ServiceContext serviceContext)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    return _mbThreadLocalService.splitThread(messageId, serviceContext);
244            }
245    
246            public com.liferay.portlet.messageboards.model.MBThread updateThread(
247                    long threadId, int viewCount)
248                    throws com.liferay.portal.kernel.exception.PortalException,
249                            com.liferay.portal.kernel.exception.SystemException {
250                    return _mbThreadLocalService.updateThread(threadId, viewCount);
251            }
252    
253            public MBThreadLocalService getWrappedMBThreadLocalService() {
254                    return _mbThreadLocalService;
255            }
256    
257            private MBThreadLocalService _mbThreadLocalService;
258    }