1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  /**
18   * <a href="SCProductVersionServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link SCProductVersionService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SCProductVersionService
31   * @generated
32   */
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  }