1
14
15 package com.liferay.portlet.calendar.service;
16
17
18
34 public class CalEventLocalServiceWrapper implements CalEventLocalService {
35 public CalEventLocalServiceWrapper(
36 CalEventLocalService calEventLocalService) {
37 _calEventLocalService = calEventLocalService;
38 }
39
40 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
41 com.liferay.portlet.calendar.model.CalEvent calEvent)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _calEventLocalService.addCalEvent(calEvent);
44 }
45
46 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
47 long eventId) {
48 return _calEventLocalService.createCalEvent(eventId);
49 }
50
51 public void deleteCalEvent(long eventId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _calEventLocalService.deleteCalEvent(eventId);
55 }
56
57 public void deleteCalEvent(
58 com.liferay.portlet.calendar.model.CalEvent calEvent)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _calEventLocalService.deleteCalEvent(calEvent);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _calEventLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException {
80 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
91 throws com.liferay.portal.kernel.exception.PortalException,
92 com.liferay.portal.kernel.exception.SystemException {
93 return _calEventLocalService.getCalEvent(eventId);
94 }
95
96 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
97 int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException {
99 return _calEventLocalService.getCalEvents(start, end);
100 }
101
102 public int getCalEventsCount()
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _calEventLocalService.getCalEventsCount();
105 }
106
107 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
108 com.liferay.portlet.calendar.model.CalEvent calEvent)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _calEventLocalService.updateCalEvent(calEvent);
111 }
112
113 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
114 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _calEventLocalService.updateCalEvent(calEvent, merge);
117 }
118
119 public com.liferay.portlet.calendar.model.CalEvent addEvent(
120 java.lang.String uuid, long userId, java.lang.String title,
121 java.lang.String description, int startDateMonth, int startDateDay,
122 int startDateYear, int startDateHour, int startDateMinute,
123 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
124 int durationMinute, boolean allDay, boolean timeZoneSensitive,
125 java.lang.String type, boolean repeating,
126 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
127 int firstReminder, int secondReminder,
128 com.liferay.portal.service.ServiceContext serviceContext)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 return _calEventLocalService.addEvent(uuid, userId, title, description,
132 startDateMonth, startDateDay, startDateYear, startDateHour,
133 startDateMinute, endDateMonth, endDateDay, endDateYear,
134 durationHour, durationMinute, allDay, timeZoneSensitive, type,
135 repeating, recurrence, remindBy, firstReminder, secondReminder,
136 serviceContext);
137 }
138
139 public void addEventResources(
140 com.liferay.portlet.calendar.model.CalEvent event,
141 boolean addCommunityPermissions, boolean addGuestPermissions)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException {
144 _calEventLocalService.addEventResources(event, addCommunityPermissions,
145 addGuestPermissions);
146 }
147
148 public void addEventResources(
149 com.liferay.portlet.calendar.model.CalEvent event,
150 java.lang.String[] communityPermissions,
151 java.lang.String[] guestPermissions)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 _calEventLocalService.addEventResources(event, communityPermissions,
155 guestPermissions);
156 }
157
158 public void addEventResources(long eventId,
159 boolean addCommunityPermissions, boolean addGuestPermissions)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 _calEventLocalService.addEventResources(eventId,
163 addCommunityPermissions, addGuestPermissions);
164 }
165
166 public void addEventResources(long eventId,
167 java.lang.String[] communityPermissions,
168 java.lang.String[] guestPermissions)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 _calEventLocalService.addEventResources(eventId, communityPermissions,
172 guestPermissions);
173 }
174
175 public void checkEvents()
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 _calEventLocalService.checkEvents();
179 }
180
181 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 _calEventLocalService.deleteEvent(event);
185 }
186
187 public void deleteEvent(long eventId)
188 throws com.liferay.portal.kernel.exception.PortalException,
189 com.liferay.portal.kernel.exception.SystemException {
190 _calEventLocalService.deleteEvent(eventId);
191 }
192
193 public void deleteEvents(long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 _calEventLocalService.deleteEvents(groupId);
197 }
198
199 public java.io.File exportEvent(long userId, long eventId)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return _calEventLocalService.exportEvent(userId, eventId);
203 }
204
205 public java.io.File exportGroupEvents(long userId, long groupId,
206 java.lang.String fileName)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
210 }
211
212 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
213 long companyId, int start, int end)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _calEventLocalService.getCompanyEvents(companyId, start, end);
216 }
217
218 public int getCompanyEventsCount(long companyId)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _calEventLocalService.getCompanyEventsCount(companyId);
221 }
222
223 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _calEventLocalService.getEvent(eventId);
227 }
228
229 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
230 long groupId, java.util.Calendar cal)
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _calEventLocalService.getEvents(groupId, cal);
233 }
234
235 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
236 long groupId, java.util.Calendar cal, java.lang.String type)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _calEventLocalService.getEvents(groupId, cal, type);
239 }
240
241 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
242 long groupId, java.lang.String type, int start, int end)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _calEventLocalService.getEvents(groupId, type, start, end);
245 }
246
247 public int getEventsCount(long groupId, java.lang.String type)
248 throws com.liferay.portal.kernel.exception.SystemException {
249 return _calEventLocalService.getEventsCount(groupId, type);
250 }
251
252 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _calEventLocalService.getNoAssetEvents();
255 }
256
257 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
258 long groupId)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _calEventLocalService.getRepeatingEvents(groupId);
261 }
262
263 public boolean hasEvents(long groupId, java.util.Calendar cal)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 return _calEventLocalService.hasEvents(groupId, cal);
266 }
267
268 public boolean hasEvents(long groupId, java.util.Calendar cal,
269 java.lang.String type)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 return _calEventLocalService.hasEvents(groupId, cal, type);
272 }
273
274 public void importICal4j(long userId, long groupId, java.io.File file)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 _calEventLocalService.importICal4j(userId, groupId, file);
278 }
279
280 public void updateAsset(long userId,
281 com.liferay.portlet.calendar.model.CalEvent event,
282 long[] assetCategoryIds, java.lang.String[] assetTagNames)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
286 assetTagNames);
287 }
288
289 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
290 long userId, long eventId, java.lang.String title,
291 java.lang.String description, int startDateMonth, int startDateDay,
292 int startDateYear, int startDateHour, int startDateMinute,
293 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
294 int durationMinute, boolean allDay, boolean timeZoneSensitive,
295 java.lang.String type, boolean repeating,
296 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
297 int firstReminder, int secondReminder,
298 com.liferay.portal.service.ServiceContext serviceContext)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 return _calEventLocalService.updateEvent(userId, eventId, title,
302 description, startDateMonth, startDateDay, startDateYear,
303 startDateHour, startDateMinute, endDateMonth, endDateDay,
304 endDateYear, durationHour, durationMinute, allDay,
305 timeZoneSensitive, type, repeating, recurrence, remindBy,
306 firstReminder, secondReminder, serviceContext);
307 }
308
309 public CalEventLocalService getWrappedCalEventLocalService() {
310 return _calEventLocalService;
311 }
312
313 private CalEventLocalService _calEventLocalService;
314 }