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