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.announcements.service;
16  
17  
18  /**
19   * <a href="AnnouncementsDeliveryLocalServiceUtil.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 AnnouncementsDeliveryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AnnouncementsDeliveryLocalService
32   * @generated
33   */
34  public class AnnouncementsDeliveryLocalServiceWrapper
35      implements AnnouncementsDeliveryLocalService {
36      public AnnouncementsDeliveryLocalServiceWrapper(
37          AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
38          _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
39      }
40  
41      public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
42          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
43          throws com.liferay.portal.SystemException {
44          return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
45      }
46  
47      public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
48          long deliveryId) {
49          return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
50      }
51  
52      public void deleteAnnouncementsDelivery(long deliveryId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
56      }
57  
58      public void deleteAnnouncementsDelivery(
59          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
60          throws com.liferay.portal.SystemException {
61          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
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 _announcementsDeliveryLocalService.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 _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
74              start, end);
75      }
76  
77      public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
78          long deliveryId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
82      }
83  
84      public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
87              end);
88      }
89  
90      public int getAnnouncementsDeliveriesCount()
91          throws com.liferay.portal.SystemException {
92          return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
93      }
94  
95      public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
96          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
97          throws com.liferay.portal.SystemException {
98          return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
99      }
100 
101     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
102         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
103         boolean merge) throws com.liferay.portal.SystemException {
104         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
105             merge);
106     }
107 
108     public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
109         long userId, java.lang.String type)
110         throws com.liferay.portal.PortalException,
111             com.liferay.portal.SystemException {
112         return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
113     }
114 
115     public void deleteDeliveries(long userId)
116         throws com.liferay.portal.SystemException {
117         _announcementsDeliveryLocalService.deleteDeliveries(userId);
118     }
119 
120     public void deleteDelivery(long deliveryId)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
124     }
125 
126     public void deleteDelivery(long userId, java.lang.String type)
127         throws com.liferay.portal.SystemException {
128         _announcementsDeliveryLocalService.deleteDelivery(userId, type);
129     }
130 
131     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
132         long deliveryId)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _announcementsDeliveryLocalService.getDelivery(deliveryId);
136     }
137 
138     public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
139         long userId)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         return _announcementsDeliveryLocalService.getUserDeliveries(userId);
143     }
144 
145     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
146         long userId, java.lang.String type)
147         throws com.liferay.portal.PortalException,
148             com.liferay.portal.SystemException {
149         return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
150     }
151 
152     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
153         long userId, java.lang.String type, boolean email, boolean sms,
154         boolean website)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _announcementsDeliveryLocalService.updateDelivery(userId, type,
158             email, sms, website);
159     }
160 
161     public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
162         return _announcementsDeliveryLocalService;
163     }
164 
165     private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
166 }