1
19
20 package com.liferay.portlet.journal.service.persistence;
21
22
28 public class JournalTemplateUtil {
29 public static com.liferay.portlet.journal.model.JournalTemplate create(
30 long id) {
31 return getPersistence().create(id);
32 }
33
34 public static com.liferay.portlet.journal.model.JournalTemplate remove(
35 long id)
36 throws com.liferay.portal.SystemException,
37 com.liferay.portlet.journal.NoSuchTemplateException {
38 return getPersistence().remove(id);
39 }
40
41 public static com.liferay.portlet.journal.model.JournalTemplate remove(
42 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
43 throws com.liferay.portal.SystemException {
44 return getPersistence().remove(journalTemplate);
45 }
46
47
50 public static com.liferay.portlet.journal.model.JournalTemplate update(
51 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(journalTemplate);
54 }
55
56
69 public static com.liferay.portlet.journal.model.JournalTemplate update(
70 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
71 boolean merge) throws com.liferay.portal.SystemException {
72 return getPersistence().update(journalTemplate, merge);
73 }
74
75 public static com.liferay.portlet.journal.model.JournalTemplate updateImpl(
76 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
77 boolean merge) throws com.liferay.portal.SystemException {
78 return getPersistence().updateImpl(journalTemplate, merge);
79 }
80
81 public static com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
82 long id)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.journal.NoSuchTemplateException {
85 return getPersistence().findByPrimaryKey(id);
86 }
87
88 public static com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
89 long id) throws com.liferay.portal.SystemException {
90 return getPersistence().fetchByPrimaryKey(id);
91 }
92
93 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> 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.journal.model.JournalTemplate> 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.journal.model.JournalTemplate> 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.journal.model.JournalTemplate 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.journal.NoSuchTemplateException {
116 return getPersistence().findByUuid_First(uuid, obc);
117 }
118
119 public static com.liferay.portlet.journal.model.JournalTemplate 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.journal.NoSuchTemplateException {
124 return getPersistence().findByUuid_Last(uuid, obc);
125 }
126
127 public static com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
128 long id, java.lang.String uuid,
129 com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.journal.NoSuchTemplateException {
132 return getPersistence().findByUuid_PrevAndNext(id, uuid, obc);
133 }
134
135 public static com.liferay.portlet.journal.model.JournalTemplate findByUUID_G(
136 java.lang.String uuid, long groupId)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.journal.NoSuchTemplateException {
139 return getPersistence().findByUUID_G(uuid, groupId);
140 }
141
142 public static com.liferay.portlet.journal.model.JournalTemplate 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.journal.model.JournalTemplate> 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.journal.model.JournalTemplate> 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.journal.model.JournalTemplate> 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.journal.model.JournalTemplate findByGroupId_First(
167 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.journal.NoSuchTemplateException {
170 return getPersistence().findByGroupId_First(groupId, obc);
171 }
172
173 public static com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(
174 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.journal.NoSuchTemplateException {
177 return getPersistence().findByGroupId_Last(groupId, obc);
178 }
179
180 public static com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(
181 long id, long groupId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.journal.NoSuchTemplateException {
185 return getPersistence().findByGroupId_PrevAndNext(id, groupId, obc);
186 }
187
188 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
189 java.lang.String templateId) throws com.liferay.portal.SystemException {
190 return getPersistence().findByTemplateId(templateId);
191 }
192
193 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
194 java.lang.String templateId, int start, int end)
195 throws com.liferay.portal.SystemException {
196 return getPersistence().findByTemplateId(templateId, start, end);
197 }
198
199 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
200 java.lang.String templateId, int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException {
203 return getPersistence().findByTemplateId(templateId, start, end, obc);
204 }
205
206 public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_First(
207 java.lang.String templateId,
208 com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.SystemException,
210 com.liferay.portlet.journal.NoSuchTemplateException {
211 return getPersistence().findByTemplateId_First(templateId, obc);
212 }
213
214 public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(
215 java.lang.String templateId,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.journal.NoSuchTemplateException {
219 return getPersistence().findByTemplateId_Last(templateId, obc);
220 }
221
222 public static com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(
223 long id, java.lang.String templateId,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException,
226 com.liferay.portlet.journal.NoSuchTemplateException {
227 return getPersistence().findByTemplateId_PrevAndNext(id, templateId, obc);
228 }
229
230 public static com.liferay.portlet.journal.model.JournalTemplate findBySmallImageId(
231 long smallImageId)
232 throws com.liferay.portal.SystemException,
233 com.liferay.portlet.journal.NoSuchTemplateException {
234 return getPersistence().findBySmallImageId(smallImageId);
235 }
236
237 public static com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
238 long smallImageId) throws com.liferay.portal.SystemException {
239 return getPersistence().fetchBySmallImageId(smallImageId);
240 }
241
242 public static com.liferay.portlet.journal.model.JournalTemplate findByG_T(
243 long groupId, java.lang.String templateId)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.journal.NoSuchTemplateException {
246 return getPersistence().findByG_T(groupId, templateId);
247 }
248
249 public static com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
250 long groupId, java.lang.String templateId)
251 throws com.liferay.portal.SystemException {
252 return getPersistence().fetchByG_T(groupId, templateId);
253 }
254
255 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
256 long groupId, java.lang.String structureId)
257 throws com.liferay.portal.SystemException {
258 return getPersistence().findByG_S(groupId, structureId);
259 }
260
261 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
262 long groupId, java.lang.String structureId, int start, int end)
263 throws com.liferay.portal.SystemException {
264 return getPersistence().findByG_S(groupId, structureId, start, end);
265 }
266
267 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
268 long groupId, java.lang.String structureId, int start, int end,
269 com.liferay.portal.kernel.util.OrderByComparator obc)
270 throws com.liferay.portal.SystemException {
271 return getPersistence().findByG_S(groupId, structureId, start, end, obc);
272 }
273
274 public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(
275 long groupId, java.lang.String structureId,
276 com.liferay.portal.kernel.util.OrderByComparator obc)
277 throws com.liferay.portal.SystemException,
278 com.liferay.portlet.journal.NoSuchTemplateException {
279 return getPersistence().findByG_S_First(groupId, structureId, obc);
280 }
281
282 public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(
283 long groupId, java.lang.String structureId,
284 com.liferay.portal.kernel.util.OrderByComparator obc)
285 throws com.liferay.portal.SystemException,
286 com.liferay.portlet.journal.NoSuchTemplateException {
287 return getPersistence().findByG_S_Last(groupId, structureId, obc);
288 }
289
290 public static com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(
291 long id, long groupId, java.lang.String structureId,
292 com.liferay.portal.kernel.util.OrderByComparator obc)
293 throws com.liferay.portal.SystemException,
294 com.liferay.portlet.journal.NoSuchTemplateException {
295 return getPersistence()
296 .findByG_S_PrevAndNext(id, groupId, structureId, obc);
297 }
298
299 public static java.util.List<Object> findWithDynamicQuery(
300 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
301 throws com.liferay.portal.SystemException {
302 return getPersistence().findWithDynamicQuery(dynamicQuery);
303 }
304
305 public static java.util.List<Object> findWithDynamicQuery(
306 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
307 int end) throws com.liferay.portal.SystemException {
308 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
309 }
310
311 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll()
312 throws com.liferay.portal.SystemException {
313 return getPersistence().findAll();
314 }
315
316 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
317 int start, int end) throws com.liferay.portal.SystemException {
318 return getPersistence().findAll(start, end);
319 }
320
321 public static java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
322 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
323 throws com.liferay.portal.SystemException {
324 return getPersistence().findAll(start, end, obc);
325 }
326
327 public static void removeByUuid(java.lang.String uuid)
328 throws com.liferay.portal.SystemException {
329 getPersistence().removeByUuid(uuid);
330 }
331
332 public static void removeByUUID_G(java.lang.String uuid, long groupId)
333 throws com.liferay.portal.SystemException,
334 com.liferay.portlet.journal.NoSuchTemplateException {
335 getPersistence().removeByUUID_G(uuid, groupId);
336 }
337
338 public static void removeByGroupId(long groupId)
339 throws com.liferay.portal.SystemException {
340 getPersistence().removeByGroupId(groupId);
341 }
342
343 public static void removeByTemplateId(java.lang.String templateId)
344 throws com.liferay.portal.SystemException {
345 getPersistence().removeByTemplateId(templateId);
346 }
347
348 public static void removeBySmallImageId(long smallImageId)
349 throws com.liferay.portal.SystemException,
350 com.liferay.portlet.journal.NoSuchTemplateException {
351 getPersistence().removeBySmallImageId(smallImageId);
352 }
353
354 public static void removeByG_T(long groupId, java.lang.String templateId)
355 throws com.liferay.portal.SystemException,
356 com.liferay.portlet.journal.NoSuchTemplateException {
357 getPersistence().removeByG_T(groupId, templateId);
358 }
359
360 public static void removeByG_S(long groupId, java.lang.String structureId)
361 throws com.liferay.portal.SystemException {
362 getPersistence().removeByG_S(groupId, structureId);
363 }
364
365 public static void removeAll() throws com.liferay.portal.SystemException {
366 getPersistence().removeAll();
367 }
368
369 public static int countByUuid(java.lang.String uuid)
370 throws com.liferay.portal.SystemException {
371 return getPersistence().countByUuid(uuid);
372 }
373
374 public static int countByUUID_G(java.lang.String uuid, long groupId)
375 throws com.liferay.portal.SystemException {
376 return getPersistence().countByUUID_G(uuid, groupId);
377 }
378
379 public static int countByGroupId(long groupId)
380 throws com.liferay.portal.SystemException {
381 return getPersistence().countByGroupId(groupId);
382 }
383
384 public static int countByTemplateId(java.lang.String templateId)
385 throws com.liferay.portal.SystemException {
386 return getPersistence().countByTemplateId(templateId);
387 }
388
389 public static int countBySmallImageId(long smallImageId)
390 throws com.liferay.portal.SystemException {
391 return getPersistence().countBySmallImageId(smallImageId);
392 }
393
394 public static int countByG_T(long groupId, java.lang.String templateId)
395 throws com.liferay.portal.SystemException {
396 return getPersistence().countByG_T(groupId, templateId);
397 }
398
399 public static int countByG_S(long groupId, java.lang.String structureId)
400 throws com.liferay.portal.SystemException {
401 return getPersistence().countByG_S(groupId, structureId);
402 }
403
404 public static int countAll() throws com.liferay.portal.SystemException {
405 return getPersistence().countAll();
406 }
407
408 public static JournalTemplatePersistence getPersistence() {
409 return _persistence;
410 }
411
412 public void setPersistence(JournalTemplatePersistence persistence) {
413 _persistence = persistence;
414 }
415
416 private static JournalTemplatePersistence _persistence;
417 }