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