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