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="MBBanLocalServiceUtil.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 MBBanLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBBanLocalService
32   * @generated
33   */
34  public class MBBanLocalServiceWrapper implements MBBanLocalService {
35      public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
36          _mbBanLocalService = mbBanLocalService;
37      }
38  
39      public com.liferay.portlet.messageboards.model.MBBan addMBBan(
40          com.liferay.portlet.messageboards.model.MBBan mbBan)
41          throws com.liferay.portal.SystemException {
42          return _mbBanLocalService.addMBBan(mbBan);
43      }
44  
45      public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
46          return _mbBanLocalService.createMBBan(banId);
47      }
48  
49      public void deleteMBBan(long banId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _mbBanLocalService.deleteMBBan(banId);
53      }
54  
55      public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
56          throws com.liferay.portal.SystemException {
57          _mbBanLocalService.deleteMBBan(mbBan);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.SystemException {
63          return _mbBanLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.SystemException {
69          return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _mbBanLocalService.getMBBan(banId);
76      }
77  
78      public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
79          int start, int end) throws com.liferay.portal.SystemException {
80          return _mbBanLocalService.getMBBans(start, end);
81      }
82  
83      public int getMBBansCount() throws com.liferay.portal.SystemException {
84          return _mbBanLocalService.getMBBansCount();
85      }
86  
87      public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
88          com.liferay.portlet.messageboards.model.MBBan mbBan)
89          throws com.liferay.portal.SystemException {
90          return _mbBanLocalService.updateMBBan(mbBan);
91      }
92  
93      public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
94          com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
95          throws com.liferay.portal.SystemException {
96          return _mbBanLocalService.updateMBBan(mbBan, merge);
97      }
98  
99      public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
100         long plid, long banUserId)
101         throws com.liferay.portal.PortalException,
102             com.liferay.portal.SystemException {
103         return _mbBanLocalService.addBan(userId, plid, banUserId);
104     }
105 
106     public void checkBan(long groupId, long banUserId)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException {
109         _mbBanLocalService.checkBan(groupId, banUserId);
110     }
111 
112     public void deleteBan(long plid, long banUserId)
113         throws com.liferay.portal.SystemException {
114         _mbBanLocalService.deleteBan(plid, banUserId);
115     }
116 
117     public void deleteBansByBanUserId(long banUserId)
118         throws com.liferay.portal.SystemException {
119         _mbBanLocalService.deleteBansByBanUserId(banUserId);
120     }
121 
122     public void deleteBansByGroupId(long groupId)
123         throws com.liferay.portal.SystemException {
124         _mbBanLocalService.deleteBansByGroupId(groupId);
125     }
126 
127     public void expireBans() throws com.liferay.portal.SystemException {
128         _mbBanLocalService.expireBans();
129     }
130 
131     public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
132         long groupId, int start, int end)
133         throws com.liferay.portal.SystemException {
134         return _mbBanLocalService.getBans(groupId, start, end);
135     }
136 
137     public int getBansCount(long groupId)
138         throws com.liferay.portal.SystemException {
139         return _mbBanLocalService.getBansCount(groupId);
140     }
141 
142     public boolean hasBan(long groupId, long banUserId)
143         throws com.liferay.portal.SystemException {
144         return _mbBanLocalService.hasBan(groupId, banUserId);
145     }
146 
147     public MBBanLocalService getWrappedMBBanLocalService() {
148         return _mbBanLocalService;
149     }
150 
151     private MBBanLocalService _mbBanLocalService;
152 }