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 boolean addCommunityPermissions, boolean addGuestPermissions)
63 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
67 long productEntryId, java.lang.String version,
68 java.lang.String changeLog, java.lang.String downloadPageURL,
69 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
70 boolean repoStoreArtifact, long[] frameworkVersionIds,
71 java.lang.String[] communityPermissions,
72 java.lang.String[] guestPermissions)
73 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException;
75
76 public void deleteProductVersion(long productVersionId)
77 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException;
79
80 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
82 long productVersionId)
83 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
88 long productEntryId, int start, int end)
89 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException;
91
92 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93 public int getProductVersionsCount(long productEntryId)
94 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
98 long productVersionId, java.lang.String version,
99 java.lang.String changeLog, java.lang.String downloadPageURL,
100 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
101 boolean repoStoreArtifact, long[] frameworkVersionIds)
102 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException;
104 }