1
19
20 package com.liferay.portlet.softwarecatalog.service.persistence;
21
22
28 public class SCProductEntryUtil {
29 public static void cacheResult(
30 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry) {
31 getPersistence().cacheResult(scProductEntry);
32 }
33
34 public static void cacheResult(
35 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries) {
36 getPersistence().cacheResult(scProductEntries);
37 }
38
39 public static void clearCache() {
40 getPersistence().clearCache();
41 }
42
43 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry create(
44 long productEntryId) {
45 return getPersistence().create(productEntryId);
46 }
47
48 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
49 long productEntryId)
50 throws com.liferay.portal.SystemException,
51 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
52 return getPersistence().remove(productEntryId);
53 }
54
55 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
56 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
57 throws com.liferay.portal.SystemException {
58 return getPersistence().remove(scProductEntry);
59 }
60
61
64 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry update(
65 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().update(scProductEntry);
68 }
69
70
83 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry update(
84 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
85 boolean merge) throws com.liferay.portal.SystemException {
86 return getPersistence().update(scProductEntry, merge);
87 }
88
89 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(
90 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
91 boolean merge) throws com.liferay.portal.SystemException {
92 return getPersistence().updateImpl(scProductEntry, merge);
93 }
94
95 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(
96 long productEntryId)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
99 return getPersistence().findByPrimaryKey(productEntryId);
100 }
101
102 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(
103 long productEntryId) throws com.liferay.portal.SystemException {
104 return getPersistence().fetchByPrimaryKey(productEntryId);
105 }
106
107 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
108 long groupId) throws com.liferay.portal.SystemException {
109 return getPersistence().findByGroupId(groupId);
110 }
111
112 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
113 long groupId, int start, int end)
114 throws com.liferay.portal.SystemException {
115 return getPersistence().findByGroupId(groupId, start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
119 long groupId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().findByGroupId(groupId, start, end, obc);
123 }
124
125 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(
126 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
129 return getPersistence().findByGroupId_First(groupId, obc);
130 }
131
132 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(
133 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
136 return getPersistence().findByGroupId_Last(groupId, obc);
137 }
138
139 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(
140 long productEntryId, long groupId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
144 return getPersistence()
145 .findByGroupId_PrevAndNext(productEntryId, groupId, obc);
146 }
147
148 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
149 long companyId) throws com.liferay.portal.SystemException {
150 return getPersistence().findByCompanyId(companyId);
151 }
152
153 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
154 long companyId, int start, int end)
155 throws com.liferay.portal.SystemException {
156 return getPersistence().findByCompanyId(companyId, start, end);
157 }
158
159 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
160 long companyId, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException {
163 return getPersistence().findByCompanyId(companyId, start, end, obc);
164 }
165
166 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(
167 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
170 return getPersistence().findByCompanyId_First(companyId, obc);
171 }
172
173 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(
174 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
177 return getPersistence().findByCompanyId_Last(companyId, obc);
178 }
179
180 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(
181 long productEntryId, long companyId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
185 return getPersistence()
186 .findByCompanyId_PrevAndNext(productEntryId, companyId, obc);
187 }
188
189 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
190 long groupId, long userId) throws com.liferay.portal.SystemException {
191 return getPersistence().findByG_U(groupId, userId);
192 }
193
194 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
195 long groupId, long userId, int start, int end)
196 throws com.liferay.portal.SystemException {
197 return getPersistence().findByG_U(groupId, userId, start, end);
198 }
199
200 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
201 long groupId, long userId, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findByG_U(groupId, userId, start, end, obc);
205 }
206
207 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(
208 long groupId, long userId,
209 com.liferay.portal.kernel.util.OrderByComparator obc)
210 throws com.liferay.portal.SystemException,
211 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
212 return getPersistence().findByG_U_First(groupId, userId, obc);
213 }
214
215 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(
216 long groupId, long userId,
217 com.liferay.portal.kernel.util.OrderByComparator obc)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
220 return getPersistence().findByG_U_Last(groupId, userId, obc);
221 }
222
223 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(
224 long productEntryId, long groupId, long userId,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
228 return getPersistence()
229 .findByG_U_PrevAndNext(productEntryId, groupId, userId, obc);
230 }
231
232 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(
233 java.lang.String repoGroupId, java.lang.String repoArtifactId)
234 throws com.liferay.portal.SystemException,
235 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
236 return getPersistence().findByRG_RA(repoGroupId, repoArtifactId);
237 }
238
239 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
240 java.lang.String repoGroupId, java.lang.String repoArtifactId)
241 throws com.liferay.portal.SystemException {
242 return getPersistence().fetchByRG_RA(repoGroupId, repoArtifactId);
243 }
244
245 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
246 java.lang.String repoGroupId, java.lang.String repoArtifactId,
247 boolean retrieveFromCache) throws com.liferay.portal.SystemException {
248 return getPersistence()
249 .fetchByRG_RA(repoGroupId, repoArtifactId, retrieveFromCache);
250 }
251
252 public static java.util.List<Object> findWithDynamicQuery(
253 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
254 throws com.liferay.portal.SystemException {
255 return getPersistence().findWithDynamicQuery(dynamicQuery);
256 }
257
258 public static java.util.List<Object> findWithDynamicQuery(
259 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
260 int end) throws com.liferay.portal.SystemException {
261 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
262 }
263
264 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
265 throws com.liferay.portal.SystemException {
266 return getPersistence().findAll();
267 }
268
269 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
270 int start, int end) throws com.liferay.portal.SystemException {
271 return getPersistence().findAll(start, end);
272 }
273
274 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
275 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
276 throws com.liferay.portal.SystemException {
277 return getPersistence().findAll(start, end, obc);
278 }
279
280 public static void removeByGroupId(long groupId)
281 throws com.liferay.portal.SystemException {
282 getPersistence().removeByGroupId(groupId);
283 }
284
285 public static void removeByCompanyId(long companyId)
286 throws com.liferay.portal.SystemException {
287 getPersistence().removeByCompanyId(companyId);
288 }
289
290 public static void removeByG_U(long groupId, long userId)
291 throws com.liferay.portal.SystemException {
292 getPersistence().removeByG_U(groupId, userId);
293 }
294
295 public static void removeByRG_RA(java.lang.String repoGroupId,
296 java.lang.String repoArtifactId)
297 throws com.liferay.portal.SystemException,
298 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException {
299 getPersistence().removeByRG_RA(repoGroupId, repoArtifactId);
300 }
301
302 public static void removeAll() throws com.liferay.portal.SystemException {
303 getPersistence().removeAll();
304 }
305
306 public static int countByGroupId(long groupId)
307 throws com.liferay.portal.SystemException {
308 return getPersistence().countByGroupId(groupId);
309 }
310
311 public static int countByCompanyId(long companyId)
312 throws com.liferay.portal.SystemException {
313 return getPersistence().countByCompanyId(companyId);
314 }
315
316 public static int countByG_U(long groupId, long userId)
317 throws com.liferay.portal.SystemException {
318 return getPersistence().countByG_U(groupId, userId);
319 }
320
321 public static int countByRG_RA(java.lang.String repoGroupId,
322 java.lang.String repoArtifactId)
323 throws com.liferay.portal.SystemException {
324 return getPersistence().countByRG_RA(repoGroupId, repoArtifactId);
325 }
326
327 public static int countAll() throws com.liferay.portal.SystemException {
328 return getPersistence().countAll();
329 }
330
331 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
332 long pk) throws com.liferay.portal.SystemException {
333 return getPersistence().getSCLicenses(pk);
334 }
335
336 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
337 long pk, int start, int end) throws com.liferay.portal.SystemException {
338 return getPersistence().getSCLicenses(pk, start, end);
339 }
340
341 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
342 long pk, int start, int end,
343 com.liferay.portal.kernel.util.OrderByComparator obc)
344 throws com.liferay.portal.SystemException {
345 return getPersistence().getSCLicenses(pk, start, end, obc);
346 }
347
348 public static int getSCLicensesSize(long pk)
349 throws com.liferay.portal.SystemException {
350 return getPersistence().getSCLicensesSize(pk);
351 }
352
353 public static boolean containsSCLicense(long pk, long scLicensePK)
354 throws com.liferay.portal.SystemException {
355 return getPersistence().containsSCLicense(pk, scLicensePK);
356 }
357
358 public static boolean containsSCLicenses(long pk)
359 throws com.liferay.portal.SystemException {
360 return getPersistence().containsSCLicenses(pk);
361 }
362
363 public static void addSCLicense(long pk, long scLicensePK)
364 throws com.liferay.portal.SystemException {
365 getPersistence().addSCLicense(pk, scLicensePK);
366 }
367
368 public static void addSCLicense(long pk,
369 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
370 throws com.liferay.portal.SystemException {
371 getPersistence().addSCLicense(pk, scLicense);
372 }
373
374 public static void addSCLicenses(long pk, long[] scLicensePKs)
375 throws com.liferay.portal.SystemException {
376 getPersistence().addSCLicenses(pk, scLicensePKs);
377 }
378
379 public static void addSCLicenses(long pk,
380 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
381 throws com.liferay.portal.SystemException {
382 getPersistence().addSCLicenses(pk, scLicenses);
383 }
384
385 public static void clearSCLicenses(long pk)
386 throws com.liferay.portal.SystemException {
387 getPersistence().clearSCLicenses(pk);
388 }
389
390 public static void removeSCLicense(long pk, long scLicensePK)
391 throws com.liferay.portal.SystemException {
392 getPersistence().removeSCLicense(pk, scLicensePK);
393 }
394
395 public static void removeSCLicense(long pk,
396 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
397 throws com.liferay.portal.SystemException {
398 getPersistence().removeSCLicense(pk, scLicense);
399 }
400
401 public static void removeSCLicenses(long pk, long[] scLicensePKs)
402 throws com.liferay.portal.SystemException {
403 getPersistence().removeSCLicenses(pk, scLicensePKs);
404 }
405
406 public static void removeSCLicenses(long pk,
407 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
408 throws com.liferay.portal.SystemException {
409 getPersistence().removeSCLicenses(pk, scLicenses);
410 }
411
412 public static void setSCLicenses(long pk, long[] scLicensePKs)
413 throws com.liferay.portal.SystemException {
414 getPersistence().setSCLicenses(pk, scLicensePKs);
415 }
416
417 public static void setSCLicenses(long pk,
418 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
419 throws com.liferay.portal.SystemException {
420 getPersistence().setSCLicenses(pk, scLicenses);
421 }
422
423 public static SCProductEntryPersistence getPersistence() {
424 return _persistence;
425 }
426
427 public void setPersistence(SCProductEntryPersistence persistence) {
428 _persistence = persistence;
429 }
430
431 private static SCProductEntryPersistence _persistence;
432 }