1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.messageboards.service;
16  
17  /**
18   * <a href="MBBanLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link MBBanLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBBanLocalService
31   * @generated
32   */
33  public class MBBanLocalServiceWrapper implements MBBanLocalService {
34      public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
35          _mbBanLocalService = mbBanLocalService;
36      }
37  
38      public com.liferay.portlet.messageboards.model.MBBan addMBBan(
39          com.liferay.portlet.messageboards.model.MBBan mbBan)
40          throws com.liferay.portal.SystemException {
41          return _mbBanLocalService.addMBBan(mbBan);
42      }
43  
44      public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
45          return _mbBanLocalService.createMBBan(banId);
46      }
47  
48      public void deleteMBBan(long banId)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException {
51          _mbBanLocalService.deleteMBBan(banId);
52      }
53  
54      public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
55          throws com.liferay.portal.SystemException {
56          _mbBanLocalService.deleteMBBan(mbBan);
57      }
58  
59      @SuppressWarnings("rawtypes")
60      public java.util.List dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.SystemException {
63          return _mbBanLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      @SuppressWarnings("rawtypes")
67      public java.util.List dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException {
70          return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      @SuppressWarnings("rawtypes")
74      public java.util.List dynamicQuery(
75          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76          int end,
77          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78          throws com.liferay.portal.SystemException {
79          return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end,
80              orderByComparator);
81      }
82  
83      public int dynamicQueryCount(
84          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85          throws com.liferay.portal.SystemException {
86          return _mbBanLocalService.dynamicQueryCount(dynamicQuery);
87      }
88  
89      public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException {
92          return _mbBanLocalService.getMBBan(banId);
93      }
94  
95      public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
96          int start, int end) throws com.liferay.portal.SystemException {
97          return _mbBanLocalService.getMBBans(start, end);
98      }
99  
100     public int getMBBansCount() throws com.liferay.portal.SystemException {
101         return _mbBanLocalService.getMBBansCount();
102     }
103 
104     public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
105         com.liferay.portlet.messageboards.model.MBBan mbBan)
106         throws com.liferay.portal.SystemException {
107         return _mbBanLocalService.updateMBBan(mbBan);
108     }
109 
110     public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
111         com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
112         throws com.liferay.portal.SystemException {
113         return _mbBanLocalService.updateMBBan(mbBan, merge);
114     }
115 
116     public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
117         long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
121     }
122 
123     public void checkBan(long groupId, long banUserId)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         _mbBanLocalService.checkBan(groupId, banUserId);
127     }
128 
129     public void deleteBan(long banUserId,
130         com.liferay.portal.service.ServiceContext serviceContext)
131         throws com.liferay.portal.SystemException {
132         _mbBanLocalService.deleteBan(banUserId, serviceContext);
133     }
134 
135     public void deleteBansByBanUserId(long banUserId)
136         throws com.liferay.portal.SystemException {
137         _mbBanLocalService.deleteBansByBanUserId(banUserId);
138     }
139 
140     public void deleteBansByGroupId(long groupId)
141         throws com.liferay.portal.SystemException {
142         _mbBanLocalService.deleteBansByGroupId(groupId);
143     }
144 
145     public void expireBans() throws com.liferay.portal.SystemException {
146         _mbBanLocalService.expireBans();
147     }
148 
149     public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
150         long groupId, int start, int end)
151         throws com.liferay.portal.SystemException {
152         return _mbBanLocalService.getBans(groupId, start, end);
153     }
154 
155     public int getBansCount(long groupId)
156         throws com.liferay.portal.SystemException {
157         return _mbBanLocalService.getBansCount(groupId);
158     }
159 
160     public boolean hasBan(long groupId, long banUserId)
161         throws com.liferay.portal.SystemException {
162         return _mbBanLocalService.hasBan(groupId, banUserId);
163     }
164 
165     public MBBanLocalService getWrappedMBBanLocalService() {
166         return _mbBanLocalService;
167     }
168 
169     private MBBanLocalService _mbBanLocalService;
170 }