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