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