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