1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.softwarecatalog.service;
24  
25  
26  /**
27   * <a href="SCProductEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link SCProductEntryLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       SCProductEntryLocalService
40   * @generated
41   */
42  public class SCProductEntryLocalServiceWrapper
43      implements SCProductEntryLocalService {
44      public SCProductEntryLocalServiceWrapper(
45          SCProductEntryLocalService scProductEntryLocalService) {
46          _scProductEntryLocalService = scProductEntryLocalService;
47      }
48  
49      public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
50          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
51          throws com.liferay.portal.SystemException {
52          return _scProductEntryLocalService.addSCProductEntry(scProductEntry);
53      }
54  
55      public com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
56          long productEntryId) {
57          return _scProductEntryLocalService.createSCProductEntry(productEntryId);
58      }
59  
60      public void deleteSCProductEntry(long productEntryId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _scProductEntryLocalService.deleteSCProductEntry(productEntryId);
64      }
65  
66      public void deleteSCProductEntry(
67          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
68          throws com.liferay.portal.SystemException {
69          _scProductEntryLocalService.deleteSCProductEntry(scProductEntry);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _scProductEntryLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
85          long productEntryId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _scProductEntryLocalService.getSCProductEntry(productEntryId);
89      }
90  
91      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _scProductEntryLocalService.getSCProductEntries(start, end);
94      }
95  
96      public int getSCProductEntriesCount()
97          throws com.liferay.portal.SystemException {
98          return _scProductEntryLocalService.getSCProductEntriesCount();
99      }
100 
101     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
102         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
103         throws com.liferay.portal.SystemException {
104         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
105     }
106 
107     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
108         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry,
111             merge);
112     }
113 
114     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
115         long userId, java.lang.String name, java.lang.String type,
116         java.lang.String tags, java.lang.String shortDescription,
117         java.lang.String longDescription, java.lang.String pageURL,
118         java.lang.String author, java.lang.String repoGroupId,
119         java.lang.String repoArtifactId, long[] licenseIds,
120         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
121         com.liferay.portal.service.ServiceContext serviceContext)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _scProductEntryLocalService.addProductEntry(userId, name, type,
125             tags, shortDescription, longDescription, pageURL, author,
126             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
127             serviceContext);
128     }
129 
130     public void addProductEntryResources(long productEntryId,
131         boolean addCommunityPermissions, boolean addGuestPermissions)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException {
134         _scProductEntryLocalService.addProductEntryResources(productEntryId,
135             addCommunityPermissions, addGuestPermissions);
136     }
137 
138     public void addProductEntryResources(long productEntryId,
139         java.lang.String[] communityPermissions,
140         java.lang.String[] guestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _scProductEntryLocalService.addProductEntryResources(productEntryId,
144             communityPermissions, guestPermissions);
145     }
146 
147     public void addProductEntryResources(
148         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
149         boolean addCommunityPermissions, boolean addGuestPermissions)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _scProductEntryLocalService.addProductEntryResources(productEntry,
153             addCommunityPermissions, addGuestPermissions);
154     }
155 
156     public void addProductEntryResources(
157         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
158         java.lang.String[] communityPermissions,
159         java.lang.String[] guestPermissions)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         _scProductEntryLocalService.addProductEntryResources(productEntry,
163             communityPermissions, guestPermissions);
164     }
165 
166     public void deleteProductEntries(long groupId)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         _scProductEntryLocalService.deleteProductEntries(groupId);
170     }
171 
172     public void deleteProductEntry(long productEntryId)
173         throws com.liferay.portal.PortalException,
174             com.liferay.portal.SystemException {
175         _scProductEntryLocalService.deleteProductEntry(productEntryId);
176     }
177 
178     public void deleteProductEntry(
179         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         _scProductEntryLocalService.deleteProductEntry(productEntry);
183     }
184 
185     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
186         long groupId, int start, int end)
187         throws com.liferay.portal.SystemException {
188         return _scProductEntryLocalService.getProductEntries(groupId, start, end);
189     }
190 
191     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
192         long groupId, int start, int end,
193         com.liferay.portal.kernel.util.OrderByComparator obc)
194         throws com.liferay.portal.SystemException {
195         return _scProductEntryLocalService.getProductEntries(groupId, start,
196             end, obc);
197     }
198 
199     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
200         long groupId, long userId, int start, int end)
201         throws com.liferay.portal.SystemException {
202         return _scProductEntryLocalService.getProductEntries(groupId, userId,
203             start, end);
204     }
205 
206     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
207         long groupId, long userId, int start, int end,
208         com.liferay.portal.kernel.util.OrderByComparator obc)
209         throws com.liferay.portal.SystemException {
210         return _scProductEntryLocalService.getProductEntries(groupId, userId,
211             start, end, obc);
212     }
213 
214     public int getProductEntriesCount(long groupId)
215         throws com.liferay.portal.SystemException {
216         return _scProductEntryLocalService.getProductEntriesCount(groupId);
217     }
218 
219     public int getProductEntriesCount(long groupId, long userId)
220         throws com.liferay.portal.SystemException {
221         return _scProductEntryLocalService.getProductEntriesCount(groupId,
222             userId);
223     }
224 
225     public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
226         long productEntryId)
227         throws com.liferay.portal.PortalException,
228             com.liferay.portal.SystemException {
229         return _scProductEntryLocalService.getProductEntry(productEntryId);
230     }
231 
232     public java.lang.String getRepositoryXML(long groupId,
233         java.lang.String baseImageURL, java.util.Date oldestDate,
234         int maxNumOfVersions, java.util.Properties repoSettings)
235         throws com.liferay.portal.SystemException {
236         return _scProductEntryLocalService.getRepositoryXML(groupId,
237             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
238     }
239 
240     public java.lang.String getRepositoryXML(long groupId,
241         java.lang.String version, java.lang.String baseImageURL,
242         java.util.Date oldestDate, int maxNumOfVersions,
243         java.util.Properties repoSettings)
244         throws com.liferay.portal.SystemException {
245         return _scProductEntryLocalService.getRepositoryXML(groupId, version,
246             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
247     }
248 
249     public void reIndex(long productEntryId)
250         throws com.liferay.portal.SystemException {
251         _scProductEntryLocalService.reIndex(productEntryId);
252     }
253 
254     public void reIndex(
255         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
256         throws com.liferay.portal.SystemException {
257         _scProductEntryLocalService.reIndex(productEntry);
258     }
259 
260     public void reIndex(java.lang.String[] ids)
261         throws com.liferay.portal.SystemException {
262         _scProductEntryLocalService.reIndex(ids);
263     }
264 
265     public com.liferay.portal.kernel.search.Hits search(long companyId,
266         long groupId, java.lang.String keywords, java.lang.String type,
267         int start, int end) throws com.liferay.portal.SystemException {
268         return _scProductEntryLocalService.search(companyId, groupId, keywords,
269             type, start, end);
270     }
271 
272     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
273         long productEntryId, java.lang.String name, java.lang.String type,
274         java.lang.String tags, java.lang.String shortDescription,
275         java.lang.String longDescription, java.lang.String pageURL,
276         java.lang.String author, java.lang.String repoGroupId,
277         java.lang.String repoArtifactId, long[] licenseIds,
278         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
279         throws com.liferay.portal.PortalException,
280             com.liferay.portal.SystemException {
281         return _scProductEntryLocalService.updateProductEntry(productEntryId,
282             name, type, tags, shortDescription, longDescription, pageURL,
283             author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
284             fullImages);
285     }
286 
287     public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
288         return _scProductEntryLocalService;
289     }
290 
291     private SCProductEntryLocalService _scProductEntryLocalService;
292 }