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