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     * <p>
019     * This class is a wrapper for {@link MBBanLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBBanLocalService
024     * @generated
025     */
026    public class MBBanLocalServiceWrapper implements MBBanLocalService {
027            public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
028                    _mbBanLocalService = mbBanLocalService;
029            }
030    
031            public com.liferay.portlet.messageboards.model.MBBan addMBBan(
032                    com.liferay.portlet.messageboards.model.MBBan mbBan)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _mbBanLocalService.addMBBan(mbBan);
035            }
036    
037            public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
038                    return _mbBanLocalService.createMBBan(banId);
039            }
040    
041            public void deleteMBBan(long banId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _mbBanLocalService.deleteMBBan(banId);
045            }
046    
047            public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
048                    throws com.liferay.portal.kernel.exception.SystemException {
049                    _mbBanLocalService.deleteMBBan(mbBan);
050            }
051    
052            @SuppressWarnings("unchecked")
053            public java.util.List dynamicQuery(
054                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
055                    throws com.liferay.portal.kernel.exception.SystemException {
056                    return _mbBanLocalService.dynamicQuery(dynamicQuery);
057            }
058    
059            @SuppressWarnings("unchecked")
060            public java.util.List dynamicQuery(
061                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException {
063                    return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
064            }
065    
066            @SuppressWarnings("unchecked")
067            public java.util.List dynamicQuery(
068                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
069                    int end,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end,
073                            orderByComparator);
074            }
075    
076            public long dynamicQueryCount(
077                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _mbBanLocalService.dynamicQueryCount(dynamicQuery);
080            }
081    
082            public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _mbBanLocalService.getMBBan(banId);
086            }
087    
088            public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
089                    int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _mbBanLocalService.getMBBans(start, end);
092            }
093    
094            public int getMBBansCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _mbBanLocalService.getMBBansCount();
097            }
098    
099            public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
100                    com.liferay.portlet.messageboards.model.MBBan mbBan)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _mbBanLocalService.updateMBBan(mbBan);
103            }
104    
105            public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
106                    com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _mbBanLocalService.updateMBBan(mbBan, merge);
109            }
110    
111            public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
112                    long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
116            }
117    
118            public void checkBan(long groupId, long banUserId)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    _mbBanLocalService.checkBan(groupId, banUserId);
122            }
123    
124            public void deleteBan(long banUserId,
125                    com.liferay.portal.service.ServiceContext serviceContext)
126                    throws com.liferay.portal.kernel.exception.SystemException {
127                    _mbBanLocalService.deleteBan(banUserId, serviceContext);
128            }
129    
130            public void deleteBansByBanUserId(long banUserId)
131                    throws com.liferay.portal.kernel.exception.SystemException {
132                    _mbBanLocalService.deleteBansByBanUserId(banUserId);
133            }
134    
135            public void deleteBansByGroupId(long groupId)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    _mbBanLocalService.deleteBansByGroupId(groupId);
138            }
139    
140            public void expireBans()
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    _mbBanLocalService.expireBans();
143            }
144    
145            public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
146                    long groupId, int start, int end)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _mbBanLocalService.getBans(groupId, start, end);
149            }
150    
151            public int getBansCount(long groupId)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _mbBanLocalService.getBansCount(groupId);
154            }
155    
156            public boolean hasBan(long groupId, long banUserId)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _mbBanLocalService.hasBan(groupId, banUserId);
159            }
160    
161            public MBBanLocalService getWrappedMBBanLocalService() {
162                    return _mbBanLocalService;
163            }
164    
165            private MBBanLocalService _mbBanLocalService;
166    }