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      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _scProductVersionLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _scProductVersionLocalService.dynamicQuery(dynamicQuery, start,
76              end);
77      }
78  
79      @SuppressWarnings("unchecked")
80      public java.util.List dynamicQuery(
81          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
82          int end,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _scProductVersionLocalService.dynamicQuery(dynamicQuery, start,
86              end, orderByComparator);
87      }
88  
89      public long dynamicQueryCount(
90          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _scProductVersionLocalService.dynamicQueryCount(dynamicQuery);
93      }
94  
95      public com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
96          long productVersionId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _scProductVersionLocalService.getSCProductVersion(productVersionId);
100     }
101 
102     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
103         int start, int end)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _scProductVersionLocalService.getSCProductVersions(start, end);
106     }
107 
108     public int getSCProductVersionsCount()
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _scProductVersionLocalService.getSCProductVersionsCount();
111     }
112 
113     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
114         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _scProductVersionLocalService.updateSCProductVersion(scProductVersion);
117     }
118 
119     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
120         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
121         boolean merge)
122         throws com.liferay.portal.kernel.exception.SystemException {
123         return _scProductVersionLocalService.updateSCProductVersion(scProductVersion,
124             merge);
125     }
126 
127     public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
128         long userId, long productEntryId, java.lang.String version,
129         java.lang.String changeLog, java.lang.String downloadPageURL,
130         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
131         boolean repoStoreArtifact, long[] frameworkVersionIds,
132         com.liferay.portal.service.ServiceContext serviceContext)
133         throws com.liferay.portal.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         return _scProductVersionLocalService.addProductVersion(userId,
136             productEntryId, version, changeLog, downloadPageURL,
137             directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
138             frameworkVersionIds, serviceContext);
139     }
140 
141     public void deleteProductVersion(long productVersionId)
142         throws com.liferay.portal.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.SystemException {
144         _scProductVersionLocalService.deleteProductVersion(productVersionId);
145     }
146 
147     public void deleteProductVersion(
148         com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
149         throws com.liferay.portal.kernel.exception.SystemException {
150         _scProductVersionLocalService.deleteProductVersion(productVersion);
151     }
152 
153     public void deleteProductVersions(long productEntryId)
154         throws com.liferay.portal.kernel.exception.SystemException {
155         _scProductVersionLocalService.deleteProductVersions(productEntryId);
156     }
157 
158     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
159         long productVersionId)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException {
162         return _scProductVersionLocalService.getProductVersion(productVersionId);
163     }
164 
165     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
166         java.lang.String directDownloadURL)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         return _scProductVersionLocalService.getProductVersionByDirectDownloadURL(directDownloadURL);
170     }
171 
172     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
173         long productEntryId, int start, int end)
174         throws com.liferay.portal.kernel.exception.SystemException {
175         return _scProductVersionLocalService.getProductVersions(productEntryId,
176             start, end);
177     }
178 
179     public int getProductVersionsCount(long productEntryId)
180         throws com.liferay.portal.kernel.exception.SystemException {
181         return _scProductVersionLocalService.getProductVersionsCount(productEntryId);
182     }
183 
184     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
185         long productVersionId, java.lang.String version,
186         java.lang.String changeLog, java.lang.String downloadPageURL,
187         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
188         boolean repoStoreArtifact, long[] frameworkVersionIds)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         return _scProductVersionLocalService.updateProductVersion(productVersionId,
192             version, changeLog, downloadPageURL, directDownloadURL,
193             testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
194     }
195 
196     public SCProductVersionLocalService getWrappedSCProductVersionLocalService() {
197         return _scProductVersionLocalService;
198     }
199 
200     private SCProductVersionLocalService _scProductVersionLocalService;
201 }