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