001
014
015 package com.liferay.portlet.calendar.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class CalEventServiceWrapper implements CalEventService,
029 ServiceWrapper<CalEventService> {
030 public CalEventServiceWrapper(CalEventService calEventService) {
031 _calEventService = calEventService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _calEventService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _calEventService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.calendar.model.CalEvent addEvent(
053 java.lang.String title, java.lang.String description,
054 java.lang.String location, int startDateMonth, int startDateDay,
055 int startDateYear, int startDateHour, int startDateMinute,
056 int durationHour, int durationMinute, boolean allDay,
057 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
058 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
059 int firstReminder, int secondReminder,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _calEventService.addEvent(title, description, location,
064 startDateMonth, startDateDay, startDateYear, startDateHour,
065 startDateMinute, durationHour, durationMinute, allDay,
066 timeZoneSensitive, type, repeating, recurrence, remindBy,
067 firstReminder, secondReminder, serviceContext);
068 }
069
070
075 public com.liferay.portlet.calendar.model.CalEvent addEvent(
076 java.lang.String title, java.lang.String description,
077 java.lang.String location, int startDateMonth, int startDateDay,
078 int startDateYear, int startDateHour, int startDateMinute,
079 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
080 int durationMinute, boolean allDay, boolean timeZoneSensitive,
081 java.lang.String type, boolean repeating,
082 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
083 int firstReminder, int secondReminder,
084 com.liferay.portal.service.ServiceContext serviceContext)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 return _calEventService.addEvent(title, description, location,
088 startDateMonth, startDateDay, startDateYear, startDateHour,
089 startDateMinute, endDateMonth, endDateDay, endDateYear,
090 durationHour, durationMinute, allDay, timeZoneSensitive, type,
091 repeating, recurrence, remindBy, firstReminder, secondReminder,
092 serviceContext);
093 }
094
095 public void deleteEvent(long eventId)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException {
098 _calEventService.deleteEvent(eventId);
099 }
100
101 public java.io.File exportEvent(long eventId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _calEventService.exportEvent(eventId);
105 }
106
107 public java.io.File exportGroupEvents(long groupId,
108 java.lang.String fileName)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException {
111 return _calEventService.exportGroupEvents(groupId, fileName);
112 }
113
114 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
115 throws com.liferay.portal.kernel.exception.PortalException,
116 com.liferay.portal.kernel.exception.SystemException {
117 return _calEventService.getEvent(eventId);
118 }
119
120 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
121 long groupId, java.util.Calendar cal, java.lang.String type)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException {
124 return _calEventService.getEvents(groupId, cal, type);
125 }
126
127 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
128 long groupId, java.util.Calendar cal, java.lang.String[] types)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 return _calEventService.getEvents(groupId, cal, types);
132 }
133
134 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
135 long groupId, java.lang.String type, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _calEventService.getEvents(groupId, type, start, end);
138 }
139
140 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
141 long groupId, java.lang.String[] types, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _calEventService.getEvents(groupId, types, start, end);
144 }
145
146 public int getEventsCount(long groupId, java.lang.String type)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _calEventService.getEventsCount(groupId, type);
149 }
150
151 public int getEventsCount(long groupId, java.lang.String[] types)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _calEventService.getEventsCount(groupId, types);
154 }
155
156 public boolean hasEvents(long groupId, java.util.Calendar cal)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException {
159 return _calEventService.hasEvents(groupId, cal);
160 }
161
162 public boolean hasEvents(long groupId, java.util.Calendar cal,
163 java.lang.String type)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _calEventService.hasEvents(groupId, cal, type);
167 }
168
169 public boolean hasEvents(long groupId, java.util.Calendar cal,
170 java.lang.String[] types)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _calEventService.hasEvents(groupId, cal, types);
174 }
175
176 public void importICal4j(long groupId, java.io.InputStream inputStream)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 _calEventService.importICal4j(groupId, inputStream);
180 }
181
182 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
183 long eventId, java.lang.String title, java.lang.String description,
184 java.lang.String location, int startDateMonth, int startDateDay,
185 int startDateYear, int startDateHour, int startDateMinute,
186 int durationHour, int durationMinute, boolean allDay,
187 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
188 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
189 int firstReminder, int secondReminder,
190 com.liferay.portal.service.ServiceContext serviceContext)
191 throws com.liferay.portal.kernel.exception.PortalException,
192 com.liferay.portal.kernel.exception.SystemException {
193 return _calEventService.updateEvent(eventId, title, description,
194 location, startDateMonth, startDateDay, startDateYear,
195 startDateHour, startDateMinute, durationHour, durationMinute,
196 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
197 firstReminder, secondReminder, serviceContext);
198 }
199
200
205 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
206 long eventId, java.lang.String title, java.lang.String description,
207 java.lang.String location, int startDateMonth, int startDateDay,
208 int startDateYear, int startDateHour, int startDateMinute,
209 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
210 int durationMinute, boolean allDay, boolean timeZoneSensitive,
211 java.lang.String type, boolean repeating,
212 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
213 int firstReminder, int secondReminder,
214 com.liferay.portal.service.ServiceContext serviceContext)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException {
217 return _calEventService.updateEvent(eventId, title, description,
218 location, startDateMonth, startDateDay, startDateYear,
219 startDateHour, startDateMinute, endDateMonth, endDateDay,
220 endDateYear, durationHour, durationMinute, allDay,
221 timeZoneSensitive, type, repeating, recurrence, remindBy,
222 firstReminder, secondReminder, serviceContext);
223 }
224
225
228 public CalEventService getWrappedCalEventService() {
229 return _calEventService;
230 }
231
232
235 public void setWrappedCalEventService(CalEventService calEventService) {
236 _calEventService = calEventService;
237 }
238
239 public CalEventService getWrappedService() {
240 return _calEventService;
241 }
242
243 public void setWrappedService(CalEventService calEventService) {
244 _calEventService = calEventService;
245 }
246
247 private CalEventService _calEventService;
248 }