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