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