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