1
22
23 package com.liferay.portlet.calendar.service;
24
25
26
50 public interface CalEventLocalService {
51 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
52 com.liferay.portlet.calendar.model.CalEvent calEvent)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
56 long eventId);
57
58 public void deleteCalEvent(long eventId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteCalEvent(
63 com.liferay.portlet.calendar.model.CalEvent calEvent)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException;
77
78 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
79 int start, int end) throws com.liferay.portal.SystemException;
80
81 public int getCalEventsCount() throws com.liferay.portal.SystemException;
82
83 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
84 com.liferay.portlet.calendar.model.CalEvent calEvent)
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
88 long plid, java.lang.String title, java.lang.String description,
89 int startDateMonth, int startDateDay, int startDateYear,
90 int startDateHour, int startDateMinute, int endDateMonth,
91 int endDateDay, int endDateYear, int durationHour, int durationMinute,
92 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
93 boolean repeating,
94 com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
95 java.lang.String remindBy, int firstReminder, int secondReminder,
96 boolean addCommunityPermissions, boolean addGuestPermissions)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.calendar.model.CalEvent addEvent(
101 java.lang.String uuid, long userId, long plid, java.lang.String title,
102 java.lang.String description, int startDateMonth, int startDateDay,
103 int startDateYear, int startDateHour, int startDateMinute,
104 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
105 int durationMinute, boolean allDay, boolean timeZoneSensitive,
106 java.lang.String type, boolean repeating,
107 com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
108 java.lang.String remindBy, int firstReminder, int secondReminder,
109 boolean addCommunityPermissions, boolean addGuestPermissions)
110 throws com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
114 long plid, java.lang.String title, java.lang.String description,
115 int startDateMonth, int startDateDay, int startDateYear,
116 int startDateHour, int startDateMinute, int endDateMonth,
117 int endDateDay, int endDateYear, int durationHour, int durationMinute,
118 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
119 boolean repeating,
120 com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
121 java.lang.String remindBy, int firstReminder, int secondReminder,
122 java.lang.String[] communityPermissions,
123 java.lang.String[] guestPermissions)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException;
126
127 public com.liferay.portlet.calendar.model.CalEvent addEvent(
128 java.lang.String uuid, long userId, long plid, java.lang.String title,
129 java.lang.String description, int startDateMonth, int startDateDay,
130 int startDateYear, int startDateHour, int startDateMinute,
131 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
132 int durationMinute, boolean allDay, boolean timeZoneSensitive,
133 java.lang.String type, boolean repeating,
134 com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
135 java.lang.String remindBy, int firstReminder, int secondReminder,
136 java.lang.Boolean addCommunityPermissions,
137 java.lang.Boolean addGuestPermissions,
138 java.lang.String[] communityPermissions,
139 java.lang.String[] guestPermissions)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException;
142
143 public void addEventResources(long eventId,
144 boolean addCommunityPermissions, boolean addGuestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException;
147
148 public void addEventResources(
149 com.liferay.portlet.calendar.model.CalEvent event,
150 boolean addCommunityPermissions, boolean addGuestPermissions)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException;
153
154 public void addEventResources(long eventId,
155 java.lang.String[] communityPermissions,
156 java.lang.String[] guestPermissions)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException;
159
160 public void addEventResources(
161 com.liferay.portlet.calendar.model.CalEvent event,
162 java.lang.String[] communityPermissions,
163 java.lang.String[] guestPermissions)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException;
166
167 public void checkEvents()
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException;
170
171 public void deleteEvent(long eventId)
172 throws com.liferay.portal.PortalException,
173 com.liferay.portal.SystemException;
174
175 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException;
178
179 public void deleteEvents(long groupId)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException;
182
183 public java.io.File exportEvent(long userId, long eventId)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException;
186
187 public java.io.File exportGroupEvents(long userId, long plid,
188 java.lang.String fileName)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException;
191
192 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException;
195
196 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
197 long groupId, java.lang.String type, int start, int end)
198 throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
201 long groupId, java.util.Calendar cal)
202 throws com.liferay.portal.SystemException;
203
204 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
205 long groupId, java.util.Calendar cal, java.lang.String type)
206 throws com.liferay.portal.SystemException;
207
208 public int getEventsCount(long groupId, java.lang.String type)
209 throws com.liferay.portal.SystemException;
210
211 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
212 long groupId) throws com.liferay.portal.SystemException;
213
214 public boolean hasEvents(long groupId, java.util.Calendar cal)
215 throws com.liferay.portal.SystemException;
216
217 public boolean hasEvents(long groupId, java.util.Calendar cal,
218 java.lang.String type) throws com.liferay.portal.SystemException;
219
220 public void importICal4j(long userId, long plid, java.io.File file)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException;
223
224 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
225 long userId, long eventId, java.lang.String title,
226 java.lang.String description, int startDateMonth, int startDateDay,
227 int startDateYear, int startDateHour, int startDateMinute,
228 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
229 int durationMinute, boolean allDay, boolean timeZoneSensitive,
230 java.lang.String type, boolean repeating,
231 com.liferay.portal.kernel.cal.TZSRecurrence recurrence,
232 java.lang.String remindBy, int firstReminder, int secondReminder)
233 throws com.liferay.portal.PortalException,
234 com.liferay.portal.SystemException;
235 }