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