1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.service;
16  
17  
18  /**
19   * <a href="MBMailingListLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link MBMailingListLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBMailingListLocalService
32   * @generated
33   */
34  public class MBMailingListLocalServiceWrapper
35      implements MBMailingListLocalService {
36      public MBMailingListLocalServiceWrapper(
37          MBMailingListLocalService mbMailingListLocalService) {
38          _mbMailingListLocalService = mbMailingListLocalService;
39      }
40  
41      public com.liferay.portlet.messageboards.model.MBMailingList addMBMailingList(
42          com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _mbMailingListLocalService.addMBMailingList(mbMailingList);
45      }
46  
47      public com.liferay.portlet.messageboards.model.MBMailingList createMBMailingList(
48          long mailingListId) {
49          return _mbMailingListLocalService.createMBMailingList(mailingListId);
50      }
51  
52      public void deleteMBMailingList(long mailingListId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _mbMailingListLocalService.deleteMBMailingList(mailingListId);
56      }
57  
58      public void deleteMBMailingList(
59          com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _mbMailingListLocalService.deleteMBMailingList(mbMailingList);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _mbMailingListLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start, end);
76      }
77  
78      @SuppressWarnings("unchecked")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public long dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.kernel.exception.SystemException {
91          return _mbMailingListLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingList(
95          long mailingListId)
96          throws com.liferay.portal.kernel.exception.PortalException,
97              com.liferay.portal.kernel.exception.SystemException {
98          return _mbMailingListLocalService.getMBMailingList(mailingListId);
99      }
100 
101     public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingListByUuidAndGroupId(
102         java.lang.String uuid, long groupId)
103         throws com.liferay.portal.kernel.exception.PortalException,
104             com.liferay.portal.kernel.exception.SystemException {
105         return _mbMailingListLocalService.getMBMailingListByUuidAndGroupId(uuid,
106             groupId);
107     }
108 
109     public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> getMBMailingLists(
110         int start, int end)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _mbMailingListLocalService.getMBMailingLists(start, end);
113     }
114 
115     public int getMBMailingListsCount()
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _mbMailingListLocalService.getMBMailingListsCount();
118     }
119 
120     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
121         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
122         throws com.liferay.portal.kernel.exception.SystemException {
123         return _mbMailingListLocalService.updateMBMailingList(mbMailingList);
124     }
125 
126     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
127         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
128         boolean merge)
129         throws com.liferay.portal.kernel.exception.SystemException {
130         return _mbMailingListLocalService.updateMBMailingList(mbMailingList,
131             merge);
132     }
133 
134     public com.liferay.portlet.messageboards.model.MBMailingList addMailingList(
135         java.lang.String uuid, long userId, long groupId, long categoryId,
136         java.lang.String emailAddress, java.lang.String inProtocol,
137         java.lang.String inServerName, int inServerPort, boolean inUseSSL,
138         java.lang.String inUserName, java.lang.String inPassword,
139         int inReadInterval, java.lang.String outEmailAddress,
140         boolean outCustom, java.lang.String outServerName, int outServerPort,
141         boolean outUseSSL, java.lang.String outUserName,
142         java.lang.String outPassword, boolean active,
143         com.liferay.portal.service.ServiceContext serviceContext)
144         throws com.liferay.portal.kernel.exception.PortalException,
145             com.liferay.portal.kernel.exception.SystemException {
146         return _mbMailingListLocalService.addMailingList(uuid, userId, groupId,
147             categoryId, emailAddress, inProtocol, inServerName, inServerPort,
148             inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
149             outCustom, outServerName, outServerPort, outUseSSL, outUserName,
150             outPassword, active, serviceContext);
151     }
152 
153     public void deleteCategoryMailingList(long groupId, long categoryId)
154         throws com.liferay.portal.kernel.exception.PortalException,
155             com.liferay.portal.kernel.exception.SystemException {
156         _mbMailingListLocalService.deleteCategoryMailingList(groupId, categoryId);
157     }
158 
159     public void deleteMailingList(long mailingListId)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException {
162         _mbMailingListLocalService.deleteMailingList(mailingListId);
163     }
164 
165     public void deleteMailingList(
166         com.liferay.portlet.messageboards.model.MBMailingList mailingList)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         _mbMailingListLocalService.deleteMailingList(mailingList);
170     }
171 
172     public com.liferay.portlet.messageboards.model.MBMailingList getCategoryMailingList(
173         long groupId, long categoryId)
174         throws com.liferay.portal.kernel.exception.PortalException,
175             com.liferay.portal.kernel.exception.SystemException {
176         return _mbMailingListLocalService.getCategoryMailingList(groupId,
177             categoryId);
178     }
179 
180     public com.liferay.portlet.messageboards.model.MBMailingList updateMailingList(
181         long mailingListId, java.lang.String emailAddress,
182         java.lang.String inProtocol, java.lang.String inServerName,
183         int inServerPort, boolean inUseSSL, java.lang.String inUserName,
184         java.lang.String inPassword, int inReadInterval,
185         java.lang.String outEmailAddress, boolean outCustom,
186         java.lang.String outServerName, int outServerPort, boolean outUseSSL,
187         java.lang.String outUserName, java.lang.String outPassword,
188         boolean active, com.liferay.portal.service.ServiceContext serviceContext)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         return _mbMailingListLocalService.updateMailingList(mailingListId,
192             emailAddress, inProtocol, inServerName, inServerPort, inUseSSL,
193             inUserName, inPassword, inReadInterval, outEmailAddress, outCustom,
194             outServerName, outServerPort, outUseSSL, outUserName, outPassword,
195             active, serviceContext);
196     }
197 
198     public MBMailingListLocalService getWrappedMBMailingListLocalService() {
199         return _mbMailingListLocalService;
200     }
201 
202     private MBMailingListLocalService _mbMailingListLocalService;
203 }