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