001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017
026 public class SCProductVersionServiceWrapper implements SCProductVersionService {
027 public SCProductVersionServiceWrapper(
028 SCProductVersionService scProductVersionService) {
029 _scProductVersionService = scProductVersionService;
030 }
031
032 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
033 long productEntryId, java.lang.String version,
034 java.lang.String changeLog, java.lang.String downloadPageURL,
035 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
036 boolean repoStoreArtifact, long[] frameworkVersionIds,
037 com.liferay.portal.service.ServiceContext serviceContext)
038 throws com.liferay.portal.kernel.exception.PortalException,
039 com.liferay.portal.kernel.exception.SystemException {
040 return _scProductVersionService.addProductVersion(productEntryId,
041 version, changeLog, downloadPageURL, directDownloadURL,
042 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
043 serviceContext);
044 }
045
046 public void deleteProductVersion(long productVersionId)
047 throws com.liferay.portal.kernel.exception.PortalException,
048 com.liferay.portal.kernel.exception.SystemException {
049 _scProductVersionService.deleteProductVersion(productVersionId);
050 }
051
052 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
053 long productVersionId)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 return _scProductVersionService.getProductVersion(productVersionId);
057 }
058
059 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
060 long productEntryId, int start, int end)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _scProductVersionService.getProductVersions(productEntryId,
064 start, end);
065 }
066
067 public int getProductVersionsCount(long productEntryId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _scProductVersionService.getProductVersionsCount(productEntryId);
071 }
072
073 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
074 long productVersionId, java.lang.String version,
075 java.lang.String changeLog, java.lang.String downloadPageURL,
076 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
077 boolean repoStoreArtifact, long[] frameworkVersionIds)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return _scProductVersionService.updateProductVersion(productVersionId,
081 version, changeLog, downloadPageURL, directDownloadURL,
082 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
083 }
084
085 public SCProductVersionService getWrappedSCProductVersionService() {
086 return _scProductVersionService;
087 }
088
089 private SCProductVersionService _scProductVersionService;
090 }