1
14
15 package com.liferay.portlet.announcements.service;
16
17
33 public class AnnouncementsDeliveryLocalServiceWrapper
34 implements AnnouncementsDeliveryLocalService {
35 public AnnouncementsDeliveryLocalServiceWrapper(
36 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
37 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
38 }
39
40 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
41 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
42 throws com.liferay.portal.SystemException {
43 return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
44 }
45
46 public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
47 long deliveryId) {
48 return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
49 }
50
51 public void deleteAnnouncementsDelivery(long deliveryId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
55 }
56
57 public void deleteAnnouncementsDelivery(
58 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
59 throws com.liferay.portal.SystemException {
60 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
61 }
62
63 @SuppressWarnings("rawtypes")
64 public java.util.List dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException {
67 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 @SuppressWarnings("rawtypes")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException {
74 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
75 start, end);
76 }
77
78 @SuppressWarnings("rawtypes")
79 public java.util.List dynamicQuery(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81 int end,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException {
84 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
85 start, end, orderByComparator);
86 }
87
88 public int dynamicQueryCount(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90 throws com.liferay.portal.SystemException {
91 return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
92 }
93
94 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
95 long deliveryId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
99 }
100
101 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
102 int start, int end) throws com.liferay.portal.SystemException {
103 return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
104 end);
105 }
106
107 public int getAnnouncementsDeliveriesCount()
108 throws com.liferay.portal.SystemException {
109 return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
110 }
111
112 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
113 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
114 throws com.liferay.portal.SystemException {
115 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
116 }
117
118 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
119 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
120 boolean merge) throws com.liferay.portal.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.PortalException,
128 com.liferay.portal.SystemException {
129 return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
130 }
131
132 public void deleteDeliveries(long userId)
133 throws com.liferay.portal.SystemException {
134 _announcementsDeliveryLocalService.deleteDeliveries(userId);
135 }
136
137 public void deleteDelivery(long deliveryId)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException {
140 _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
141 }
142
143 public void deleteDelivery(long userId, java.lang.String type)
144 throws com.liferay.portal.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.PortalException,
151 com.liferay.portal.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.PortalException,
158 com.liferay.portal.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.PortalException,
165 com.liferay.portal.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.PortalException,
173 com.liferay.portal.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 }