1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface SCProductVersionService {
50 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
51 long productEntryId, java.lang.String version,
52 java.lang.String changeLog, java.lang.String downloadPageURL,
53 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
54 boolean repoStoreArtifact, long[] frameworkVersionIds,
55 boolean addCommunityPermissions, boolean addGuestPermissions)
56 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
60 long productEntryId, java.lang.String version,
61 java.lang.String changeLog, java.lang.String downloadPageURL,
62 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
63 boolean repoStoreArtifact, long[] frameworkVersionIds,
64 java.lang.String[] communityPermissions,
65 java.lang.String[] guestPermissions)
66 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException;
68
69 public void deleteProductVersion(long productVersionId)
70 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException;
72
73 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
74 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
75 long productVersionId)
76 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
81 long productEntryId, int start, int end)
82 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException;
84
85 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
86 public int getProductVersionsCount(long productEntryId)
87 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
91 long productVersionId, java.lang.String version,
92 java.lang.String changeLog, java.lang.String downloadPageURL,
93 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
94 boolean repoStoreArtifact, long[] frameworkVersionIds)
95 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException;
97 }