1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.service;
16  
17  
18  /**
19   * <a href="MBThreadLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link MBThreadLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBThreadLocalService
32   * @generated
33   */
34  public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
35      public MBThreadLocalServiceWrapper(
36          MBThreadLocalService mbThreadLocalService) {
37          _mbThreadLocalService = mbThreadLocalService;
38      }
39  
40      public com.liferay.portlet.messageboards.model.MBThread addMBThread(
41          com.liferay.portlet.messageboards.model.MBThread mbThread)
42          throws com.liferay.portal.SystemException {
43          return _mbThreadLocalService.addMBThread(mbThread);
44      }
45  
46      public com.liferay.portlet.messageboards.model.MBThread createMBThread(
47          long threadId) {
48          return _mbThreadLocalService.createMBThread(threadId);
49      }
50  
51      public void deleteMBThread(long threadId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _mbThreadLocalService.deleteMBThread(threadId);
55      }
56  
57      public void deleteMBThread(
58          com.liferay.portlet.messageboards.model.MBThread mbThread)
59          throws com.liferay.portal.SystemException {
60          _mbThreadLocalService.deleteMBThread(mbThread);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _mbThreadLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.messageboards.model.MBThread getMBThread(
76          long threadId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _mbThreadLocalService.getMBThread(threadId);
80      }
81  
82      public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
83          int start, int end) throws com.liferay.portal.SystemException {
84          return _mbThreadLocalService.getMBThreads(start, end);
85      }
86  
87      public int getMBThreadsCount() throws com.liferay.portal.SystemException {
88          return _mbThreadLocalService.getMBThreadsCount();
89      }
90  
91      public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
92          com.liferay.portlet.messageboards.model.MBThread mbThread)
93          throws com.liferay.portal.SystemException {
94          return _mbThreadLocalService.updateMBThread(mbThread);
95      }
96  
97      public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
98          com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
99          throws com.liferay.portal.SystemException {
100         return _mbThreadLocalService.updateMBThread(mbThread, merge);
101     }
102 
103     public void deleteThread(long threadId)
104         throws com.liferay.portal.PortalException,
105             com.liferay.portal.SystemException {
106         _mbThreadLocalService.deleteThread(threadId);
107     }
108 
109     public void deleteThread(
110         com.liferay.portlet.messageboards.model.MBThread thread)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         _mbThreadLocalService.deleteThread(thread);
114     }
115 
116     public void deleteThreads(long categoryId)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         _mbThreadLocalService.deleteThreads(categoryId);
120     }
121 
122     public int getCategoriesThreadsCount(java.util.List<Long> categoryIds)
123         throws com.liferay.portal.SystemException {
124         return _mbThreadLocalService.getCategoriesThreadsCount(categoryIds);
125     }
126 
127     public int getCategoryThreadsCount(long categoryId)
128         throws com.liferay.portal.SystemException {
129         return _mbThreadLocalService.getCategoryThreadsCount(categoryId);
130     }
131 
132     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
133         long groupId, int start, int end)
134         throws com.liferay.portal.SystemException {
135         return _mbThreadLocalService.getGroupThreads(groupId, start, end);
136     }
137 
138     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
139         long groupId, long userId, boolean subscribed,
140         boolean includeAnonymous, int start, int end)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _mbThreadLocalService.getGroupThreads(groupId, userId,
144             subscribed, includeAnonymous, start, end);
145     }
146 
147     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
148         long groupId, long userId, boolean subscribed, int start, int end)
149         throws com.liferay.portal.PortalException,
150             com.liferay.portal.SystemException {
151         return _mbThreadLocalService.getGroupThreads(groupId, userId,
152             subscribed, start, end);
153     }
154 
155     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
156         long groupId, long userId, int start, int end)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         return _mbThreadLocalService.getGroupThreads(groupId, userId, start, end);
160     }
161 
162     public int getGroupThreadsCount(long groupId)
163         throws com.liferay.portal.SystemException {
164         return _mbThreadLocalService.getGroupThreadsCount(groupId);
165     }
166 
167     public int getGroupThreadsCount(long groupId, long userId)
168         throws com.liferay.portal.SystemException {
169         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId);
170     }
171 
172     public int getGroupThreadsCount(long groupId, long userId,
173         boolean subscribed) throws com.liferay.portal.SystemException {
174         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
175             subscribed);
176     }
177 
178     public int getGroupThreadsCount(long groupId, long userId,
179         boolean subscribed, boolean includeAnonymous)
180         throws com.liferay.portal.SystemException {
181         return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
182             subscribed, includeAnonymous);
183     }
184 
185     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
186         long categoryId, double priority)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _mbThreadLocalService.getPriorityThreads(categoryId, priority);
190     }
191 
192     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getPriorityThreads(
193         long categoryId, double priority, boolean inherit)
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         return _mbThreadLocalService.getPriorityThreads(categoryId, priority,
197             inherit);
198     }
199 
200     public com.liferay.portlet.messageboards.model.MBThread getThread(
201         long threadId)
202         throws com.liferay.portal.PortalException,
203             com.liferay.portal.SystemException {
204         return _mbThreadLocalService.getThread(threadId);
205     }
206 
207     public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
208         long categoryId, int start, int end)
209         throws com.liferay.portal.SystemException {
210         return _mbThreadLocalService.getThreads(categoryId, start, end);
211     }
212 
213     public int getThreadsCount(long categoryId)
214         throws com.liferay.portal.SystemException {
215         return _mbThreadLocalService.getThreadsCount(categoryId);
216     }
217 
218     public boolean hasReadThread(long userId, long threadId)
219         throws com.liferay.portal.PortalException,
220             com.liferay.portal.SystemException {
221         return _mbThreadLocalService.hasReadThread(userId, threadId);
222     }
223 
224     public com.liferay.portlet.messageboards.model.MBThread moveThread(
225         long categoryId, long threadId)
226         throws com.liferay.portal.PortalException,
227             com.liferay.portal.SystemException {
228         return _mbThreadLocalService.moveThread(categoryId, threadId);
229     }
230 
231     public com.liferay.portlet.messageboards.model.MBThread splitThread(
232         long messageId, javax.portlet.PortletPreferences prefs,
233         com.liferay.portal.theme.ThemeDisplay themeDisplay)
234         throws com.liferay.portal.PortalException,
235             com.liferay.portal.SystemException {
236         return _mbThreadLocalService.splitThread(messageId, prefs, themeDisplay);
237     }
238 
239     public com.liferay.portlet.messageboards.model.MBThread updateThread(
240         long threadId, int viewCount)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         return _mbThreadLocalService.updateThread(threadId, viewCount);
244     }
245 
246     public MBThreadLocalService getWrappedMBThreadLocalService() {
247         return _mbThreadLocalService;
248     }
249 
250     private MBThreadLocalService _mbThreadLocalService;
251 }