001
014
015 package com.liferay.portlet.announcements.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AnnouncementsDeliveryLocalServiceWrapper
029 implements AnnouncementsDeliveryLocalService,
030 ServiceWrapper<AnnouncementsDeliveryLocalService> {
031 public AnnouncementsDeliveryLocalServiceWrapper(
032 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
033 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
034 }
035
036
043 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
044 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
047 }
048
049
055 public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
056 long deliveryId) {
057 return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
058 }
059
060
067 public void deleteAnnouncementsDelivery(long deliveryId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
071 }
072
073
079 public void deleteAnnouncementsDelivery(
080 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
083 }
084
085
092 @SuppressWarnings("rawtypes")
093 public java.util.List dynamicQuery(
094 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
097 }
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException {
116 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
117 start, end);
118 }
119
120
134 @SuppressWarnings("rawtypes")
135 public java.util.List dynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
137 int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
141 start, end, orderByComparator);
142 }
143
144
151 public long dynamicQueryCount(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
155 }
156
157 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchAnnouncementsDelivery(
158 long deliveryId)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _announcementsDeliveryLocalService.fetchAnnouncementsDelivery(deliveryId);
161 }
162
163
171 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
172 long deliveryId)
173 throws com.liferay.portal.kernel.exception.PortalException,
174 com.liferay.portal.kernel.exception.SystemException {
175 return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
176 }
177
178 public com.liferay.portal.model.PersistedModel getPersistedModel(
179 java.io.Serializable primaryKeyObj)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _announcementsDeliveryLocalService.getPersistedModel(primaryKeyObj);
183 }
184
185
197 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
201 end);
202 }
203
204
210 public int getAnnouncementsDeliveriesCount()
211 throws com.liferay.portal.kernel.exception.SystemException {
212 return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
213 }
214
215
222 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
223 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
226 }
227
228
236 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
237 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
238 boolean merge)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
241 merge);
242 }
243
244
249 public java.lang.String getBeanIdentifier() {
250 return _announcementsDeliveryLocalService.getBeanIdentifier();
251 }
252
253
258 public void setBeanIdentifier(java.lang.String beanIdentifier) {
259 _announcementsDeliveryLocalService.setBeanIdentifier(beanIdentifier);
260 }
261
262 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
263 long userId, java.lang.String type)
264 throws com.liferay.portal.kernel.exception.PortalException,
265 com.liferay.portal.kernel.exception.SystemException {
266 return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
267 }
268
269 public void deleteDeliveries(long userId)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 _announcementsDeliveryLocalService.deleteDeliveries(userId);
272 }
273
274 public void deleteDelivery(
275 com.liferay.portlet.announcements.model.AnnouncementsDelivery delivery)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 _announcementsDeliveryLocalService.deleteDelivery(delivery);
278 }
279
280 public void deleteDelivery(long deliveryId)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
284 }
285
286 public void deleteDelivery(long userId, java.lang.String type)
287 throws com.liferay.portal.kernel.exception.SystemException {
288 _announcementsDeliveryLocalService.deleteDelivery(userId, type);
289 }
290
291 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
292 long deliveryId)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _announcementsDeliveryLocalService.getDelivery(deliveryId);
296 }
297
298 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
299 long userId)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _announcementsDeliveryLocalService.getUserDeliveries(userId);
303 }
304
305 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
306 long userId, java.lang.String type)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
310 }
311
312 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
313 long userId, java.lang.String type, boolean email, boolean sms,
314 boolean website)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 return _announcementsDeliveryLocalService.updateDelivery(userId, type,
318 email, sms, website);
319 }
320
321
324 public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
325 return _announcementsDeliveryLocalService;
326 }
327
328
331 public void setWrappedAnnouncementsDeliveryLocalService(
332 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
333 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
334 }
335
336 public AnnouncementsDeliveryLocalService getWrappedService() {
337 return _announcementsDeliveryLocalService;
338 }
339
340 public void setWrappedService(
341 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
342 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
343 }
344
345 private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
346 }