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