1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public class JournalStructureUtil {
32 public static void cacheResult(
33 com.liferay.portlet.journal.model.JournalStructure journalStructure) {
34 getPersistence().cacheResult(journalStructure);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.journal.model.JournalStructure> journalStructures) {
39 getPersistence().cacheResult(journalStructures);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.journal.model.JournalStructure create(
47 long id) {
48 return getPersistence().create(id);
49 }
50
51 public static com.liferay.portlet.journal.model.JournalStructure remove(
52 long id)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.journal.NoSuchStructureException {
55 return getPersistence().remove(id);
56 }
57
58 public static com.liferay.portlet.journal.model.JournalStructure remove(
59 com.liferay.portlet.journal.model.JournalStructure journalStructure)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(journalStructure);
62 }
63
64
67 public static com.liferay.portlet.journal.model.JournalStructure update(
68 com.liferay.portlet.journal.model.JournalStructure journalStructure)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(journalStructure);
71 }
72
73
86 public static com.liferay.portlet.journal.model.JournalStructure update(
87 com.liferay.portlet.journal.model.JournalStructure journalStructure,
88 boolean merge) throws com.liferay.portal.SystemException {
89 return getPersistence().update(journalStructure, merge);
90 }
91
92 public static com.liferay.portlet.journal.model.JournalStructure updateImpl(
93 com.liferay.portlet.journal.model.JournalStructure journalStructure,
94 boolean merge) throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(journalStructure, merge);
96 }
97
98 public static com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
99 long id)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.journal.NoSuchStructureException {
102 return getPersistence().findByPrimaryKey(id);
103 }
104
105 public static com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
106 long id) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(id);
108 }
109
110 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
111 java.lang.String uuid) throws com.liferay.portal.SystemException {
112 return getPersistence().findByUuid(uuid);
113 }
114
115 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
116 java.lang.String uuid, int start, int end)
117 throws com.liferay.portal.SystemException {
118 return getPersistence().findByUuid(uuid, start, end);
119 }
120
121 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
122 java.lang.String uuid, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByUuid(uuid, start, end, obc);
126 }
127
128 public static com.liferay.portlet.journal.model.JournalStructure findByUuid_First(
129 java.lang.String uuid,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.journal.NoSuchStructureException {
133 return getPersistence().findByUuid_First(uuid, obc);
134 }
135
136 public static com.liferay.portlet.journal.model.JournalStructure findByUuid_Last(
137 java.lang.String uuid,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.journal.NoSuchStructureException {
141 return getPersistence().findByUuid_Last(uuid, obc);
142 }
143
144 public static com.liferay.portlet.journal.model.JournalStructure[] findByUuid_PrevAndNext(
145 long id, java.lang.String uuid,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.journal.NoSuchStructureException {
149 return getPersistence().findByUuid_PrevAndNext(id, uuid, obc);
150 }
151
152 public static com.liferay.portlet.journal.model.JournalStructure findByUUID_G(
153 java.lang.String uuid, long groupId)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.journal.NoSuchStructureException {
156 return getPersistence().findByUUID_G(uuid, groupId);
157 }
158
159 public static com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
160 java.lang.String uuid, long groupId)
161 throws com.liferay.portal.SystemException {
162 return getPersistence().fetchByUUID_G(uuid, groupId);
163 }
164
165 public static com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
166 java.lang.String uuid, long groupId, boolean retrieveFromCache)
167 throws com.liferay.portal.SystemException {
168 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
169 }
170
171 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
172 long groupId) throws com.liferay.portal.SystemException {
173 return getPersistence().findByGroupId(groupId);
174 }
175
176 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
177 long groupId, int start, int end)
178 throws com.liferay.portal.SystemException {
179 return getPersistence().findByGroupId(groupId, start, end);
180 }
181
182 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
183 long groupId, int start, int end,
184 com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException {
186 return getPersistence().findByGroupId(groupId, start, end, obc);
187 }
188
189 public static com.liferay.portlet.journal.model.JournalStructure findByGroupId_First(
190 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.journal.NoSuchStructureException {
193 return getPersistence().findByGroupId_First(groupId, obc);
194 }
195
196 public static com.liferay.portlet.journal.model.JournalStructure findByGroupId_Last(
197 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.journal.NoSuchStructureException {
200 return getPersistence().findByGroupId_Last(groupId, obc);
201 }
202
203 public static com.liferay.portlet.journal.model.JournalStructure[] findByGroupId_PrevAndNext(
204 long id, long groupId,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.journal.NoSuchStructureException {
208 return getPersistence().findByGroupId_PrevAndNext(id, groupId, obc);
209 }
210
211 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
212 java.lang.String structureId) throws com.liferay.portal.SystemException {
213 return getPersistence().findByStructureId(structureId);
214 }
215
216 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
217 java.lang.String structureId, int start, int end)
218 throws com.liferay.portal.SystemException {
219 return getPersistence().findByStructureId(structureId, start, end);
220 }
221
222 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
223 java.lang.String structureId, int start, int end,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().findByStructureId(structureId, start, end, obc);
227 }
228
229 public static com.liferay.portlet.journal.model.JournalStructure findByStructureId_First(
230 java.lang.String structureId,
231 com.liferay.portal.kernel.util.OrderByComparator obc)
232 throws com.liferay.portal.SystemException,
233 com.liferay.portlet.journal.NoSuchStructureException {
234 return getPersistence().findByStructureId_First(structureId, obc);
235 }
236
237 public static com.liferay.portlet.journal.model.JournalStructure findByStructureId_Last(
238 java.lang.String structureId,
239 com.liferay.portal.kernel.util.OrderByComparator obc)
240 throws com.liferay.portal.SystemException,
241 com.liferay.portlet.journal.NoSuchStructureException {
242 return getPersistence().findByStructureId_Last(structureId, obc);
243 }
244
245 public static com.liferay.portlet.journal.model.JournalStructure[] findByStructureId_PrevAndNext(
246 long id, java.lang.String structureId,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.SystemException,
249 com.liferay.portlet.journal.NoSuchStructureException {
250 return getPersistence()
251 .findByStructureId_PrevAndNext(id, structureId, obc);
252 }
253
254 public static com.liferay.portlet.journal.model.JournalStructure findByG_S(
255 long groupId, java.lang.String structureId)
256 throws com.liferay.portal.SystemException,
257 com.liferay.portlet.journal.NoSuchStructureException {
258 return getPersistence().findByG_S(groupId, structureId);
259 }
260
261 public static com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
262 long groupId, java.lang.String structureId)
263 throws com.liferay.portal.SystemException {
264 return getPersistence().fetchByG_S(groupId, structureId);
265 }
266
267 public static com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
268 long groupId, java.lang.String structureId, boolean retrieveFromCache)
269 throws com.liferay.portal.SystemException {
270 return getPersistence()
271 .fetchByG_S(groupId, structureId, retrieveFromCache);
272 }
273
274 public static java.util.List<Object> findWithDynamicQuery(
275 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
276 throws com.liferay.portal.SystemException {
277 return getPersistence().findWithDynamicQuery(dynamicQuery);
278 }
279
280 public static java.util.List<Object> findWithDynamicQuery(
281 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
282 int end) throws com.liferay.portal.SystemException {
283 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
284 }
285
286 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll()
287 throws com.liferay.portal.SystemException {
288 return getPersistence().findAll();
289 }
290
291 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
292 int start, int end) throws com.liferay.portal.SystemException {
293 return getPersistence().findAll(start, end);
294 }
295
296 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
297 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
298 throws com.liferay.portal.SystemException {
299 return getPersistence().findAll(start, end, obc);
300 }
301
302 public static void removeByUuid(java.lang.String uuid)
303 throws com.liferay.portal.SystemException {
304 getPersistence().removeByUuid(uuid);
305 }
306
307 public static void removeByUUID_G(java.lang.String uuid, long groupId)
308 throws com.liferay.portal.SystemException,
309 com.liferay.portlet.journal.NoSuchStructureException {
310 getPersistence().removeByUUID_G(uuid, groupId);
311 }
312
313 public static void removeByGroupId(long groupId)
314 throws com.liferay.portal.SystemException {
315 getPersistence().removeByGroupId(groupId);
316 }
317
318 public static void removeByStructureId(java.lang.String structureId)
319 throws com.liferay.portal.SystemException {
320 getPersistence().removeByStructureId(structureId);
321 }
322
323 public static void removeByG_S(long groupId, java.lang.String structureId)
324 throws com.liferay.portal.SystemException,
325 com.liferay.portlet.journal.NoSuchStructureException {
326 getPersistence().removeByG_S(groupId, structureId);
327 }
328
329 public static void removeAll() throws com.liferay.portal.SystemException {
330 getPersistence().removeAll();
331 }
332
333 public static int countByUuid(java.lang.String uuid)
334 throws com.liferay.portal.SystemException {
335 return getPersistence().countByUuid(uuid);
336 }
337
338 public static int countByUUID_G(java.lang.String uuid, long groupId)
339 throws com.liferay.portal.SystemException {
340 return getPersistence().countByUUID_G(uuid, groupId);
341 }
342
343 public static int countByGroupId(long groupId)
344 throws com.liferay.portal.SystemException {
345 return getPersistence().countByGroupId(groupId);
346 }
347
348 public static int countByStructureId(java.lang.String structureId)
349 throws com.liferay.portal.SystemException {
350 return getPersistence().countByStructureId(structureId);
351 }
352
353 public static int countByG_S(long groupId, java.lang.String structureId)
354 throws com.liferay.portal.SystemException {
355 return getPersistence().countByG_S(groupId, structureId);
356 }
357
358 public static int countAll() throws com.liferay.portal.SystemException {
359 return getPersistence().countAll();
360 }
361
362 public static JournalStructurePersistence getPersistence() {
363 return _persistence;
364 }
365
366 public void setPersistence(JournalStructurePersistence persistence) {
367 _persistence = persistence;
368 }
369
370 private static JournalStructurePersistence _persistence;
371 }