001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class SCProductVersionServiceWrapper implements SCProductVersionService,
029 ServiceWrapper<SCProductVersionService> {
030 public SCProductVersionServiceWrapper(
031 SCProductVersionService scProductVersionService) {
032 _scProductVersionService = scProductVersionService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _scProductVersionService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _scProductVersionService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
054 long productEntryId, java.lang.String version,
055 java.lang.String changeLog, java.lang.String downloadPageURL,
056 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
057 boolean repoStoreArtifact, long[] frameworkVersionIds,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _scProductVersionService.addProductVersion(productEntryId,
062 version, changeLog, downloadPageURL, directDownloadURL,
063 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
064 serviceContext);
065 }
066
067 public void deleteProductVersion(long productVersionId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 _scProductVersionService.deleteProductVersion(productVersionId);
071 }
072
073 public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
074 long productVersionId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return _scProductVersionService.getProductVersion(productVersionId);
078 }
079
080 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
081 long productEntryId, int start, int end)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return _scProductVersionService.getProductVersions(productEntryId,
085 start, end);
086 }
087
088 public int getProductVersionsCount(long productEntryId)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException {
091 return _scProductVersionService.getProductVersionsCount(productEntryId);
092 }
093
094 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
095 long productVersionId, java.lang.String version,
096 java.lang.String changeLog, java.lang.String downloadPageURL,
097 java.lang.String directDownloadURL, boolean testDirectDownloadURL,
098 boolean repoStoreArtifact, long[] frameworkVersionIds)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 return _scProductVersionService.updateProductVersion(productVersionId,
102 version, changeLog, downloadPageURL, directDownloadURL,
103 testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
104 }
105
106
109 public SCProductVersionService getWrappedSCProductVersionService() {
110 return _scProductVersionService;
111 }
112
113
116 public void setWrappedSCProductVersionService(
117 SCProductVersionService scProductVersionService) {
118 _scProductVersionService = scProductVersionService;
119 }
120
121 public SCProductVersionService getWrappedService() {
122 return _scProductVersionService;
123 }
124
125 public void setWrappedService(
126 SCProductVersionService scProductVersionService) {
127 _scProductVersionService = scProductVersionService;
128 }
129
130 private SCProductVersionService _scProductVersionService;
131 }