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.kernel.exception.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.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _mbBanLocalService.deleteMBBan(banId);
53      }
54  
55      public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _mbBanLocalService.deleteMBBan(mbBan);
58      }
59  
60      @SuppressWarnings("unchecked")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _mbBanLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("unchecked")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.kernel.exception.SystemException {
71          return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("unchecked")
75      public java.util.List dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public long dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _mbBanLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _mbBanLocalService.getMBBan(banId);
94      }
95  
96      public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
97          int start, int end)
98          throws com.liferay.portal.kernel.exception.SystemException {
99          return _mbBanLocalService.getMBBans(start, end);
100     }
101 
102     public int getMBBansCount()
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _mbBanLocalService.getMBBansCount();
105     }
106 
107     public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
108         com.liferay.portlet.messageboards.model.MBBan mbBan)
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _mbBanLocalService.updateMBBan(mbBan);
111     }
112 
113     public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
114         com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _mbBanLocalService.updateMBBan(mbBan, merge);
117     }
118 
119     public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
120         long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
121         throws com.liferay.portal.kernel.exception.PortalException,
122             com.liferay.portal.kernel.exception.SystemException {
123         return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
124     }
125 
126     public void checkBan(long groupId, long banUserId)
127         throws com.liferay.portal.kernel.exception.PortalException,
128             com.liferay.portal.kernel.exception.SystemException {
129         _mbBanLocalService.checkBan(groupId, banUserId);
130     }
131 
132     public void deleteBan(long banUserId,
133         com.liferay.portal.service.ServiceContext serviceContext)
134         throws com.liferay.portal.kernel.exception.SystemException {
135         _mbBanLocalService.deleteBan(banUserId, serviceContext);
136     }
137 
138     public void deleteBansByBanUserId(long banUserId)
139         throws com.liferay.portal.kernel.exception.SystemException {
140         _mbBanLocalService.deleteBansByBanUserId(banUserId);
141     }
142 
143     public void deleteBansByGroupId(long groupId)
144         throws com.liferay.portal.kernel.exception.SystemException {
145         _mbBanLocalService.deleteBansByGroupId(groupId);
146     }
147 
148     public void expireBans()
149         throws com.liferay.portal.kernel.exception.SystemException {
150         _mbBanLocalService.expireBans();
151     }
152 
153     public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
154         long groupId, int start, int end)
155         throws com.liferay.portal.kernel.exception.SystemException {
156         return _mbBanLocalService.getBans(groupId, start, end);
157     }
158 
159     public int getBansCount(long groupId)
160         throws com.liferay.portal.kernel.exception.SystemException {
161         return _mbBanLocalService.getBansCount(groupId);
162     }
163 
164     public boolean hasBan(long groupId, long banUserId)
165         throws com.liferay.portal.kernel.exception.SystemException {
166         return _mbBanLocalService.hasBan(groupId, banUserId);
167     }
168 
169     public MBBanLocalService getWrappedMBBanLocalService() {
170         return _mbBanLocalService;
171     }
172 
173     private MBBanLocalService _mbBanLocalService;
174 }