1
22
23 package com.liferay.portlet.messageboards.service;
24
25
26
42 public class MBThreadLocalServiceWrapper implements MBThreadLocalService {
43 public MBThreadLocalServiceWrapper(
44 MBThreadLocalService mbThreadLocalService) {
45 _mbThreadLocalService = mbThreadLocalService;
46 }
47
48 public com.liferay.portlet.messageboards.model.MBThread addMBThread(
49 com.liferay.portlet.messageboards.model.MBThread mbThread)
50 throws com.liferay.portal.SystemException {
51 return _mbThreadLocalService.addMBThread(mbThread);
52 }
53
54 public com.liferay.portlet.messageboards.model.MBThread createMBThread(
55 long threadId) {
56 return _mbThreadLocalService.createMBThread(threadId);
57 }
58
59 public void deleteMBThread(long threadId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 _mbThreadLocalService.deleteMBThread(threadId);
63 }
64
65 public void deleteMBThread(
66 com.liferay.portlet.messageboards.model.MBThread mbThread)
67 throws com.liferay.portal.SystemException {
68 _mbThreadLocalService.deleteMBThread(mbThread);
69 }
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return _mbThreadLocalService.dynamicQuery(dynamicQuery);
75 }
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return _mbThreadLocalService.dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public com.liferay.portlet.messageboards.model.MBThread getMBThread(
84 long threadId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return _mbThreadLocalService.getMBThread(threadId);
88 }
89
90 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getMBThreads(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return _mbThreadLocalService.getMBThreads(start, end);
93 }
94
95 public int getMBThreadsCount() throws com.liferay.portal.SystemException {
96 return _mbThreadLocalService.getMBThreadsCount();
97 }
98
99 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
100 com.liferay.portlet.messageboards.model.MBThread mbThread)
101 throws com.liferay.portal.SystemException {
102 return _mbThreadLocalService.updateMBThread(mbThread);
103 }
104
105 public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
106 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
107 throws com.liferay.portal.SystemException {
108 return _mbThreadLocalService.updateMBThread(mbThread, merge);
109 }
110
111 public void deleteThread(long threadId)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException {
114 _mbThreadLocalService.deleteThread(threadId);
115 }
116
117 public void deleteThread(
118 com.liferay.portlet.messageboards.model.MBThread thread)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 _mbThreadLocalService.deleteThread(thread);
122 }
123
124 public void deleteThreads(long categoryId)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException {
127 _mbThreadLocalService.deleteThreads(categoryId);
128 }
129
130 public int getCategoryThreadsCount(long categoryId)
131 throws com.liferay.portal.SystemException {
132 return _mbThreadLocalService.getCategoryThreadsCount(categoryId);
133 }
134
135 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
136 long groupId, int start, int end)
137 throws com.liferay.portal.SystemException {
138 return _mbThreadLocalService.getGroupThreads(groupId, start, end);
139 }
140
141 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
142 long groupId, long userId, boolean subscribed,
143 boolean includeAnonymous, int start, int end)
144 throws com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException {
146 return _mbThreadLocalService.getGroupThreads(groupId, userId,
147 subscribed, includeAnonymous, start, end);
148 }
149
150 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
151 long groupId, long userId, boolean subscribed, int start, int end)
152 throws com.liferay.portal.PortalException,
153 com.liferay.portal.SystemException {
154 return _mbThreadLocalService.getGroupThreads(groupId, userId,
155 subscribed, start, end);
156 }
157
158 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getGroupThreads(
159 long groupId, long userId, int start, int end)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 return _mbThreadLocalService.getGroupThreads(groupId, userId, start, end);
163 }
164
165 public int getGroupThreadsCount(long groupId)
166 throws com.liferay.portal.SystemException {
167 return _mbThreadLocalService.getGroupThreadsCount(groupId);
168 }
169
170 public int getGroupThreadsCount(long groupId, long userId)
171 throws com.liferay.portal.SystemException {
172 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId);
173 }
174
175 public int getGroupThreadsCount(long groupId, long userId,
176 boolean subscribed) throws com.liferay.portal.SystemException {
177 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
178 subscribed);
179 }
180
181 public int getGroupThreadsCount(long groupId, long userId,
182 boolean subscribed, boolean includeAnonymous)
183 throws com.liferay.portal.SystemException {
184 return _mbThreadLocalService.getGroupThreadsCount(groupId, userId,
185 subscribed, includeAnonymous);
186 }
187
188 public com.liferay.portlet.messageboards.model.MBThread getThread(
189 long threadId)
190 throws com.liferay.portal.PortalException,
191 com.liferay.portal.SystemException {
192 return _mbThreadLocalService.getThread(threadId);
193 }
194
195 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> getThreads(
196 long categoryId, int start, int end)
197 throws com.liferay.portal.SystemException {
198 return _mbThreadLocalService.getThreads(categoryId, start, end);
199 }
200
201 public int getThreadsCount(long categoryId)
202 throws com.liferay.portal.SystemException {
203 return _mbThreadLocalService.getThreadsCount(categoryId);
204 }
205
206 public com.liferay.portlet.messageboards.model.MBThread moveThread(
207 long categoryId, long threadId)
208 throws com.liferay.portal.PortalException,
209 com.liferay.portal.SystemException {
210 return _mbThreadLocalService.moveThread(categoryId, threadId);
211 }
212
213 public com.liferay.portlet.messageboards.model.MBThread splitThread(
214 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
215 throws com.liferay.portal.PortalException,
216 com.liferay.portal.SystemException {
217 return _mbThreadLocalService.splitThread(messageId, serviceContext);
218 }
219
220 public com.liferay.portlet.messageboards.model.MBThread updateThread(
221 long threadId, int viewCount)
222 throws com.liferay.portal.PortalException,
223 com.liferay.portal.SystemException {
224 return _mbThreadLocalService.updateThread(threadId, viewCount);
225 }
226
227 public MBThreadLocalService getWrappedMBThreadLocalService() {
228 return _mbThreadLocalService;
229 }
230
231 private MBThreadLocalService _mbThreadLocalService;
232 }