1
14
15 package com.liferay.portlet.calendar.service;
16
17
18
34 public class CalEventServiceWrapper implements CalEventService {
35 public CalEventServiceWrapper(CalEventService calEventService) {
36 _calEventService = calEventService;
37 }
38
39 public com.liferay.portlet.calendar.model.CalEvent addEvent(long plid,
40 java.lang.String title, java.lang.String description,
41 int startDateMonth, int startDateDay, int startDateYear,
42 int startDateHour, int startDateMinute, int endDateMonth,
43 int endDateDay, int endDateYear, int durationHour, int durationMinute,
44 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
45 boolean repeating,
46 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
47 int firstReminder, int secondReminder, boolean addCommunityPermissions,
48 boolean addGuestPermissions)
49 throws com.liferay.portal.PortalException,
50 com.liferay.portal.SystemException, java.rmi.RemoteException {
51 return _calEventService.addEvent(plid, title, description,
52 startDateMonth, startDateDay, startDateYear, startDateHour,
53 startDateMinute, endDateMonth, endDateDay, endDateYear,
54 durationHour, durationMinute, allDay, timeZoneSensitive, type,
55 repeating, recurrence, remindBy, firstReminder, secondReminder,
56 addCommunityPermissions, addGuestPermissions);
57 }
58
59 public com.liferay.portlet.calendar.model.CalEvent addEvent(long plid,
60 java.lang.String title, java.lang.String description,
61 int startDateMonth, int startDateDay, int startDateYear,
62 int startDateHour, int startDateMinute, int endDateMonth,
63 int endDateDay, int endDateYear, int durationHour, int durationMinute,
64 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
65 boolean repeating,
66 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
67 int firstReminder, int secondReminder,
68 java.lang.String[] communityPermissions,
69 java.lang.String[] guestPermissions)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException, java.rmi.RemoteException {
72 return _calEventService.addEvent(plid, title, description,
73 startDateMonth, startDateDay, startDateYear, startDateHour,
74 startDateMinute, endDateMonth, endDateDay, endDateYear,
75 durationHour, durationMinute, allDay, timeZoneSensitive, type,
76 repeating, recurrence, remindBy, firstReminder, secondReminder,
77 communityPermissions, guestPermissions);
78 }
79
80 public void deleteEvent(long eventId)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException, java.rmi.RemoteException {
83 _calEventService.deleteEvent(eventId);
84 }
85
86 public java.io.File exportEvent(long eventId)
87 throws com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException, java.rmi.RemoteException {
89 return _calEventService.exportEvent(eventId);
90 }
91
92 public java.io.File exportGroupEvents(long plid, java.lang.String fileName)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException, java.rmi.RemoteException {
95 return _calEventService.exportGroupEvents(plid, fileName);
96 }
97
98 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException, java.rmi.RemoteException {
101 return _calEventService.getEvent(eventId);
102 }
103
104 public void importICal4j(long plid, java.io.File file)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException, java.rmi.RemoteException {
107 _calEventService.importICal4j(plid, file);
108 }
109
110 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
111 long eventId, java.lang.String title, java.lang.String description,
112 int startDateMonth, int startDateDay, int startDateYear,
113 int startDateHour, int startDateMinute, int endDateMonth,
114 int endDateDay, int endDateYear, int durationHour, int durationMinute,
115 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
116 boolean repeating,
117 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
118 int firstReminder, int secondReminder)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException, java.rmi.RemoteException {
121 return _calEventService.updateEvent(eventId, title, description,
122 startDateMonth, startDateDay, startDateYear, startDateHour,
123 startDateMinute, endDateMonth, endDateDay, endDateYear,
124 durationHour, durationMinute, allDay, timeZoneSensitive, type,
125 repeating, recurrence, remindBy, firstReminder, secondReminder);
126 }
127
128 public CalEventService getWrappedCalEventService() {
129 return _calEventService;
130 }
131
132 private CalEventService _calEventService;
133 }