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