001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link MBBanLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBBanLocalService
025     * @generated
026     */
027    public class MBBanLocalServiceWrapper implements MBBanLocalService {
028            public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
029                    _mbBanLocalService = mbBanLocalService;
030            }
031    
032            public com.liferay.portlet.messageboards.model.MBBan addMBBan(
033                    com.liferay.portlet.messageboards.model.MBBan mbBan)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _mbBanLocalService.addMBBan(mbBan);
036            }
037    
038            public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
039                    return _mbBanLocalService.createMBBan(banId);
040            }
041    
042            public void deleteMBBan(long banId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _mbBanLocalService.deleteMBBan(banId);
046            }
047    
048            public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _mbBanLocalService.deleteMBBan(mbBan);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _mbBanLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _mbBanLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _mbBanLocalService.getMBBan(banId);
087            }
088    
089            public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _mbBanLocalService.getMBBans(start, end);
093            }
094    
095            public int getMBBansCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _mbBanLocalService.getMBBansCount();
098            }
099    
100            public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
101                    com.liferay.portlet.messageboards.model.MBBan mbBan)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _mbBanLocalService.updateMBBan(mbBan);
104            }
105    
106            public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
107                    com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _mbBanLocalService.updateMBBan(mbBan, merge);
110            }
111    
112            public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
113                    long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException {
116                    return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
117            }
118    
119            public void checkBan(long groupId, long banUserId)
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException {
122                    _mbBanLocalService.checkBan(groupId, banUserId);
123            }
124    
125            public void deleteBan(long banUserId,
126                    com.liferay.portal.service.ServiceContext serviceContext)
127                    throws com.liferay.portal.kernel.exception.SystemException {
128                    _mbBanLocalService.deleteBan(banUserId, serviceContext);
129            }
130    
131            public void deleteBansByBanUserId(long banUserId)
132                    throws com.liferay.portal.kernel.exception.SystemException {
133                    _mbBanLocalService.deleteBansByBanUserId(banUserId);
134            }
135    
136            public void deleteBansByGroupId(long groupId)
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    _mbBanLocalService.deleteBansByGroupId(groupId);
139            }
140    
141            public void expireBans()
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    _mbBanLocalService.expireBans();
144            }
145    
146            public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
147                    long groupId, int start, int end)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _mbBanLocalService.getBans(groupId, start, end);
150            }
151    
152            public int getBansCount(long groupId)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _mbBanLocalService.getBansCount(groupId);
155            }
156    
157            public boolean hasBan(long groupId, long banUserId)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return _mbBanLocalService.hasBan(groupId, banUserId);
160            }
161    
162            public MBBanLocalService getWrappedMBBanLocalService() {
163                    return _mbBanLocalService;
164            }
165    
166            private MBBanLocalService _mbBanLocalService;
167    }