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          boolean addCommunityPermissions, boolean addGuestPermissions)
46          throws com.liferay.portal.PortalException,
47              com.liferay.portal.SystemException, java.rmi.RemoteException {
48          return _scProductVersionService.addProductVersion(productEntryId,
49              version, changeLog, downloadPageURL, directDownloadURL,
50              testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
51              addCommunityPermissions, addGuestPermissions);
52      }
53  
54      public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
55          long productEntryId, java.lang.String version,
56          java.lang.String changeLog, java.lang.String downloadPageURL,
57          java.lang.String directDownloadURL, boolean testDirectDownloadURL,
58          boolean repoStoreArtifact, long[] frameworkVersionIds,
59          java.lang.String[] communityPermissions,
60          java.lang.String[] guestPermissions)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException, java.rmi.RemoteException {
63          return _scProductVersionService.addProductVersion(productEntryId,
64              version, changeLog, downloadPageURL, directDownloadURL,
65              testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
66              communityPermissions, guestPermissions);
67      }
68  
69      public void deleteProductVersion(long productVersionId)
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException, java.rmi.RemoteException {
72          _scProductVersionService.deleteProductVersion(productVersionId);
73      }
74  
75      public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
76          long productVersionId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException, java.rmi.RemoteException {
79          return _scProductVersionService.getProductVersion(productVersionId);
80      }
81  
82      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
83          long productEntryId, int start, int end)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException, java.rmi.RemoteException {
86          return _scProductVersionService.getProductVersions(productEntryId,
87              start, end);
88      }
89  
90      public int getProductVersionsCount(long productEntryId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException, java.rmi.RemoteException {
93          return _scProductVersionService.getProductVersionsCount(productEntryId);
94      }
95  
96      public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
97          long productVersionId, java.lang.String version,
98          java.lang.String changeLog, java.lang.String downloadPageURL,
99          java.lang.String directDownloadURL, boolean testDirectDownloadURL,
100         boolean repoStoreArtifact, long[] frameworkVersionIds)
101         throws com.liferay.portal.PortalException,
102             com.liferay.portal.SystemException, java.rmi.RemoteException {
103         return _scProductVersionService.updateProductVersion(productVersionId,
104             version, changeLog, downloadPageURL, directDownloadURL,
105             testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
106     }
107 
108     public SCProductVersionService getWrappedSCProductVersionService() {
109         return _scProductVersionService;
110     }
111 
112     private SCProductVersionService _scProductVersionService;
113 }