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.kernel.exception.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.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
56      }
57  
58      public void deleteAnnouncementsDelivery(
59          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
60          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException {
73          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
74              start, end);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.kernel.exception.SystemException {
82          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
83              start, end, orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
93          long deliveryId)
94          throws com.liferay.portal.kernel.exception.PortalException,
95              com.liferay.portal.kernel.exception.SystemException {
96          return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
97      }
98  
99      public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
100         int start, int end)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
103             end);
104     }
105 
106     public int getAnnouncementsDeliveriesCount()
107         throws com.liferay.portal.kernel.exception.SystemException {
108         return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
109     }
110 
111     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
112         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
113         throws com.liferay.portal.kernel.exception.SystemException {
114         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
115     }
116 
117     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
118         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
119         boolean merge)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
122             merge);
123     }
124 
125     public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
126         long userId, java.lang.String type)
127         throws com.liferay.portal.kernel.exception.PortalException,
128             com.liferay.portal.kernel.exception.SystemException {
129         return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
130     }
131 
132     public void deleteDeliveries(long userId)
133         throws com.liferay.portal.kernel.exception.SystemException {
134         _announcementsDeliveryLocalService.deleteDeliveries(userId);
135     }
136 
137     public void deleteDelivery(long deliveryId)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
141     }
142 
143     public void deleteDelivery(long userId, java.lang.String type)
144         throws com.liferay.portal.kernel.exception.SystemException {
145         _announcementsDeliveryLocalService.deleteDelivery(userId, type);
146     }
147 
148     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
149         long deliveryId)
150         throws com.liferay.portal.kernel.exception.PortalException,
151             com.liferay.portal.kernel.exception.SystemException {
152         return _announcementsDeliveryLocalService.getDelivery(deliveryId);
153     }
154 
155     public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
156         long userId)
157         throws com.liferay.portal.kernel.exception.PortalException,
158             com.liferay.portal.kernel.exception.SystemException {
159         return _announcementsDeliveryLocalService.getUserDeliveries(userId);
160     }
161 
162     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
163         long userId, java.lang.String type)
164         throws com.liferay.portal.kernel.exception.PortalException,
165             com.liferay.portal.kernel.exception.SystemException {
166         return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
167     }
168 
169     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
170         long userId, java.lang.String type, boolean email, boolean sms,
171         boolean website)
172         throws com.liferay.portal.kernel.exception.PortalException,
173             com.liferay.portal.kernel.exception.SystemException {
174         return _announcementsDeliveryLocalService.updateDelivery(userId, type,
175             email, sms, website);
176     }
177 
178     public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
179         return _announcementsDeliveryLocalService;
180     }
181 
182     private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
183 }