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