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="SCProductVersionLocalServiceUtil.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 SCProductVersionLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCProductVersionLocalService
32   * @generated
33   */
34  public class SCProductVersionLocalServiceWrapper
35      implements SCProductVersionLocalService {
36      public SCProductVersionLocalServiceWrapper(
37          SCProductVersionLocalService scProductVersionLocalService) {
38          _scProductVersionLocalService = scProductVersionLocalService;
39      }
40  
41      public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
42          com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _scProductVersionLocalService.addSCProductVersion(scProductVersion);
45      }
46  
47      public com.liferay.portlet.softwarecatalog.model.SCProductVersion createSCProductVersion(
48          long productVersionId) {
49          return _scProductVersionLocalService.createSCProductVersion(productVersionId);
50      }
51  
52      public void deleteSCProductVersion(long productVersionId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _scProductVersionLocalService.deleteSCProductVersion(productVersionId);
56      }
57  
58      public void deleteSCProductVersion(
59          com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _scProductVersionLocalService.deleteSCProductVersion(scProductVersion);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _scProductVersionLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _scProductVersionLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
78          long productVersionId)
79          throws com.liferay.portal.kernel.exception.PortalException,
80              com.liferay.portal.kernel.exception.SystemException {
81          return _scProductVersionLocalService.getSCProductVersion(productVersionId);
82      }
83  
84      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
85          int start, int end)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _scProductVersionLocalService.getSCProductVersions(start, end);
88      }
89  
90      public int getSCProductVersionsCount()
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _scProductVersionLocalService.getSCProductVersionsCount();
93      }
94  
95      public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
96          com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _scProductVersionLocalService.updateSCProductVersion(scProductVersion);
99      }
100 
101     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
102         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
103         boolean merge)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _scProductVersionLocalService.updateSCProductVersion(scProductVersion,
106             merge);
107     }
108 
109     public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
110         long userId, long productEntryId, java.lang.String version,
111         java.lang.String changeLog, java.lang.String downloadPageURL,
112         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
113         boolean repoStoreArtifact, long[] frameworkVersionIds,
114         com.liferay.portal.service.ServiceContext serviceContext)
115         throws com.liferay.portal.kernel.exception.PortalException,
116             com.liferay.portal.kernel.exception.SystemException {
117         return _scProductVersionLocalService.addProductVersion(userId,
118             productEntryId, version, changeLog, downloadPageURL,
119             directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
120             frameworkVersionIds, serviceContext);
121     }
122 
123     public void deleteProductVersion(long productVersionId)
124         throws com.liferay.portal.kernel.exception.PortalException,
125             com.liferay.portal.kernel.exception.SystemException {
126         _scProductVersionLocalService.deleteProductVersion(productVersionId);
127     }
128 
129     public void deleteProductVersion(
130         com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
131         throws com.liferay.portal.kernel.exception.SystemException {
132         _scProductVersionLocalService.deleteProductVersion(productVersion);
133     }
134 
135     public void deleteProductVersions(long productEntryId)
136         throws com.liferay.portal.kernel.exception.SystemException {
137         _scProductVersionLocalService.deleteProductVersions(productEntryId);
138     }
139 
140     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
141         long productVersionId)
142         throws com.liferay.portal.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.SystemException {
144         return _scProductVersionLocalService.getProductVersion(productVersionId);
145     }
146 
147     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
148         java.lang.String directDownloadURL)
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         return _scProductVersionLocalService.getProductVersionByDirectDownloadURL(directDownloadURL);
152     }
153 
154     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
155         long productEntryId, int start, int end)
156         throws com.liferay.portal.kernel.exception.SystemException {
157         return _scProductVersionLocalService.getProductVersions(productEntryId,
158             start, end);
159     }
160 
161     public int getProductVersionsCount(long productEntryId)
162         throws com.liferay.portal.kernel.exception.SystemException {
163         return _scProductVersionLocalService.getProductVersionsCount(productEntryId);
164     }
165 
166     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
167         long productVersionId, java.lang.String version,
168         java.lang.String changeLog, java.lang.String downloadPageURL,
169         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
170         boolean repoStoreArtifact, long[] frameworkVersionIds)
171         throws com.liferay.portal.kernel.exception.PortalException,
172             com.liferay.portal.kernel.exception.SystemException {
173         return _scProductVersionLocalService.updateProductVersion(productVersionId,
174             version, changeLog, downloadPageURL, directDownloadURL,
175             testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
176     }
177 
178     public SCProductVersionLocalService getWrappedSCProductVersionLocalService() {
179         return _scProductVersionLocalService;
180     }
181 
182     private SCProductVersionLocalService _scProductVersionLocalService;
183 }