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