1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  
18  /**
19   * <a href="SCProductVersionServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link SCProductVersionService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCProductVersionService
32   * @generated
33   */
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          com.liferay.portal.service.ServiceContext serviceContext)
46          throws com.liferay.portal.kernel.exception.PortalException,
47              com.liferay.portal.kernel.exception.SystemException {
48          return _scProductVersionService.addProductVersion(productEntryId,
49              version, changeLog, downloadPageURL, directDownloadURL,
50              testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
51              serviceContext);
52      }
53  
54      public void deleteProductVersion(long productVersionId)
55          throws com.liferay.portal.kernel.exception.PortalException,
56              com.liferay.portal.kernel.exception.SystemException {
57          _scProductVersionService.deleteProductVersion(productVersionId);
58      }
59  
60      public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
61          long productVersionId)
62          throws com.liferay.portal.kernel.exception.PortalException,
63              com.liferay.portal.kernel.exception.SystemException {
64          return _scProductVersionService.getProductVersion(productVersionId);
65      }
66  
67      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
68          long productEntryId, int start, int end)
69          throws com.liferay.portal.kernel.exception.PortalException,
70              com.liferay.portal.kernel.exception.SystemException {
71          return _scProductVersionService.getProductVersions(productEntryId,
72              start, end);
73      }
74  
75      public int getProductVersionsCount(long productEntryId)
76          throws com.liferay.portal.kernel.exception.PortalException,
77              com.liferay.portal.kernel.exception.SystemException {
78          return _scProductVersionService.getProductVersionsCount(productEntryId);
79      }
80  
81      public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
82          long productVersionId, java.lang.String version,
83          java.lang.String changeLog, java.lang.String downloadPageURL,
84          java.lang.String directDownloadURL, boolean testDirectDownloadURL,
85          boolean repoStoreArtifact, long[] frameworkVersionIds)
86          throws com.liferay.portal.kernel.exception.PortalException,
87              com.liferay.portal.kernel.exception.SystemException {
88          return _scProductVersionService.updateProductVersion(productVersionId,
89              version, changeLog, downloadPageURL, directDownloadURL,
90              testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
91      }
92  
93      public SCProductVersionService getWrappedSCProductVersionService() {
94          return _scProductVersionService;
95      }
96  
97      private SCProductVersionService _scProductVersionService;
98  }