1
19
20 package com.liferay.portlet.softwarecatalog.service.persistence;
21
22
28 public class SCFrameworkVersionUtil {
29 public static void cacheResult(
30 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion) {
31 getPersistence().cacheResult(scFrameworkVersion);
32 }
33
34 public static void cacheResult(
35 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions) {
36 getPersistence().cacheResult(scFrameworkVersions);
37 }
38
39 public static void clearCache() {
40 getPersistence().clearCache();
41 }
42
43 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
44 long frameworkVersionId) {
45 return getPersistence().create(frameworkVersionId);
46 }
47
48 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
49 long frameworkVersionId)
50 throws com.liferay.portal.SystemException,
51 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
52 return getPersistence().remove(frameworkVersionId);
53 }
54
55 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
56 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
57 throws com.liferay.portal.SystemException {
58 return getPersistence().remove(scFrameworkVersion);
59 }
60
61
64 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
65 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().update(scFrameworkVersion);
68 }
69
70
83 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
84 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
85 boolean merge) throws com.liferay.portal.SystemException {
86 return getPersistence().update(scFrameworkVersion, merge);
87 }
88
89 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
90 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
91 boolean merge) throws com.liferay.portal.SystemException {
92 return getPersistence().updateImpl(scFrameworkVersion, merge);
93 }
94
95 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
96 long frameworkVersionId)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
99 return getPersistence().findByPrimaryKey(frameworkVersionId);
100 }
101
102 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
103 long frameworkVersionId) throws com.liferay.portal.SystemException {
104 return getPersistence().fetchByPrimaryKey(frameworkVersionId);
105 }
106
107 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion findByGroupId_First(
126 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
129 return getPersistence().findByGroupId_First(groupId, obc);
130 }
131
132 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
133 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
136 return getPersistence().findByGroupId_Last(groupId, obc);
137 }
138
139 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
140 long frameworkVersionId, long groupId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
144 return getPersistence()
145 .findByGroupId_PrevAndNext(frameworkVersionId, groupId, obc);
146 }
147
148 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion> 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.SCFrameworkVersion findByCompanyId_First(
167 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
170 return getPersistence().findByCompanyId_First(companyId, obc);
171 }
172
173 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
174 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
177 return getPersistence().findByCompanyId_Last(companyId, obc);
178 }
179
180 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
181 long frameworkVersionId, long companyId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
185 return getPersistence()
186 .findByCompanyId_PrevAndNext(frameworkVersionId, companyId,
187 obc);
188 }
189
190 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
191 long groupId, boolean active) throws com.liferay.portal.SystemException {
192 return getPersistence().findByG_A(groupId, active);
193 }
194
195 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
196 long groupId, boolean active, int start, int end)
197 throws com.liferay.portal.SystemException {
198 return getPersistence().findByG_A(groupId, active, start, end);
199 }
200
201 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
202 long groupId, boolean active, int start, int end,
203 com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.SystemException {
205 return getPersistence().findByG_A(groupId, active, start, end, obc);
206 }
207
208 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
209 long groupId, boolean active,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
213 return getPersistence().findByG_A_First(groupId, active, obc);
214 }
215
216 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
217 long groupId, boolean active,
218 com.liferay.portal.kernel.util.OrderByComparator obc)
219 throws com.liferay.portal.SystemException,
220 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
221 return getPersistence().findByG_A_Last(groupId, active, obc);
222 }
223
224 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
225 long frameworkVersionId, long groupId, boolean active,
226 com.liferay.portal.kernel.util.OrderByComparator obc)
227 throws com.liferay.portal.SystemException,
228 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
229 return getPersistence()
230 .findByG_A_PrevAndNext(frameworkVersionId, groupId, active,
231 obc);
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.SCFrameworkVersion> findAll()
247 throws com.liferay.portal.SystemException {
248 return getPersistence().findAll();
249 }
250
251 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> 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.SCFrameworkVersion> 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_A(long groupId, boolean active)
273 throws com.liferay.portal.SystemException {
274 getPersistence().removeByG_A(groupId, active);
275 }
276
277 public static void removeAll() throws com.liferay.portal.SystemException {
278 getPersistence().removeAll();
279 }
280
281 public static int countByGroupId(long groupId)
282 throws com.liferay.portal.SystemException {
283 return getPersistence().countByGroupId(groupId);
284 }
285
286 public static int countByCompanyId(long companyId)
287 throws com.liferay.portal.SystemException {
288 return getPersistence().countByCompanyId(companyId);
289 }
290
291 public static int countByG_A(long groupId, boolean active)
292 throws com.liferay.portal.SystemException {
293 return getPersistence().countByG_A(groupId, active);
294 }
295
296 public static int countAll() throws com.liferay.portal.SystemException {
297 return getPersistence().countAll();
298 }
299
300 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
301 long pk) throws com.liferay.portal.SystemException {
302 return getPersistence().getSCProductVersions(pk);
303 }
304
305 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
306 long pk, int start, int end) throws com.liferay.portal.SystemException {
307 return getPersistence().getSCProductVersions(pk, start, end);
308 }
309
310 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
311 long pk, int start, int end,
312 com.liferay.portal.kernel.util.OrderByComparator obc)
313 throws com.liferay.portal.SystemException {
314 return getPersistence().getSCProductVersions(pk, start, end, obc);
315 }
316
317 public static int getSCProductVersionsSize(long pk)
318 throws com.liferay.portal.SystemException {
319 return getPersistence().getSCProductVersionsSize(pk);
320 }
321
322 public static boolean containsSCProductVersion(long pk,
323 long scProductVersionPK) throws com.liferay.portal.SystemException {
324 return getPersistence().containsSCProductVersion(pk, scProductVersionPK);
325 }
326
327 public static boolean containsSCProductVersions(long pk)
328 throws com.liferay.portal.SystemException {
329 return getPersistence().containsSCProductVersions(pk);
330 }
331
332 public static void addSCProductVersion(long pk, long scProductVersionPK)
333 throws com.liferay.portal.SystemException {
334 getPersistence().addSCProductVersion(pk, scProductVersionPK);
335 }
336
337 public static void addSCProductVersion(long pk,
338 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
339 throws com.liferay.portal.SystemException {
340 getPersistence().addSCProductVersion(pk, scProductVersion);
341 }
342
343 public static void addSCProductVersions(long pk, long[] scProductVersionPKs)
344 throws com.liferay.portal.SystemException {
345 getPersistence().addSCProductVersions(pk, scProductVersionPKs);
346 }
347
348 public static void addSCProductVersions(long pk,
349 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
350 throws com.liferay.portal.SystemException {
351 getPersistence().addSCProductVersions(pk, scProductVersions);
352 }
353
354 public static void clearSCProductVersions(long pk)
355 throws com.liferay.portal.SystemException {
356 getPersistence().clearSCProductVersions(pk);
357 }
358
359 public static void removeSCProductVersion(long pk, long scProductVersionPK)
360 throws com.liferay.portal.SystemException {
361 getPersistence().removeSCProductVersion(pk, scProductVersionPK);
362 }
363
364 public static void removeSCProductVersion(long pk,
365 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
366 throws com.liferay.portal.SystemException {
367 getPersistence().removeSCProductVersion(pk, scProductVersion);
368 }
369
370 public static void removeSCProductVersions(long pk,
371 long[] scProductVersionPKs) throws com.liferay.portal.SystemException {
372 getPersistence().removeSCProductVersions(pk, scProductVersionPKs);
373 }
374
375 public static void removeSCProductVersions(long pk,
376 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
377 throws com.liferay.portal.SystemException {
378 getPersistence().removeSCProductVersions(pk, scProductVersions);
379 }
380
381 public static void setSCProductVersions(long pk, long[] scProductVersionPKs)
382 throws com.liferay.portal.SystemException {
383 getPersistence().setSCProductVersions(pk, scProductVersionPKs);
384 }
385
386 public static void setSCProductVersions(long pk,
387 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
388 throws com.liferay.portal.SystemException {
389 getPersistence().setSCProductVersions(pk, scProductVersions);
390 }
391
392 public static SCFrameworkVersionPersistence getPersistence() {
393 return _persistence;
394 }
395
396 public void setPersistence(SCFrameworkVersionPersistence persistence) {
397 _persistence = persistence;
398 }
399
400 private static SCFrameworkVersionPersistence _persistence;
401 }