1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17
18
34 public class SCProductVersionServiceWrapper implements SCProductVersionService {
35 public SCProductVersionServiceWrapper(
36 SCProductVersionService scProductVersionService) {
37 _scProductVersionService = scProductVersionService;
38 }
39
40 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
41 long productEntryId, java.lang.String version,
42 java.lang.String changeLog, java.lang.String downloadPageURL,
43 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
44 boolean repoStoreArtifact, long[] frameworkVersionIds,
45 com.liferay.portal.service.ServiceContext serviceContext)
46 throws com.liferay.portal.kernel.exception.PortalException,
47 com.liferay.portal.kernel.exception.SystemException {
48 return _scProductVersionService.addProductVersion(productEntryId,
49 version, changeLog, downloadPageURL, directDownloadURL,
50 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
51 serviceContext);
52 }
53
54 public void deleteProductVersion(long productVersionId)
55 throws com.liferay.portal.kernel.exception.PortalException,
56 com.liferay.portal.kernel.exception.SystemException {
57 _scProductVersionService.deleteProductVersion(productVersionId);
58 }
59
60 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
61 long productVersionId)
62 throws com.liferay.portal.kernel.exception.PortalException,
63 com.liferay.portal.kernel.exception.SystemException {
64 return _scProductVersionService.getProductVersion(productVersionId);
65 }
66
67 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
68 long productEntryId, int start, int end)
69 throws com.liferay.portal.kernel.exception.PortalException,
70 com.liferay.portal.kernel.exception.SystemException {
71 return _scProductVersionService.getProductVersions(productEntryId,
72 start, end);
73 }
74
75 public int getProductVersionsCount(long productEntryId)
76 throws com.liferay.portal.kernel.exception.PortalException,
77 com.liferay.portal.kernel.exception.SystemException {
78 return _scProductVersionService.getProductVersionsCount(productEntryId);
79 }
80
81 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
82 long productVersionId, java.lang.String version,
83 java.lang.String changeLog, java.lang.String downloadPageURL,
84 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
85 boolean repoStoreArtifact, long[] frameworkVersionIds)
86 throws com.liferay.portal.kernel.exception.PortalException,
87 com.liferay.portal.kernel.exception.SystemException {
88 return _scProductVersionService.updateProductVersion(productVersionId,
89 version, changeLog, downloadPageURL, directDownloadURL,
90 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
91 }
92
93 public SCProductVersionService getWrappedSCProductVersionService() {
94 return _scProductVersionService;
95 }
96
97 private SCProductVersionService _scProductVersionService;
98 }