1
22
23 package com.liferay.portlet.calendar.service.persistence;
24
25
31 public class CalEventUtil {
32 public static com.liferay.portlet.calendar.model.CalEvent create(
33 long eventId) {
34 return getPersistence().create(eventId);
35 }
36
37 public static com.liferay.portlet.calendar.model.CalEvent remove(
38 long eventId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.calendar.NoSuchEventException {
41 return getPersistence().remove(eventId);
42 }
43
44 public static com.liferay.portlet.calendar.model.CalEvent remove(
45 com.liferay.portlet.calendar.model.CalEvent calEvent)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(calEvent);
48 }
49
50
53 public static com.liferay.portlet.calendar.model.CalEvent update(
54 com.liferay.portlet.calendar.model.CalEvent calEvent)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(calEvent);
57 }
58
59
72 public static com.liferay.portlet.calendar.model.CalEvent update(
73 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
74 throws com.liferay.portal.SystemException {
75 return getPersistence().update(calEvent, merge);
76 }
77
78 public static com.liferay.portlet.calendar.model.CalEvent updateImpl(
79 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
80 throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(calEvent, merge);
82 }
83
84 public static com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(
85 long eventId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.calendar.NoSuchEventException {
88 return getPersistence().findByPrimaryKey(eventId);
89 }
90
91 public static com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(
92 long eventId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(eventId);
94 }
95
96 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
97 java.lang.String uuid) throws com.liferay.portal.SystemException {
98 return getPersistence().findByUuid(uuid);
99 }
100
101 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
102 java.lang.String uuid, int start, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByUuid(uuid, start, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
108 java.lang.String uuid, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByUuid(uuid, start, end, obc);
112 }
113
114 public static com.liferay.portlet.calendar.model.CalEvent findByUuid_First(
115 java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.calendar.NoSuchEventException {
119 return getPersistence().findByUuid_First(uuid, obc);
120 }
121
122 public static com.liferay.portlet.calendar.model.CalEvent findByUuid_Last(
123 java.lang.String uuid,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.calendar.NoSuchEventException {
127 return getPersistence().findByUuid_Last(uuid, obc);
128 }
129
130 public static com.liferay.portlet.calendar.model.CalEvent[] findByUuid_PrevAndNext(
131 long eventId, java.lang.String uuid,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.calendar.NoSuchEventException {
135 return getPersistence().findByUuid_PrevAndNext(eventId, uuid, obc);
136 }
137
138 public static com.liferay.portlet.calendar.model.CalEvent findByUUID_G(
139 java.lang.String uuid, long groupId)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.calendar.NoSuchEventException {
142 return getPersistence().findByUUID_G(uuid, groupId);
143 }
144
145 public static com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(
146 java.lang.String uuid, long groupId)
147 throws com.liferay.portal.SystemException {
148 return getPersistence().fetchByUUID_G(uuid, groupId);
149 }
150
151 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
152 long groupId) throws com.liferay.portal.SystemException {
153 return getPersistence().findByGroupId(groupId);
154 }
155
156 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
157 long groupId, int start, int end)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findByGroupId(groupId, start, end);
160 }
161
162 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
163 long groupId, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findByGroupId(groupId, start, end, obc);
167 }
168
169 public static com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(
170 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.calendar.NoSuchEventException {
173 return getPersistence().findByGroupId_First(groupId, obc);
174 }
175
176 public static com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(
177 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.calendar.NoSuchEventException {
180 return getPersistence().findByGroupId_Last(groupId, obc);
181 }
182
183 public static com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(
184 long eventId, long groupId,
185 com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.calendar.NoSuchEventException {
188 return getPersistence().findByGroupId_PrevAndNext(eventId, groupId, obc);
189 }
190
191 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
192 long groupId, java.lang.String type)
193 throws com.liferay.portal.SystemException {
194 return getPersistence().findByG_T(groupId, type);
195 }
196
197 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
198 long groupId, java.lang.String type, int start, int end)
199 throws com.liferay.portal.SystemException {
200 return getPersistence().findByG_T(groupId, type, start, end);
201 }
202
203 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
204 long groupId, java.lang.String type, int start, int end,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException {
207 return getPersistence().findByG_T(groupId, type, start, end, obc);
208 }
209
210 public static com.liferay.portlet.calendar.model.CalEvent findByG_T_First(
211 long groupId, java.lang.String type,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException,
214 com.liferay.portlet.calendar.NoSuchEventException {
215 return getPersistence().findByG_T_First(groupId, type, obc);
216 }
217
218 public static com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(
219 long groupId, java.lang.String type,
220 com.liferay.portal.kernel.util.OrderByComparator obc)
221 throws com.liferay.portal.SystemException,
222 com.liferay.portlet.calendar.NoSuchEventException {
223 return getPersistence().findByG_T_Last(groupId, type, obc);
224 }
225
226 public static com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(
227 long eventId, long groupId, java.lang.String type,
228 com.liferay.portal.kernel.util.OrderByComparator obc)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.calendar.NoSuchEventException {
231 return getPersistence()
232 .findByG_T_PrevAndNext(eventId, groupId, type, obc);
233 }
234
235 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
236 long groupId, boolean repeating)
237 throws com.liferay.portal.SystemException {
238 return getPersistence().findByG_R(groupId, repeating);
239 }
240
241 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
242 long groupId, boolean repeating, int start, int end)
243 throws com.liferay.portal.SystemException {
244 return getPersistence().findByG_R(groupId, repeating, start, end);
245 }
246
247 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
248 long groupId, boolean repeating, int start, int end,
249 com.liferay.portal.kernel.util.OrderByComparator obc)
250 throws com.liferay.portal.SystemException {
251 return getPersistence().findByG_R(groupId, repeating, start, end, obc);
252 }
253
254 public static com.liferay.portlet.calendar.model.CalEvent findByG_R_First(
255 long groupId, boolean repeating,
256 com.liferay.portal.kernel.util.OrderByComparator obc)
257 throws com.liferay.portal.SystemException,
258 com.liferay.portlet.calendar.NoSuchEventException {
259 return getPersistence().findByG_R_First(groupId, repeating, obc);
260 }
261
262 public static com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(
263 long groupId, boolean repeating,
264 com.liferay.portal.kernel.util.OrderByComparator obc)
265 throws com.liferay.portal.SystemException,
266 com.liferay.portlet.calendar.NoSuchEventException {
267 return getPersistence().findByG_R_Last(groupId, repeating, obc);
268 }
269
270 public static com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(
271 long eventId, long groupId, boolean repeating,
272 com.liferay.portal.kernel.util.OrderByComparator obc)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.calendar.NoSuchEventException {
275 return getPersistence()
276 .findByG_R_PrevAndNext(eventId, groupId, repeating, obc);
277 }
278
279 public static java.util.List<Object> findWithDynamicQuery(
280 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
281 throws com.liferay.portal.SystemException {
282 return getPersistence().findWithDynamicQuery(dynamicQuery);
283 }
284
285 public static java.util.List<Object> findWithDynamicQuery(
286 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
287 int end) throws com.liferay.portal.SystemException {
288 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
289 }
290
291 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll()
292 throws com.liferay.portal.SystemException {
293 return getPersistence().findAll();
294 }
295
296 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
297 int start, int end) throws com.liferay.portal.SystemException {
298 return getPersistence().findAll(start, end);
299 }
300
301 public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
302 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
303 throws com.liferay.portal.SystemException {
304 return getPersistence().findAll(start, end, obc);
305 }
306
307 public static void removeByUuid(java.lang.String uuid)
308 throws com.liferay.portal.SystemException {
309 getPersistence().removeByUuid(uuid);
310 }
311
312 public static void removeByUUID_G(java.lang.String uuid, long groupId)
313 throws com.liferay.portal.SystemException,
314 com.liferay.portlet.calendar.NoSuchEventException {
315 getPersistence().removeByUUID_G(uuid, groupId);
316 }
317
318 public static void removeByGroupId(long groupId)
319 throws com.liferay.portal.SystemException {
320 getPersistence().removeByGroupId(groupId);
321 }
322
323 public static void removeByG_T(long groupId, java.lang.String type)
324 throws com.liferay.portal.SystemException {
325 getPersistence().removeByG_T(groupId, type);
326 }
327
328 public static void removeByG_R(long groupId, boolean repeating)
329 throws com.liferay.portal.SystemException {
330 getPersistence().removeByG_R(groupId, repeating);
331 }
332
333 public static void removeAll() throws com.liferay.portal.SystemException {
334 getPersistence().removeAll();
335 }
336
337 public static int countByUuid(java.lang.String uuid)
338 throws com.liferay.portal.SystemException {
339 return getPersistence().countByUuid(uuid);
340 }
341
342 public static int countByUUID_G(java.lang.String uuid, long groupId)
343 throws com.liferay.portal.SystemException {
344 return getPersistence().countByUUID_G(uuid, groupId);
345 }
346
347 public static int countByGroupId(long groupId)
348 throws com.liferay.portal.SystemException {
349 return getPersistence().countByGroupId(groupId);
350 }
351
352 public static int countByG_T(long groupId, java.lang.String type)
353 throws com.liferay.portal.SystemException {
354 return getPersistence().countByG_T(groupId, type);
355 }
356
357 public static int countByG_R(long groupId, boolean repeating)
358 throws com.liferay.portal.SystemException {
359 return getPersistence().countByG_R(groupId, repeating);
360 }
361
362 public static int countAll() throws com.liferay.portal.SystemException {
363 return getPersistence().countAll();
364 }
365
366 public static CalEventPersistence getPersistence() {
367 return _persistence;
368 }
369
370 public void setPersistence(CalEventPersistence persistence) {
371 _persistence = persistence;
372 }
373
374 private static CalEventPersistence _persistence;
375 }