001
014
015 package com.liferay.portlet.messageboards.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class MBBanLocalServiceWrapper implements MBBanLocalService,
029 ServiceWrapper<MBBanLocalService> {
030 public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
031 _mbBanLocalService = mbBanLocalService;
032 }
033
034
041 public com.liferay.portlet.messageboards.model.MBBan addMBBan(
042 com.liferay.portlet.messageboards.model.MBBan mbBan)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _mbBanLocalService.addMBBan(mbBan);
045 }
046
047
053 public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
054 return _mbBanLocalService.createMBBan(banId);
055 }
056
057
065 public com.liferay.portlet.messageboards.model.MBBan deleteMBBan(long banId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _mbBanLocalService.deleteMBBan(banId);
069 }
070
071
078 public com.liferay.portlet.messageboards.model.MBBan deleteMBBan(
079 com.liferay.portlet.messageboards.model.MBBan mbBan)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _mbBanLocalService.deleteMBBan(mbBan);
082 }
083
084 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
085 return _mbBanLocalService.dynamicQuery();
086 }
087
088
095 @SuppressWarnings("rawtypes")
096 public java.util.List dynamicQuery(
097 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _mbBanLocalService.dynamicQuery(dynamicQuery);
100 }
101
102
115 @SuppressWarnings("rawtypes")
116 public java.util.List dynamicQuery(
117 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
118 int end) throws com.liferay.portal.kernel.exception.SystemException {
119 return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
120 }
121
122
136 @SuppressWarnings("rawtypes")
137 public java.util.List dynamicQuery(
138 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
139 int end,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end,
143 orderByComparator);
144 }
145
146
153 public long dynamicQueryCount(
154 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _mbBanLocalService.dynamicQueryCount(dynamicQuery);
157 }
158
159 public com.liferay.portlet.messageboards.model.MBBan fetchMBBan(long banId)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _mbBanLocalService.fetchMBBan(banId);
162 }
163
164
172 public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
173 throws com.liferay.portal.kernel.exception.PortalException,
174 com.liferay.portal.kernel.exception.SystemException {
175 return _mbBanLocalService.getMBBan(banId);
176 }
177
178 public com.liferay.portal.model.PersistedModel getPersistedModel(
179 java.io.Serializable primaryKeyObj)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _mbBanLocalService.getPersistedModel(primaryKeyObj);
183 }
184
185
197 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _mbBanLocalService.getMBBans(start, end);
201 }
202
203
209 public int getMBBansCount()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _mbBanLocalService.getMBBansCount();
212 }
213
214
221 public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
222 com.liferay.portlet.messageboards.model.MBBan mbBan)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _mbBanLocalService.updateMBBan(mbBan);
225 }
226
227
235 public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
236 com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _mbBanLocalService.updateMBBan(mbBan, merge);
239 }
240
241
246 public java.lang.String getBeanIdentifier() {
247 return _mbBanLocalService.getBeanIdentifier();
248 }
249
250
255 public void setBeanIdentifier(java.lang.String beanIdentifier) {
256 _mbBanLocalService.setBeanIdentifier(beanIdentifier);
257 }
258
259 public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
260 long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
264 }
265
266 public void checkBan(long groupId, long banUserId)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 _mbBanLocalService.checkBan(groupId, banUserId);
270 }
271
272 public void deleteBan(long banId)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 _mbBanLocalService.deleteBan(banId);
276 }
277
278 public void deleteBan(long banUserId,
279 com.liferay.portal.service.ServiceContext serviceContext)
280 throws com.liferay.portal.kernel.exception.SystemException {
281 _mbBanLocalService.deleteBan(banUserId, serviceContext);
282 }
283
284 public void deleteBan(com.liferay.portlet.messageboards.model.MBBan ban)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 _mbBanLocalService.deleteBan(ban);
287 }
288
289 public void deleteBansByBanUserId(long banUserId)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 _mbBanLocalService.deleteBansByBanUserId(banUserId);
292 }
293
294 public void deleteBansByGroupId(long groupId)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 _mbBanLocalService.deleteBansByGroupId(groupId);
297 }
298
299 public void expireBans()
300 throws com.liferay.portal.kernel.exception.SystemException {
301 _mbBanLocalService.expireBans();
302 }
303
304 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
305 long groupId, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return _mbBanLocalService.getBans(groupId, start, end);
308 }
309
310 public int getBansCount(long groupId)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _mbBanLocalService.getBansCount(groupId);
313 }
314
315 public boolean hasBan(long groupId, long banUserId)
316 throws com.liferay.portal.kernel.exception.SystemException {
317 return _mbBanLocalService.hasBan(groupId, banUserId);
318 }
319
320
323 public MBBanLocalService getWrappedMBBanLocalService() {
324 return _mbBanLocalService;
325 }
326
327
330 public void setWrappedMBBanLocalService(MBBanLocalService mbBanLocalService) {
331 _mbBanLocalService = mbBanLocalService;
332 }
333
334 public MBBanLocalService getWrappedService() {
335 return _mbBanLocalService;
336 }
337
338 public void setWrappedService(MBBanLocalService mbBanLocalService) {
339 _mbBanLocalService = mbBanLocalService;
340 }
341
342 private MBBanLocalService _mbBanLocalService;
343 }