1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.service;
24  
25  
26  /**
27   * <a href="MBMailingListLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBMailingListLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBMailingListLocalService
40   * @generated
41   */
42  public class MBMailingListLocalServiceWrapper
43      implements MBMailingListLocalService {
44      public MBMailingListLocalServiceWrapper(
45          MBMailingListLocalService mbMailingListLocalService) {
46          _mbMailingListLocalService = mbMailingListLocalService;
47      }
48  
49      public com.liferay.portlet.messageboards.model.MBMailingList addMBMailingList(
50          com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
51          throws com.liferay.portal.SystemException {
52          return _mbMailingListLocalService.addMBMailingList(mbMailingList);
53      }
54  
55      public com.liferay.portlet.messageboards.model.MBMailingList createMBMailingList(
56          long mailingListId) {
57          return _mbMailingListLocalService.createMBMailingList(mailingListId);
58      }
59  
60      public void deleteMBMailingList(long mailingListId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _mbMailingListLocalService.deleteMBMailingList(mailingListId);
64      }
65  
66      public void deleteMBMailingList(
67          com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
68          throws com.liferay.portal.SystemException {
69          _mbMailingListLocalService.deleteMBMailingList(mbMailingList);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _mbMailingListLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingList(
85          long mailingListId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _mbMailingListLocalService.getMBMailingList(mailingListId);
89      }
90  
91      public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> getMBMailingLists(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _mbMailingListLocalService.getMBMailingLists(start, end);
94      }
95  
96      public int getMBMailingListsCount()
97          throws com.liferay.portal.SystemException {
98          return _mbMailingListLocalService.getMBMailingListsCount();
99      }
100 
101     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
102         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
103         throws com.liferay.portal.SystemException {
104         return _mbMailingListLocalService.updateMBMailingList(mbMailingList);
105     }
106 
107     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
108         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _mbMailingListLocalService.updateMBMailingList(mbMailingList,
111             merge);
112     }
113 
114     public com.liferay.portlet.messageboards.model.MBMailingList addMailingList(
115         java.lang.String uuid, long userId, long categoryId,
116         java.lang.String emailAddress, java.lang.String inProtocol,
117         java.lang.String inServerName, int inServerPort, boolean inUseSSL,
118         java.lang.String inUserName, java.lang.String inPassword,
119         int inReadInterval, java.lang.String outEmailAddress,
120         boolean outCustom, java.lang.String outServerName, int outServerPort,
121         boolean outUseSSL, java.lang.String outUserName,
122         java.lang.String outPassword, boolean active)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _mbMailingListLocalService.addMailingList(uuid, userId,
126             categoryId, emailAddress, inProtocol, inServerName, inServerPort,
127             inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
128             outCustom, outServerName, outServerPort, outUseSSL, outUserName,
129             outPassword, active);
130     }
131 
132     public void deleteCategoryMailingList(long categoryId)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         _mbMailingListLocalService.deleteCategoryMailingList(categoryId);
136     }
137 
138     public void deleteMailingList(long mailingListId)
139         throws com.liferay.portal.PortalException,
140             com.liferay.portal.SystemException {
141         _mbMailingListLocalService.deleteMailingList(mailingListId);
142     }
143 
144     public void deleteMailingList(
145         com.liferay.portlet.messageboards.model.MBMailingList mailingList)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _mbMailingListLocalService.deleteMailingList(mailingList);
149     }
150 
151     public com.liferay.portlet.messageboards.model.MBMailingList getCategoryMailingList(
152         long categoryId)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         return _mbMailingListLocalService.getCategoryMailingList(categoryId);
156     }
157 
158     public com.liferay.portlet.messageboards.model.MBMailingList updateMailingList(
159         long mailingListId, java.lang.String emailAddress,
160         java.lang.String inProtocol, java.lang.String inServerName,
161         int inServerPort, boolean inUseSSL, java.lang.String inUserName,
162         java.lang.String inPassword, int inReadInterval,
163         java.lang.String outEmailAddress, boolean outCustom,
164         java.lang.String outServerName, int outServerPort, boolean outUseSSL,
165         java.lang.String outUserName, java.lang.String outPassword,
166         boolean active)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         return _mbMailingListLocalService.updateMailingList(mailingListId,
170             emailAddress, inProtocol, inServerName, inServerPort, inUseSSL,
171             inUserName, inPassword, inReadInterval, outEmailAddress, outCustom,
172             outServerName, outServerPort, outUseSSL, outUserName, outPassword,
173             active);
174     }
175 
176     public MBMailingListLocalService getWrappedMBMailingListLocalService() {
177         return _mbMailingListLocalService;
178     }
179 
180     private MBMailingListLocalService _mbMailingListLocalService;
181 }