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