1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25
31 public class SCProductVersionUtil {
32 public static void cacheResult(
33 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion) {
34 getPersistence().cacheResult(scProductVersion);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions) {
39 getPersistence().cacheResult(scProductVersions);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion create(
47 long productVersionId) {
48 return getPersistence().create(productVersionId);
49 }
50
51 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
52 long productVersionId)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
55 return getPersistence().remove(productVersionId);
56 }
57
58 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
59 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(scProductVersion);
62 }
63
64
67 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
68 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(scProductVersion);
71 }
72
73
86 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
87 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
88 boolean merge) throws com.liferay.portal.SystemException {
89 return getPersistence().update(scProductVersion, merge);
90 }
91
92 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(
93 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
94 boolean merge) throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(scProductVersion, merge);
96 }
97
98 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
99 long productVersionId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
102 return getPersistence().findByPrimaryKey(productVersionId);
103 }
104
105 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
106 long productVersionId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(productVersionId);
108 }
109
110 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
111 long productEntryId) throws com.liferay.portal.SystemException {
112 return getPersistence().findByProductEntryId(productEntryId);
113 }
114
115 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
116 long productEntryId, int start, int end)
117 throws com.liferay.portal.SystemException {
118 return getPersistence().findByProductEntryId(productEntryId, start, end);
119 }
120
121 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
122 long productEntryId, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException {
125 return getPersistence()
126 .findByProductEntryId(productEntryId, start, end, obc);
127 }
128
129 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(
130 long productEntryId,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
134 return getPersistence().findByProductEntryId_First(productEntryId, obc);
135 }
136
137 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
138 long productEntryId,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
142 return getPersistence().findByProductEntryId_Last(productEntryId, obc);
143 }
144
145 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
146 long productVersionId, long productEntryId,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
150 return getPersistence()
151 .findByProductEntryId_PrevAndNext(productVersionId,
152 productEntryId, obc);
153 }
154
155 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(
156 java.lang.String directDownloadURL)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
159 return getPersistence().findByDirectDownloadURL(directDownloadURL);
160 }
161
162 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
163 java.lang.String directDownloadURL)
164 throws com.liferay.portal.SystemException {
165 return getPersistence().fetchByDirectDownloadURL(directDownloadURL);
166 }
167
168 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
169 java.lang.String directDownloadURL, boolean retrieveFromCache)
170 throws com.liferay.portal.SystemException {
171 return getPersistence()
172 .fetchByDirectDownloadURL(directDownloadURL,
173 retrieveFromCache);
174 }
175
176 public static java.util.List<Object> findWithDynamicQuery(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
178 throws com.liferay.portal.SystemException {
179 return getPersistence().findWithDynamicQuery(dynamicQuery);
180 }
181
182 public static java.util.List<Object> findWithDynamicQuery(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
184 int end) throws com.liferay.portal.SystemException {
185 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
186 }
187
188 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
189 throws com.liferay.portal.SystemException {
190 return getPersistence().findAll();
191 }
192
193 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
194 int start, int end) throws com.liferay.portal.SystemException {
195 return getPersistence().findAll(start, end);
196 }
197
198 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
199 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException {
201 return getPersistence().findAll(start, end, obc);
202 }
203
204 public static void removeByProductEntryId(long productEntryId)
205 throws com.liferay.portal.SystemException {
206 getPersistence().removeByProductEntryId(productEntryId);
207 }
208
209 public static void removeByDirectDownloadURL(
210 java.lang.String directDownloadURL)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException {
213 getPersistence().removeByDirectDownloadURL(directDownloadURL);
214 }
215
216 public static void removeAll() throws com.liferay.portal.SystemException {
217 getPersistence().removeAll();
218 }
219
220 public static int countByProductEntryId(long productEntryId)
221 throws com.liferay.portal.SystemException {
222 return getPersistence().countByProductEntryId(productEntryId);
223 }
224
225 public static int countByDirectDownloadURL(
226 java.lang.String directDownloadURL)
227 throws com.liferay.portal.SystemException {
228 return getPersistence().countByDirectDownloadURL(directDownloadURL);
229 }
230
231 public static int countAll() throws com.liferay.portal.SystemException {
232 return getPersistence().countAll();
233 }
234
235 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
236 long pk) throws com.liferay.portal.SystemException {
237 return getPersistence().getSCFrameworkVersions(pk);
238 }
239
240 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
241 long pk, int start, int end) throws com.liferay.portal.SystemException {
242 return getPersistence().getSCFrameworkVersions(pk, start, end);
243 }
244
245 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
246 long pk, int start, int end,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.SystemException {
249 return getPersistence().getSCFrameworkVersions(pk, start, end, obc);
250 }
251
252 public static int getSCFrameworkVersionsSize(long pk)
253 throws com.liferay.portal.SystemException {
254 return getPersistence().getSCFrameworkVersionsSize(pk);
255 }
256
257 public static boolean containsSCFrameworkVersion(long pk,
258 long scFrameworkVersionPK) throws com.liferay.portal.SystemException {
259 return getPersistence()
260 .containsSCFrameworkVersion(pk, scFrameworkVersionPK);
261 }
262
263 public static boolean containsSCFrameworkVersions(long pk)
264 throws com.liferay.portal.SystemException {
265 return getPersistence().containsSCFrameworkVersions(pk);
266 }
267
268 public static void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
269 throws com.liferay.portal.SystemException {
270 getPersistence().addSCFrameworkVersion(pk, scFrameworkVersionPK);
271 }
272
273 public static void addSCFrameworkVersion(long pk,
274 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
275 throws com.liferay.portal.SystemException {
276 getPersistence().addSCFrameworkVersion(pk, scFrameworkVersion);
277 }
278
279 public static void addSCFrameworkVersions(long pk,
280 long[] scFrameworkVersionPKs) throws com.liferay.portal.SystemException {
281 getPersistence().addSCFrameworkVersions(pk, scFrameworkVersionPKs);
282 }
283
284 public static void addSCFrameworkVersions(long pk,
285 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
286 throws com.liferay.portal.SystemException {
287 getPersistence().addSCFrameworkVersions(pk, scFrameworkVersions);
288 }
289
290 public static void clearSCFrameworkVersions(long pk)
291 throws com.liferay.portal.SystemException {
292 getPersistence().clearSCFrameworkVersions(pk);
293 }
294
295 public static void removeSCFrameworkVersion(long pk,
296 long scFrameworkVersionPK) throws com.liferay.portal.SystemException {
297 getPersistence().removeSCFrameworkVersion(pk, scFrameworkVersionPK);
298 }
299
300 public static void removeSCFrameworkVersion(long pk,
301 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
302 throws com.liferay.portal.SystemException {
303 getPersistence().removeSCFrameworkVersion(pk, scFrameworkVersion);
304 }
305
306 public static void removeSCFrameworkVersions(long pk,
307 long[] scFrameworkVersionPKs) throws com.liferay.portal.SystemException {
308 getPersistence().removeSCFrameworkVersions(pk, scFrameworkVersionPKs);
309 }
310
311 public static void removeSCFrameworkVersions(long pk,
312 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
313 throws com.liferay.portal.SystemException {
314 getPersistence().removeSCFrameworkVersions(pk, scFrameworkVersions);
315 }
316
317 public static void setSCFrameworkVersions(long pk,
318 long[] scFrameworkVersionPKs) throws com.liferay.portal.SystemException {
319 getPersistence().setSCFrameworkVersions(pk, scFrameworkVersionPKs);
320 }
321
322 public static void setSCFrameworkVersions(long pk,
323 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
324 throws com.liferay.portal.SystemException {
325 getPersistence().setSCFrameworkVersions(pk, scFrameworkVersions);
326 }
327
328 public static SCProductVersionPersistence getPersistence() {
329 return _persistence;
330 }
331
332 public void setPersistence(SCProductVersionPersistence persistence) {
333 _persistence = persistence;
334 }
335
336 private static SCProductVersionPersistence _persistence;
337 }