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