001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.transaction.Isolation;
022 import com.liferay.portal.kernel.transaction.Propagation;
023 import com.liferay.portal.kernel.transaction.Transactional;
024 import com.liferay.portal.service.BaseLocalService;
025 import com.liferay.portal.service.PersistedModelLocalService;
026
027
039 @ProviderType
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface SCProductVersionLocalService extends BaseLocalService,
043 PersistedModelLocalService {
044
049
050
057 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
058 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061
067 public com.liferay.portlet.softwarecatalog.model.SCProductVersion createSCProductVersion(
068 long productVersionId);
069
070
078 public com.liferay.portlet.softwarecatalog.model.SCProductVersion deleteSCProductVersion(
079 long productVersionId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083
090 public com.liferay.portlet.softwarecatalog.model.SCProductVersion deleteSCProductVersion(
091 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
095
096
103 @SuppressWarnings("rawtypes")
104 public java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108
121 @SuppressWarnings("rawtypes")
122 public java.util.List dynamicQuery(
123 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124 int end) throws com.liferay.portal.kernel.exception.SystemException;
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147
154 public long dynamicQueryCount(
155 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156 throws com.liferay.portal.kernel.exception.SystemException;
157
158
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
168 com.liferay.portal.kernel.dao.orm.Projection projection)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchSCProductVersion(
173 long productVersionId)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176
184 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
186 long productVersionId)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException;
189
190 @Override
191 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
192 public com.liferay.portal.model.PersistedModel getPersistedModel(
193 java.io.Serializable primaryKeyObj)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException;
196
197
209 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
210 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
211 int start, int end)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public int getSCProductVersionsCount()
222 throws com.liferay.portal.kernel.exception.SystemException;
223
224
231 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
232 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235
238 public void addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
239 long productVersionId)
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242
245 public void addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
246 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
247 throws com.liferay.portal.kernel.exception.SystemException;
248
249
252 public void addSCFrameworkVersionSCProductVersions(
253 long frameworkVersionId, long[] productVersionIds)
254 throws com.liferay.portal.kernel.exception.SystemException;
255
256
259 public void addSCFrameworkVersionSCProductVersions(
260 long frameworkVersionId,
261 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> SCProductVersions)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264
267 public void clearSCFrameworkVersionSCProductVersions(
268 long frameworkVersionId)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271
274 public void deleteSCFrameworkVersionSCProductVersion(
275 long frameworkVersionId, long productVersionId)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278
281 public void deleteSCFrameworkVersionSCProductVersion(
282 long frameworkVersionId,
283 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
284 throws com.liferay.portal.kernel.exception.SystemException;
285
286
289 public void deleteSCFrameworkVersionSCProductVersions(
290 long frameworkVersionId, long[] productVersionIds)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293
296 public void deleteSCFrameworkVersionSCProductVersions(
297 long frameworkVersionId,
298 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> SCProductVersions)
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCFrameworkVersionSCProductVersions(
306 long frameworkVersionId)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309
312 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
313 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCFrameworkVersionSCProductVersions(
314 long frameworkVersionId, int start, int end)
315 throws com.liferay.portal.kernel.exception.SystemException;
316
317
320 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
321 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCFrameworkVersionSCProductVersions(
322 long frameworkVersionId, int start, int end,
323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324 throws com.liferay.portal.kernel.exception.SystemException;
325
326
329 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
330 public int getSCFrameworkVersionSCProductVersionsCount(
331 long frameworkVersionId)
332 throws com.liferay.portal.kernel.exception.SystemException;
333
334
337 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
338 public boolean hasSCFrameworkVersionSCProductVersion(
339 long frameworkVersionId, long productVersionId)
340 throws com.liferay.portal.kernel.exception.SystemException;
341
342
345 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346 public boolean hasSCFrameworkVersionSCProductVersions(
347 long frameworkVersionId)
348 throws com.liferay.portal.kernel.exception.SystemException;
349
350
353 public void setSCFrameworkVersionSCProductVersions(
354 long frameworkVersionId, long[] productVersionIds)
355 throws com.liferay.portal.kernel.exception.SystemException;
356
357
362 public java.lang.String getBeanIdentifier();
363
364
369 public void setBeanIdentifier(java.lang.String beanIdentifier);
370
371 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
372 long userId, long productEntryId, java.lang.String version,
373 java.lang.String changeLog, java.lang.String downloadPageURL,
374 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
375 boolean repoStoreArtifact, long[] frameworkVersionIds,
376 com.liferay.portal.service.ServiceContext serviceContext)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException;
379
380 public void deleteProductVersion(long productVersionId)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException;
383
384 public void deleteProductVersion(
385 com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
386 throws com.liferay.portal.kernel.exception.SystemException;
387
388 public void deleteProductVersions(long productEntryId)
389 throws com.liferay.portal.kernel.exception.SystemException;
390
391 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
392 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
393 long productVersionId)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException;
396
397 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
399 java.lang.String directDownloadURL)
400 throws com.liferay.portal.kernel.exception.PortalException,
401 com.liferay.portal.kernel.exception.SystemException;
402
403 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
404 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
405 long productEntryId, int start, int end)
406 throws com.liferay.portal.kernel.exception.SystemException;
407
408 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
409 public int getProductVersionsCount(long productEntryId)
410 throws com.liferay.portal.kernel.exception.SystemException;
411
412 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
413 long productVersionId, java.lang.String version,
414 java.lang.String changeLog, java.lang.String downloadPageURL,
415 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
416 boolean repoStoreArtifact, long[] frameworkVersionIds)
417 throws com.liferay.portal.kernel.exception.PortalException,
418 com.liferay.portal.kernel.exception.SystemException;
419 }