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.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.PortalException,
54              com.liferay.portal.SystemException {
55          _mbMailingListLocalService.deleteMBMailingList(mailingListId);
56      }
57  
58      public void deleteMBMailingList(
59          com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
60          throws com.liferay.portal.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.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.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.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.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.PortalException,
94              com.liferay.portal.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) throws com.liferay.portal.SystemException {
100         return _mbMailingListLocalService.getMBMailingLists(start, end);
101     }
102 
103     public int getMBMailingListsCount()
104         throws com.liferay.portal.SystemException {
105         return _mbMailingListLocalService.getMBMailingListsCount();
106     }
107 
108     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
109         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
110         throws com.liferay.portal.SystemException {
111         return _mbMailingListLocalService.updateMBMailingList(mbMailingList);
112     }
113 
114     public com.liferay.portlet.messageboards.model.MBMailingList updateMBMailingList(
115         com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _mbMailingListLocalService.updateMBMailingList(mbMailingList,
118             merge);
119     }
120 
121     public com.liferay.portlet.messageboards.model.MBMailingList addMailingList(
122         java.lang.String uuid, long userId, long categoryId,
123         java.lang.String emailAddress, java.lang.String inProtocol,
124         java.lang.String inServerName, int inServerPort, boolean inUseSSL,
125         java.lang.String inUserName, java.lang.String inPassword,
126         int inReadInterval, java.lang.String outEmailAddress,
127         boolean outCustom, java.lang.String outServerName, int outServerPort,
128         boolean outUseSSL, java.lang.String outUserName,
129         java.lang.String outPassword, boolean active)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         return _mbMailingListLocalService.addMailingList(uuid, userId,
133             categoryId, emailAddress, inProtocol, inServerName, inServerPort,
134             inUseSSL, inUserName, inPassword, inReadInterval, outEmailAddress,
135             outCustom, outServerName, outServerPort, outUseSSL, outUserName,
136             outPassword, active);
137     }
138 
139     public void deleteCategoryMailingList(long categoryId)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         _mbMailingListLocalService.deleteCategoryMailingList(categoryId);
143     }
144 
145     public void deleteMailingList(long mailingListId)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _mbMailingListLocalService.deleteMailingList(mailingListId);
149     }
150 
151     public void deleteMailingList(
152         com.liferay.portlet.messageboards.model.MBMailingList mailingList)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         _mbMailingListLocalService.deleteMailingList(mailingList);
156     }
157 
158     public com.liferay.portlet.messageboards.model.MBMailingList getCategoryMailingList(
159         long categoryId)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         return _mbMailingListLocalService.getCategoryMailingList(categoryId);
163     }
164 
165     public com.liferay.portlet.messageboards.model.MBMailingList updateMailingList(
166         long mailingListId, java.lang.String emailAddress,
167         java.lang.String inProtocol, java.lang.String inServerName,
168         int inServerPort, boolean inUseSSL, java.lang.String inUserName,
169         java.lang.String inPassword, int inReadInterval,
170         java.lang.String outEmailAddress, boolean outCustom,
171         java.lang.String outServerName, int outServerPort, boolean outUseSSL,
172         java.lang.String outUserName, java.lang.String outPassword,
173         boolean active)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         return _mbMailingListLocalService.updateMailingList(mailingListId,
177             emailAddress, inProtocol, inServerName, inServerPort, inUseSSL,
178             inUserName, inPassword, inReadInterval, outEmailAddress, outCustom,
179             outServerName, outServerPort, outUseSSL, outUserName, outPassword,
180             active);
181     }
182 
183     public MBMailingListLocalService getWrappedMBMailingListLocalService() {
184         return _mbMailingListLocalService;
185     }
186 
187     private MBMailingListLocalService _mbMailingListLocalService;
188 }