1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
47 public class SCProductVersionLocalServiceUtil {
48 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
49 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
50 throws com.liferay.portal.SystemException {
51 return _service.addSCProductVersion(scProductVersion);
52 }
53
54 public static void deleteSCProductVersion(long productVersionId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteSCProductVersion(productVersionId);
58 }
59
60 public static void deleteSCProductVersion(
61 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
62 throws com.liferay.portal.SystemException {
63 _service.deleteSCProductVersion(scProductVersion);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
79 long productVersionId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getSCProductVersion(productVersionId);
83 }
84
85 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getSCProductVersions(start, end);
88 }
89
90 public static int getSCProductVersionsCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getSCProductVersionsCount();
93 }
94
95 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
96 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
97 throws com.liferay.portal.SystemException {
98 return _service.updateSCProductVersion(scProductVersion);
99 }
100
101 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
102 long userId, long productEntryId, java.lang.String version,
103 java.lang.String changeLog, java.lang.String downloadPageURL,
104 java.lang.String directDownloadURL, boolean repoStoreArtifact,
105 long[] frameworkVersionIds, boolean addCommunityPermissions,
106 boolean addGuestPermissions)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException {
109 return _service.addProductVersion(userId, productEntryId, version,
110 changeLog, downloadPageURL, directDownloadURL, repoStoreArtifact,
111 frameworkVersionIds, addCommunityPermissions, addGuestPermissions);
112 }
113
114 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
115 long userId, long productEntryId, java.lang.String version,
116 java.lang.String changeLog, java.lang.String downloadPageURL,
117 java.lang.String directDownloadURL, boolean repoStoreArtifact,
118 long[] frameworkVersionIds, java.lang.String[] communityPermissions,
119 java.lang.String[] guestPermissions)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _service.addProductVersion(userId, productEntryId, version,
123 changeLog, downloadPageURL, directDownloadURL, repoStoreArtifact,
124 frameworkVersionIds, communityPermissions, guestPermissions);
125 }
126
127 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
128 long userId, long productEntryId, java.lang.String version,
129 java.lang.String changeLog, java.lang.String downloadPageURL,
130 java.lang.String directDownloadURL, boolean repoStoreArtifact,
131 long[] frameworkVersionIds, java.lang.Boolean addCommunityPermissions,
132 java.lang.Boolean addGuestPermissions,
133 java.lang.String[] communityPermissions,
134 java.lang.String[] guestPermissions)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 return _service.addProductVersion(userId, productEntryId, version,
138 changeLog, downloadPageURL, directDownloadURL, repoStoreArtifact,
139 frameworkVersionIds, addCommunityPermissions, addGuestPermissions,
140 communityPermissions, guestPermissions);
141 }
142
143 public static void deleteProductVersion(long productVersionId)
144 throws com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException {
146 _service.deleteProductVersion(productVersionId);
147 }
148
149 public static void deleteProductVersion(
150 com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
151 throws com.liferay.portal.SystemException {
152 _service.deleteProductVersion(productVersion);
153 }
154
155 public static void deleteProductVersions(long productEntryId)
156 throws com.liferay.portal.SystemException {
157 _service.deleteProductVersions(productEntryId);
158 }
159
160 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
161 long productVersionId)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 return _service.getProductVersion(productVersionId);
165 }
166
167 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
168 java.lang.String directDownloadURL)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException {
171 return _service.getProductVersionByDirectDownloadURL(directDownloadURL);
172 }
173
174 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
175 long productEntryId, int start, int end)
176 throws com.liferay.portal.SystemException {
177 return _service.getProductVersions(productEntryId, start, end);
178 }
179
180 public static int getProductVersionsCount(long productEntryId)
181 throws com.liferay.portal.SystemException {
182 return _service.getProductVersionsCount(productEntryId);
183 }
184
185 public static com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
186 long productVersionId, java.lang.String version,
187 java.lang.String changeLog, java.lang.String downloadPageURL,
188 java.lang.String directDownloadURL, boolean repoStoreArtifact,
189 long[] frameworkVersionIds)
190 throws com.liferay.portal.PortalException,
191 com.liferay.portal.SystemException {
192 return _service.updateProductVersion(productVersionId, version,
193 changeLog, downloadPageURL, directDownloadURL, repoStoreArtifact,
194 frameworkVersionIds);
195 }
196
197 public static SCProductVersionLocalService getService() {
198 return _service;
199 }
200
201 public void setService(SCProductVersionLocalService service) {
202 _service = service;
203 }
204
205 private static SCProductVersionLocalService _service;
206 }