1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
51 public interface SCProductVersionService {
52 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
53 long productEntryId, java.lang.String version,
54 java.lang.String changeLog, java.lang.String downloadPageURL,
55 java.lang.String directDownloadURL, boolean repoStoreArtifact,
56 long[] frameworkVersionIds, boolean addCommunityPermissions,
57 boolean addGuestPermissions)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portal.PortalException, java.rmi.RemoteException;
60
61 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
62 long productEntryId, java.lang.String version,
63 java.lang.String changeLog, java.lang.String downloadPageURL,
64 java.lang.String directDownloadURL, boolean repoStoreArtifact,
65 long[] frameworkVersionIds, java.lang.String[] communityPermissions,
66 java.lang.String[] guestPermissions)
67 throws com.liferay.portal.SystemException,
68 com.liferay.portal.PortalException, java.rmi.RemoteException;
69
70 public void deleteProductVersion(long productVersionId)
71 throws com.liferay.portal.SystemException,
72 com.liferay.portal.PortalException, java.rmi.RemoteException;
73
74 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
75 long productVersionId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException, java.rmi.RemoteException;
78
79 public java.util.List getProductVersions(long productEntryId, int begin,
80 int end)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.PortalException, java.rmi.RemoteException;
83
84 public int getProductVersionsCount(long productEntryId)
85 throws com.liferay.portal.SystemException,
86 com.liferay.portal.PortalException, java.rmi.RemoteException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
89 long productVersionId, java.lang.String version,
90 java.lang.String changeLog, java.lang.String downloadPageURL,
91 java.lang.String directDownloadURL, boolean repoStoreArtifact,
92 long[] frameworkVersionIds)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portal.PortalException, java.rmi.RemoteException;
95 }