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      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _mbMailingListLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _mbMailingListLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.kernel.exception.SystemException {
88          return _mbMailingListLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.messageboards.model.MBMailingList getMBMailingList(
92          long mailingListId)
93          throws com.liferay.portal.kernel.exception.PortalException,
94              com.liferay.portal.kernel.exception.SystemException {
95          return _mbMailingListLocalService.getMBMailingList(mailingListId);
96      }
97  
98      public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> getMBMailingLists(
99          int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _mbMailingListLocalService.getMBMailingLists(start, end);
102     }
103 
104     public int getMBMailingListsCount()
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _mbMailingListLocalService.getMBMailingListsCount();
107     }
108 
109     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
110         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _mbMailingListLocalService.updateMBMailingList(mbMailingList);
113     }
114 
115     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
116         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
117         boolean merge)
118         throws com.liferay.portal.kernel.exception.SystemException {
119         return _mbMailingListLocalService.updateMBMailingList(mbMailingList,
120             merge);
121     }
122 
123     public com.liferay.portlet.messageboards.model.MBMailingList addMailingList(
124         java.lang.String uuid, long userId, long groupId, long categoryId,
125         java.lang.String emailAddress, java.lang.String inProtocol,
126         java.lang.String inServerName, int inServerPort, boolean inUseSSL,
127         java.lang.String inUserName, java.lang.String inPassword,
128         int inReadInterval, java.lang.String outEmailAddress,
129         boolean outCustom, java.lang.String outServerName, int outServerPort,
130         boolean outUseSSL, java.lang.String outUserName,
131         java.lang.String outPassword, boolean active)
132         throws com.liferay.portal.kernel.exception.PortalException,
133             com.liferay.portal.kernel.exception.SystemException {
134         return _mbMailingListLocalService.addMailingList(uuid, userId, groupId,
135             categoryId, emailAddress, inProtocol, inServerName, inServerPort,
136             inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
137             outCustom, outServerName, outServerPort, outUseSSL, outUserName,
138             outPassword, active);
139     }
140 
141     public void deleteCategoryMailingList(long groupId, long categoryId)
142         throws com.liferay.portal.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.SystemException {
144         _mbMailingListLocalService.deleteCategoryMailingList(groupId, categoryId);
145     }
146 
147     public void deleteMailingList(long mailingListId)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException {
150         _mbMailingListLocalService.deleteMailingList(mailingListId);
151     }
152 
153     public void deleteMailingList(
154         com.liferay.portlet.messageboards.model.MBMailingList mailingList)
155         throws com.liferay.portal.kernel.exception.PortalException,
156             com.liferay.portal.kernel.exception.SystemException {
157         _mbMailingListLocalService.deleteMailingList(mailingList);
158     }
159 
160     public com.liferay.portlet.messageboards.model.MBMailingList getCategoryMailingList(
161         long groupId, long categoryId)
162         throws com.liferay.portal.kernel.exception.PortalException,
163             com.liferay.portal.kernel.exception.SystemException {
164         return _mbMailingListLocalService.getCategoryMailingList(groupId,
165             categoryId);
166     }
167 
168     public com.liferay.portlet.messageboards.model.MBMailingList updateMailingList(
169         long mailingListId, java.lang.String emailAddress,
170         java.lang.String inProtocol, java.lang.String inServerName,
171         int inServerPort, boolean inUseSSL, java.lang.String inUserName,
172         java.lang.String inPassword, int inReadInterval,
173         java.lang.String outEmailAddress, boolean outCustom,
174         java.lang.String outServerName, int outServerPort, boolean outUseSSL,
175         java.lang.String outUserName, java.lang.String outPassword,
176         boolean active)
177         throws com.liferay.portal.kernel.exception.PortalException,
178             com.liferay.portal.kernel.exception.SystemException {
179         return _mbMailingListLocalService.updateMailingList(mailingListId,
180             emailAddress, inProtocol, inServerName, inServerPort, inUseSSL,
181             inUserName, inPassword, inReadInterval, outEmailAddress, outCustom,
182             outServerName, outServerPort, outUseSSL, outUserName, outPassword,
183             active);
184     }
185 
186     public MBMailingListLocalService getWrappedMBMailingListLocalService() {
187         return _mbMailingListLocalService;
188     }
189 
190     private MBMailingListLocalService _mbMailingListLocalService;
191 }