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 MBMailingListLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBMailingListLocalService
024     * @generated
025     */
026    public class MBMailingListLocalServiceWrapper
027            implements MBMailingListLocalService {
028            public MBMailingListLocalServiceWrapper(
029                    MBMailingListLocalService mbMailingListLocalService) {
030                    _mbMailingListLocalService = mbMailingListLocalService;
031            }
032    
033            public com.liferay.portlet.messageboards.model.MBMailingList addMBMailingList(
034                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _mbMailingListLocalService.addMBMailingList(mbMailingList);
037            }
038    
039            public com.liferay.portlet.messageboards.model.MBMailingList createMBMailingList(
040                    long mailingListId) {
041                    return _mbMailingListLocalService.createMBMailingList(mailingListId);
042            }
043    
044            public void deleteMBMailingList(long mailingListId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _mbMailingListLocalService.deleteMBMailingList(mailingListId);
048            }
049    
050            public void deleteMBMailingList(
051                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _mbMailingListLocalService.deleteMBMailingList(mbMailingList);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _mbMailingListLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start,
077                            end, orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _mbMailingListLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingList(
087                    long mailingListId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _mbMailingListLocalService.getMBMailingList(mailingListId);
091            }
092    
093            public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingListByUuidAndGroupId(
094                    java.lang.String uuid, long groupId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _mbMailingListLocalService.getMBMailingListByUuidAndGroupId(uuid,
098                            groupId);
099            }
100    
101            public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> getMBMailingLists(
102                    int start, int end)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _mbMailingListLocalService.getMBMailingLists(start, end);
105            }
106    
107            public int getMBMailingListsCount()
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _mbMailingListLocalService.getMBMailingListsCount();
110            }
111    
112            public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
113                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _mbMailingListLocalService.updateMBMailingList(mbMailingList);
116            }
117    
118            public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
119                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
120                    boolean merge)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _mbMailingListLocalService.updateMBMailingList(mbMailingList,
123                            merge);
124            }
125    
126            public com.liferay.portlet.messageboards.model.MBMailingList addMailingList(
127                    long userId, long groupId, long categoryId,
128                    java.lang.String emailAddress, java.lang.String inProtocol,
129                    java.lang.String inServerName, int inServerPort, boolean inUseSSL,
130                    java.lang.String inUserName, java.lang.String inPassword,
131                    int inReadInterval, java.lang.String outEmailAddress,
132                    boolean outCustom, java.lang.String outServerName, int outServerPort,
133                    boolean outUseSSL, java.lang.String outUserName,
134                    java.lang.String outPassword, boolean active,
135                    com.liferay.portal.service.ServiceContext serviceContext)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    return _mbMailingListLocalService.addMailingList(userId, groupId,
139                            categoryId, emailAddress, inProtocol, inServerName, inServerPort,
140                            inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
141                            outCustom, outServerName, outServerPort, outUseSSL, outUserName,
142                            outPassword, active, serviceContext);
143            }
144    
145            public void deleteCategoryMailingList(long groupId, long categoryId)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    _mbMailingListLocalService.deleteCategoryMailingList(groupId, categoryId);
149            }
150    
151            public void deleteMailingList(long mailingListId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    _mbMailingListLocalService.deleteMailingList(mailingListId);
155            }
156    
157            public void deleteMailingList(
158                    com.liferay.portlet.messageboards.model.MBMailingList mailingList)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    _mbMailingListLocalService.deleteMailingList(mailingList);
162            }
163    
164            public com.liferay.portlet.messageboards.model.MBMailingList getCategoryMailingList(
165                    long groupId, long categoryId)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    return _mbMailingListLocalService.getCategoryMailingList(groupId,
169                            categoryId);
170            }
171    
172            public com.liferay.portlet.messageboards.model.MBMailingList updateMailingList(
173                    long mailingListId, java.lang.String emailAddress,
174                    java.lang.String inProtocol, java.lang.String inServerName,
175                    int inServerPort, boolean inUseSSL, java.lang.String inUserName,
176                    java.lang.String inPassword, int inReadInterval,
177                    java.lang.String outEmailAddress, boolean outCustom,
178                    java.lang.String outServerName, int outServerPort, boolean outUseSSL,
179                    java.lang.String outUserName, java.lang.String outPassword,
180                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _mbMailingListLocalService.updateMailingList(mailingListId,
184                            emailAddress, inProtocol, inServerName, inServerPort, inUseSSL,
185                            inUserName, inPassword, inReadInterval, outEmailAddress, outCustom,
186                            outServerName, outServerPort, outUseSSL, outUserName, outPassword,
187                            active, serviceContext);
188            }
189    
190            public MBMailingListLocalService getWrappedMBMailingListLocalService() {
191                    return _mbMailingListLocalService;
192            }
193    
194            private MBMailingListLocalService _mbMailingListLocalService;
195    }