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