1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
54 @Transactional(rollbackFor = {
55 PortalException.class, SystemException.class})
56 public interface SCProductVersionService {
57 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
58 long productEntryId, java.lang.String version,
59 java.lang.String changeLog, java.lang.String downloadPageURL,
60 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
61 boolean repoStoreArtifact, long[] frameworkVersionIds,
62 com.liferay.portal.service.ServiceContext serviceContext)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException;
65
66 public void deleteProductVersion(long productVersionId)
67 throws com.liferay.portal.PortalException,
68 com.liferay.portal.SystemException;
69
70 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
71 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
72 long productVersionId)
73 throws com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException;
75
76 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
77 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
78 long productEntryId, int start, int end)
79 throws com.liferay.portal.PortalException,
80 com.liferay.portal.SystemException;
81
82 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
83 public int getProductVersionsCount(long productEntryId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
88 long productVersionId, java.lang.String version,
89 java.lang.String changeLog, java.lang.String downloadPageURL,
90 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
91 boolean repoStoreArtifact, long[] frameworkVersionIds)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException;
94 }