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 boolean addCommunityPermissions, boolean addGuestPermissions)
46 throws com.liferay.portal.PortalException,
47 com.liferay.portal.SystemException, java.rmi.RemoteException {
48 return _scProductVersionService.addProductVersion(productEntryId,
49 version, changeLog, downloadPageURL, directDownloadURL,
50 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
51 addCommunityPermissions, addGuestPermissions);
52 }
53
54 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
55 long productEntryId, java.lang.String version,
56 java.lang.String changeLog, java.lang.String downloadPageURL,
57 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
58 boolean repoStoreArtifact, long[] frameworkVersionIds,
59 java.lang.String[] communityPermissions,
60 java.lang.String[] guestPermissions)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException, java.rmi.RemoteException {
63 return _scProductVersionService.addProductVersion(productEntryId,
64 version, changeLog, downloadPageURL, directDownloadURL,
65 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
66 communityPermissions, guestPermissions);
67 }
68
69 public void deleteProductVersion(long productVersionId)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException, java.rmi.RemoteException {
72 _scProductVersionService.deleteProductVersion(productVersionId);
73 }
74
75 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
76 long productVersionId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException, java.rmi.RemoteException {
79 return _scProductVersionService.getProductVersion(productVersionId);
80 }
81
82 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
83 long productEntryId, int start, int end)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException, java.rmi.RemoteException {
86 return _scProductVersionService.getProductVersions(productEntryId,
87 start, end);
88 }
89
90 public int getProductVersionsCount(long productEntryId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException, java.rmi.RemoteException {
93 return _scProductVersionService.getProductVersionsCount(productEntryId);
94 }
95
96 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
97 long productVersionId, java.lang.String version,
98 java.lang.String changeLog, java.lang.String downloadPageURL,
99 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
100 boolean repoStoreArtifact, long[] frameworkVersionIds)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException, java.rmi.RemoteException {
103 return _scProductVersionService.updateProductVersion(productVersionId,
104 version, changeLog, downloadPageURL, directDownloadURL,
105 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
106 }
107
108 public SCProductVersionService getWrappedSCProductVersionService() {
109 return _scProductVersionService;
110 }
111
112 private SCProductVersionService _scProductVersionService;
113 }