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