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