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.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.PortalException,
54              com.liferay.portal.SystemException {
55          _scProductVersionLocalService.deleteSCProductVersion(productVersionId);
56      }
57  
58      public void deleteSCProductVersion(
59          com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
60          throws com.liferay.portal.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.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.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.PortalException,
80              com.liferay.portal.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) throws com.liferay.portal.SystemException {
86          return _scProductVersionLocalService.getSCProductVersions(start, end);
87      }
88  
89      public int getSCProductVersionsCount()
90          throws com.liferay.portal.SystemException {
91          return _scProductVersionLocalService.getSCProductVersionsCount();
92      }
93  
94      public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
95          com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
96          throws com.liferay.portal.SystemException {
97          return _scProductVersionLocalService.updateSCProductVersion(scProductVersion);
98      }
99  
100     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
101         com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
102         boolean merge) throws com.liferay.portal.SystemException {
103         return _scProductVersionLocalService.updateSCProductVersion(scProductVersion,
104             merge);
105     }
106 
107     public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
108         long userId, long productEntryId, java.lang.String version,
109         java.lang.String changeLog, java.lang.String downloadPageURL,
110         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
111         boolean repoStoreArtifact, long[] frameworkVersionIds,
112         boolean addCommunityPermissions, boolean addGuestPermissions)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException {
115         return _scProductVersionLocalService.addProductVersion(userId,
116             productEntryId, version, changeLog, downloadPageURL,
117             directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
118             frameworkVersionIds, addCommunityPermissions, addGuestPermissions);
119     }
120 
121     public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
122         long userId, long productEntryId, java.lang.String version,
123         java.lang.String changeLog, java.lang.String downloadPageURL,
124         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
125         boolean repoStoreArtifact, long[] frameworkVersionIds,
126         java.lang.Boolean addCommunityPermissions,
127         java.lang.Boolean addGuestPermissions,
128         java.lang.String[] communityPermissions,
129         java.lang.String[] guestPermissions)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         return _scProductVersionLocalService.addProductVersion(userId,
133             productEntryId, version, changeLog, downloadPageURL,
134             directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
135             frameworkVersionIds, addCommunityPermissions, addGuestPermissions,
136             communityPermissions, guestPermissions);
137     }
138 
139     public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
140         long userId, long productEntryId, java.lang.String version,
141         java.lang.String changeLog, java.lang.String downloadPageURL,
142         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
143         boolean repoStoreArtifact, long[] frameworkVersionIds,
144         java.lang.String[] communityPermissions,
145         java.lang.String[] guestPermissions)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         return _scProductVersionLocalService.addProductVersion(userId,
149             productEntryId, version, changeLog, downloadPageURL,
150             directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
151             frameworkVersionIds, communityPermissions, guestPermissions);
152     }
153 
154     public void deleteProductVersion(long productVersionId)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _scProductVersionLocalService.deleteProductVersion(productVersionId);
158     }
159 
160     public void deleteProductVersion(
161         com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
162         throws com.liferay.portal.SystemException {
163         _scProductVersionLocalService.deleteProductVersion(productVersion);
164     }
165 
166     public void deleteProductVersions(long productEntryId)
167         throws com.liferay.portal.SystemException {
168         _scProductVersionLocalService.deleteProductVersions(productEntryId);
169     }
170 
171     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
172         long productVersionId)
173         throws com.liferay.portal.PortalException,
174             com.liferay.portal.SystemException {
175         return _scProductVersionLocalService.getProductVersion(productVersionId);
176     }
177 
178     public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
179         java.lang.String directDownloadURL)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         return _scProductVersionLocalService.getProductVersionByDirectDownloadURL(directDownloadURL);
183     }
184 
185     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
186         long productEntryId, int start, int end)
187         throws com.liferay.portal.SystemException {
188         return _scProductVersionLocalService.getProductVersions(productEntryId,
189             start, end);
190     }
191 
192     public int getProductVersionsCount(long productEntryId)
193         throws com.liferay.portal.SystemException {
194         return _scProductVersionLocalService.getProductVersionsCount(productEntryId);
195     }
196 
197     public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
198         long productVersionId, java.lang.String version,
199         java.lang.String changeLog, java.lang.String downloadPageURL,
200         java.lang.String directDownloadURL, boolean testDirectDownloadURL,
201         boolean repoStoreArtifact, long[] frameworkVersionIds)
202         throws com.liferay.portal.PortalException,
203             com.liferay.portal.SystemException {
204         return _scProductVersionLocalService.updateProductVersion(productVersionId,
205             version, changeLog, downloadPageURL, directDownloadURL,
206             testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
207     }
208 
209     public SCProductVersionLocalService getWrappedSCProductVersionLocalService() {
210         return _scProductVersionLocalService;
211     }
212 
213     private SCProductVersionLocalService _scProductVersionLocalService;
214 }