1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25
26
39 public class SCFrameworkVersionUtil {
40 public static void cacheResult(
41 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion) {
42 getPersistence().cacheResult(scFrameworkVersion);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions) {
47 getPersistence().cacheResult(scFrameworkVersions);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
55 long frameworkVersionId) {
56 return getPersistence().create(frameworkVersionId);
57 }
58
59 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
60 long frameworkVersionId)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
63 return getPersistence().remove(frameworkVersionId);
64 }
65
66 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
67 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(scFrameworkVersion);
70 }
71
72
75 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
76 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(scFrameworkVersion);
79 }
80
81
93 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
94 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
95 boolean merge) throws com.liferay.portal.SystemException {
96 return getPersistence().update(scFrameworkVersion, merge);
97 }
98
99 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
100 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(scFrameworkVersion, merge);
103 }
104
105 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
106 long frameworkVersionId)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
109 return getPersistence().findByPrimaryKey(frameworkVersionId);
110 }
111
112 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
113 long frameworkVersionId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(frameworkVersionId);
115 }
116
117 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
118 long groupId) throws com.liferay.portal.SystemException {
119 return getPersistence().findByGroupId(groupId);
120 }
121
122 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
123 long groupId, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByGroupId(groupId, start, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
129 long groupId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByGroupId(groupId, start, end, obc);
133 }
134
135 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
136 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
139 return getPersistence().findByGroupId_First(groupId, obc);
140 }
141
142 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
143 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
146 return getPersistence().findByGroupId_Last(groupId, obc);
147 }
148
149 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
150 long frameworkVersionId, long groupId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
154 return getPersistence()
155 .findByGroupId_PrevAndNext(frameworkVersionId, groupId, obc);
156 }
157
158 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
159 long companyId) throws com.liferay.portal.SystemException {
160 return getPersistence().findByCompanyId(companyId);
161 }
162
163 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
164 long companyId, int start, int end)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findByCompanyId(companyId, start, end);
167 }
168
169 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
170 long companyId, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException {
173 return getPersistence().findByCompanyId(companyId, start, end, obc);
174 }
175
176 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
177 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
180 return getPersistence().findByCompanyId_First(companyId, obc);
181 }
182
183 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
184 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
187 return getPersistence().findByCompanyId_Last(companyId, obc);
188 }
189
190 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
191 long frameworkVersionId, long companyId,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.SystemException,
194 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
195 return getPersistence()
196 .findByCompanyId_PrevAndNext(frameworkVersionId, companyId,
197 obc);
198 }
199
200 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
201 long groupId, boolean active) throws com.liferay.portal.SystemException {
202 return getPersistence().findByG_A(groupId, active);
203 }
204
205 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
206 long groupId, boolean active, int start, int end)
207 throws com.liferay.portal.SystemException {
208 return getPersistence().findByG_A(groupId, active, start, end);
209 }
210
211 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
212 long groupId, boolean active, int start, int end,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException {
215 return getPersistence().findByG_A(groupId, active, start, end, obc);
216 }
217
218 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
219 long groupId, boolean active,
220 com.liferay.portal.kernel.util.OrderByComparator obc)
221 throws com.liferay.portal.SystemException,
222 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
223 return getPersistence().findByG_A_First(groupId, active, obc);
224 }
225
226 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
227 long groupId, boolean active,
228 com.liferay.portal.kernel.util.OrderByComparator obc)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
231 return getPersistence().findByG_A_Last(groupId, active, obc);
232 }
233
234 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
235 long frameworkVersionId, long groupId, boolean active,
236 com.liferay.portal.kernel.util.OrderByComparator obc)
237 throws com.liferay.portal.SystemException,
238 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException {
239 return getPersistence()
240 .findByG_A_PrevAndNext(frameworkVersionId, groupId, active,
241 obc);
242 }
243
244 public static java.util.List<Object> findWithDynamicQuery(
245 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
246 throws com.liferay.portal.SystemException {
247 return getPersistence().findWithDynamicQuery(dynamicQuery);
248 }
249
250 public static java.util.List<Object> findWithDynamicQuery(
251 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
252 int end) throws com.liferay.portal.SystemException {
253 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
254 }
255
256 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
257 throws com.liferay.portal.SystemException {
258 return getPersistence().findAll();
259 }
260
261 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
262 int start, int end) throws com.liferay.portal.SystemException {
263 return getPersistence().findAll(start, end);
264 }
265
266 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
267 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.SystemException {
269 return getPersistence().findAll(start, end, obc);
270 }
271
272 public static void removeByGroupId(long groupId)
273 throws com.liferay.portal.SystemException {
274 getPersistence().removeByGroupId(groupId);
275 }
276
277 public static void removeByCompanyId(long companyId)
278 throws com.liferay.portal.SystemException {
279 getPersistence().removeByCompanyId(companyId);
280 }
281
282 public static void removeByG_A(long groupId, boolean active)
283 throws com.liferay.portal.SystemException {
284 getPersistence().removeByG_A(groupId, active);
285 }
286
287 public static void removeAll() throws com.liferay.portal.SystemException {
288 getPersistence().removeAll();
289 }
290
291 public static int countByGroupId(long groupId)
292 throws com.liferay.portal.SystemException {
293 return getPersistence().countByGroupId(groupId);
294 }
295
296 public static int countByCompanyId(long companyId)
297 throws com.liferay.portal.SystemException {
298 return getPersistence().countByCompanyId(companyId);
299 }
300
301 public static int countByG_A(long groupId, boolean active)
302 throws com.liferay.portal.SystemException {
303 return getPersistence().countByG_A(groupId, active);
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.SCProductVersion> getSCProductVersions(
311 long pk) throws com.liferay.portal.SystemException {
312 return getPersistence().getSCProductVersions(pk);
313 }
314
315 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
316 long pk, int start, int end) throws com.liferay.portal.SystemException {
317 return getPersistence().getSCProductVersions(pk, start, end);
318 }
319
320 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
321 long pk, int start, int end,
322 com.liferay.portal.kernel.util.OrderByComparator obc)
323 throws com.liferay.portal.SystemException {
324 return getPersistence().getSCProductVersions(pk, start, end, obc);
325 }
326
327 public static int getSCProductVersionsSize(long pk)
328 throws com.liferay.portal.SystemException {
329 return getPersistence().getSCProductVersionsSize(pk);
330 }
331
332 public static boolean containsSCProductVersion(long pk,
333 long scProductVersionPK) throws com.liferay.portal.SystemException {
334 return getPersistence().containsSCProductVersion(pk, scProductVersionPK);
335 }
336
337 public static boolean containsSCProductVersions(long pk)
338 throws com.liferay.portal.SystemException {
339 return getPersistence().containsSCProductVersions(pk);
340 }
341
342 public static void addSCProductVersion(long pk, long scProductVersionPK)
343 throws com.liferay.portal.SystemException {
344 getPersistence().addSCProductVersion(pk, scProductVersionPK);
345 }
346
347 public static void addSCProductVersion(long pk,
348 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
349 throws com.liferay.portal.SystemException {
350 getPersistence().addSCProductVersion(pk, scProductVersion);
351 }
352
353 public static void addSCProductVersions(long pk, long[] scProductVersionPKs)
354 throws com.liferay.portal.SystemException {
355 getPersistence().addSCProductVersions(pk, scProductVersionPKs);
356 }
357
358 public static void addSCProductVersions(long pk,
359 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
360 throws com.liferay.portal.SystemException {
361 getPersistence().addSCProductVersions(pk, scProductVersions);
362 }
363
364 public static void clearSCProductVersions(long pk)
365 throws com.liferay.portal.SystemException {
366 getPersistence().clearSCProductVersions(pk);
367 }
368
369 public static void removeSCProductVersion(long pk, long scProductVersionPK)
370 throws com.liferay.portal.SystemException {
371 getPersistence().removeSCProductVersion(pk, scProductVersionPK);
372 }
373
374 public static void removeSCProductVersion(long pk,
375 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
376 throws com.liferay.portal.SystemException {
377 getPersistence().removeSCProductVersion(pk, scProductVersion);
378 }
379
380 public static void removeSCProductVersions(long pk,
381 long[] scProductVersionPKs) throws com.liferay.portal.SystemException {
382 getPersistence().removeSCProductVersions(pk, scProductVersionPKs);
383 }
384
385 public static void removeSCProductVersions(long pk,
386 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
387 throws com.liferay.portal.SystemException {
388 getPersistence().removeSCProductVersions(pk, scProductVersions);
389 }
390
391 public static void setSCProductVersions(long pk, long[] scProductVersionPKs)
392 throws com.liferay.portal.SystemException {
393 getPersistence().setSCProductVersions(pk, scProductVersionPKs);
394 }
395
396 public static void setSCProductVersions(long pk,
397 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
398 throws com.liferay.portal.SystemException {
399 getPersistence().setSCProductVersions(pk, scProductVersions);
400 }
401
402 public static SCFrameworkVersionPersistence getPersistence() {
403 return _persistence;
404 }
405
406 public void setPersistence(SCFrameworkVersionPersistence persistence) {
407 _persistence = persistence;
408 }
409
410 private static SCFrameworkVersionPersistence _persistence;
411 }