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 endDateMonth, int endDateDay, int endDateYear, int durationHour,
057 int durationMinute, boolean allDay, boolean timeZoneSensitive,
058 java.lang.String type, boolean repeating,
059 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
060 int firstReminder, int secondReminder,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _calEventService.addEvent(title, description, location,
065 startDateMonth, startDateDay, startDateYear, startDateHour,
066 startDateMinute, endDateMonth, endDateDay, endDateYear,
067 durationHour, durationMinute, allDay, timeZoneSensitive, type,
068 repeating, recurrence, remindBy, firstReminder, secondReminder,
069 serviceContext);
070 }
071
072 public void deleteEvent(long eventId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 _calEventService.deleteEvent(eventId);
076 }
077
078 public java.io.File exportEvent(long eventId)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 return _calEventService.exportEvent(eventId);
082 }
083
084 public java.io.File exportGroupEvents(long groupId,
085 java.lang.String fileName)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _calEventService.exportGroupEvents(groupId, fileName);
089 }
090
091 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _calEventService.getEvent(eventId);
095 }
096
097 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
098 long groupId, java.util.Calendar cal, java.lang.String type)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 return _calEventService.getEvents(groupId, cal, type);
102 }
103
104 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
105 long groupId, java.util.Calendar cal, java.lang.String[] types)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException {
108 return _calEventService.getEvents(groupId, cal, types);
109 }
110
111 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
112 long groupId, java.lang.String type, int start, int end)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _calEventService.getEvents(groupId, type, start, end);
115 }
116
117 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
118 long groupId, java.lang.String[] types, int start, int end)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _calEventService.getEvents(groupId, types, start, end);
121 }
122
123 public int getEventsCount(long groupId, java.lang.String type)
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return _calEventService.getEventsCount(groupId, type);
126 }
127
128 public int getEventsCount(long groupId, java.lang.String[] types)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 return _calEventService.getEventsCount(groupId, types);
131 }
132
133 public boolean hasEvents(long groupId, java.util.Calendar cal)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 return _calEventService.hasEvents(groupId, cal);
137 }
138
139 public boolean hasEvents(long groupId, java.util.Calendar cal,
140 java.lang.String type)
141 throws com.liferay.portal.kernel.exception.PortalException,
142 com.liferay.portal.kernel.exception.SystemException {
143 return _calEventService.hasEvents(groupId, cal, type);
144 }
145
146 public boolean hasEvents(long groupId, java.util.Calendar cal,
147 java.lang.String[] types)
148 throws com.liferay.portal.kernel.exception.PortalException,
149 com.liferay.portal.kernel.exception.SystemException {
150 return _calEventService.hasEvents(groupId, cal, types);
151 }
152
153 public void importICal4j(long groupId, java.io.InputStream inputStream)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException {
156 _calEventService.importICal4j(groupId, inputStream);
157 }
158
159 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
160 long eventId, java.lang.String title, java.lang.String description,
161 java.lang.String location, int startDateMonth, int startDateDay,
162 int startDateYear, int startDateHour, int startDateMinute,
163 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
164 int durationMinute, boolean allDay, boolean timeZoneSensitive,
165 java.lang.String type, boolean repeating,
166 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
167 int firstReminder, int secondReminder,
168 com.liferay.portal.service.ServiceContext serviceContext)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _calEventService.updateEvent(eventId, title, description,
172 location, startDateMonth, startDateDay, startDateYear,
173 startDateHour, startDateMinute, endDateMonth, endDateDay,
174 endDateYear, durationHour, durationMinute, allDay,
175 timeZoneSensitive, type, repeating, recurrence, remindBy,
176 firstReminder, secondReminder, serviceContext);
177 }
178
179
182 public CalEventService getWrappedCalEventService() {
183 return _calEventService;
184 }
185
186
189 public void setWrappedCalEventService(CalEventService calEventService) {
190 _calEventService = calEventService;
191 }
192
193 public CalEventService getWrappedService() {
194 return _calEventService;
195 }
196
197 public void setWrappedService(CalEventService calEventService) {
198 _calEventService = calEventService;
199 }
200
201 private CalEventService _calEventService;
202 }