1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
47 public class SCProductVersionServiceUtil {
48 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
49 long productEntryId, java.lang.String version,
50 java.lang.String changeLog, java.lang.String downloadPageURL,
51 java.lang.String directDownloadURL, boolean repoStoreArtifact,
52 long[] frameworkVersionIds, boolean addCommunityPermissions,
53 boolean addGuestPermissions)
54 throws com.liferay.portal.PortalException,
55 com.liferay.portal.SystemException, java.rmi.RemoteException {
56 return _service.addProductVersion(productEntryId, version, changeLog,
57 downloadPageURL, directDownloadURL, repoStoreArtifact,
58 frameworkVersionIds, addCommunityPermissions, addGuestPermissions);
59 }
60
61 public static 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.PortalException,
68 com.liferay.portal.SystemException, java.rmi.RemoteException {
69 return _service.addProductVersion(productEntryId, version, changeLog,
70 downloadPageURL, directDownloadURL, repoStoreArtifact,
71 frameworkVersionIds, communityPermissions, guestPermissions);
72 }
73
74 public static void deleteProductVersion(long productVersionId)
75 throws com.liferay.portal.PortalException,
76 com.liferay.portal.SystemException, java.rmi.RemoteException {
77 _service.deleteProductVersion(productVersionId);
78 }
79
80 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
81 long productVersionId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException, java.rmi.RemoteException {
84 return _service.getProductVersion(productVersionId);
85 }
86
87 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
88 long productEntryId, int start, int end)
89 throws com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException, java.rmi.RemoteException {
91 return _service.getProductVersions(productEntryId, start, end);
92 }
93
94 public static int getProductVersionsCount(long productEntryId)
95 throws com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException, java.rmi.RemoteException {
97 return _service.getProductVersionsCount(productEntryId);
98 }
99
100 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
101 long productVersionId, java.lang.String version,
102 java.lang.String changeLog, java.lang.String downloadPageURL,
103 java.lang.String directDownloadURL, boolean repoStoreArtifact,
104 long[] frameworkVersionIds)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException, java.rmi.RemoteException {
107 return _service.updateProductVersion(productVersionId, version,
108 changeLog, downloadPageURL, directDownloadURL, repoStoreArtifact,
109 frameworkVersionIds);
110 }
111
112 public static SCProductVersionService getService() {
113 return _service;
114 }
115
116 public void setService(SCProductVersionService service) {
117 _service = service;
118 }
119
120 private static SCProductVersionService _service;
121 }