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="SCProductEntryLocalServiceUtil.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 SCProductEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCProductEntryLocalService
32   * @generated
33   */
34  public class SCProductEntryLocalServiceWrapper
35      implements SCProductEntryLocalService {
36      public SCProductEntryLocalServiceWrapper(
37          SCProductEntryLocalService scProductEntryLocalService) {
38          _scProductEntryLocalService = scProductEntryLocalService;
39      }
40  
41      public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
42          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
43          throws com.liferay.portal.SystemException {
44          return _scProductEntryLocalService.addSCProductEntry(scProductEntry);
45      }
46  
47      public com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
48          long productEntryId) {
49          return _scProductEntryLocalService.createSCProductEntry(productEntryId);
50      }
51  
52      public void deleteSCProductEntry(long productEntryId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _scProductEntryLocalService.deleteSCProductEntry(productEntryId);
56      }
57  
58      public void deleteSCProductEntry(
59          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
60          throws com.liferay.portal.SystemException {
61          _scProductEntryLocalService.deleteSCProductEntry(scProductEntry);
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 _scProductEntryLocalService.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 _scProductEntryLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
77          long productEntryId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _scProductEntryLocalService.getSCProductEntry(productEntryId);
81      }
82  
83      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
84          int start, int end) throws com.liferay.portal.SystemException {
85          return _scProductEntryLocalService.getSCProductEntries(start, end);
86      }
87  
88      public int getSCProductEntriesCount()
89          throws com.liferay.portal.SystemException {
90          return _scProductEntryLocalService.getSCProductEntriesCount();
91      }
92  
93      public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
94          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
95          throws com.liferay.portal.SystemException {
96          return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
97      }
98  
99      public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
100         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
101         boolean merge) throws com.liferay.portal.SystemException {
102         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry,
103             merge);
104     }
105 
106     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
107         long userId, long plid, java.lang.String name, java.lang.String type,
108         java.lang.String tags, java.lang.String shortDescription,
109         java.lang.String longDescription, java.lang.String pageURL,
110         java.lang.String author, java.lang.String repoGroupId,
111         java.lang.String repoArtifactId, long[] licenseIds,
112         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
113         boolean addCommunityPermissions, boolean addGuestPermissions)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException {
116         return _scProductEntryLocalService.addProductEntry(userId, plid, name,
117             type, tags, shortDescription, longDescription, pageURL, author,
118             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
119             addCommunityPermissions, addGuestPermissions);
120     }
121 
122     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
123         long userId, long plid, java.lang.String name, java.lang.String type,
124         java.lang.String tags, java.lang.String shortDescription,
125         java.lang.String longDescription, java.lang.String pageURL,
126         java.lang.String author, java.lang.String repoGroupId,
127         java.lang.String repoArtifactId, long[] licenseIds,
128         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
129         java.lang.Boolean addCommunityPermissions,
130         java.lang.Boolean addGuestPermissions,
131         java.lang.String[] communityPermissions,
132         java.lang.String[] guestPermissions)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _scProductEntryLocalService.addProductEntry(userId, plid, name,
136             type, tags, shortDescription, longDescription, pageURL, author,
137             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
138             addCommunityPermissions, addGuestPermissions, communityPermissions,
139             guestPermissions);
140     }
141 
142     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
143         long userId, long plid, java.lang.String name, java.lang.String type,
144         java.lang.String tags, java.lang.String shortDescription,
145         java.lang.String longDescription, java.lang.String pageURL,
146         java.lang.String author, java.lang.String repoGroupId,
147         java.lang.String repoArtifactId, long[] licenseIds,
148         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
149         java.lang.String[] communityPermissions,
150         java.lang.String[] guestPermissions)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         return _scProductEntryLocalService.addProductEntry(userId, plid, name,
154             type, tags, shortDescription, longDescription, pageURL, author,
155             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
156             communityPermissions, guestPermissions);
157     }
158 
159     public void addProductEntryResources(long productEntryId,
160         boolean addCommunityPermissions, boolean addGuestPermissions)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         _scProductEntryLocalService.addProductEntryResources(productEntryId,
164             addCommunityPermissions, addGuestPermissions);
165     }
166 
167     public void addProductEntryResources(long productEntryId,
168         java.lang.String[] communityPermissions,
169         java.lang.String[] guestPermissions)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _scProductEntryLocalService.addProductEntryResources(productEntryId,
173             communityPermissions, guestPermissions);
174     }
175 
176     public void addProductEntryResources(
177         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
178         boolean addCommunityPermissions, boolean addGuestPermissions)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _scProductEntryLocalService.addProductEntryResources(productEntry,
182             addCommunityPermissions, addGuestPermissions);
183     }
184 
185     public void addProductEntryResources(
186         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
187         java.lang.String[] communityPermissions,
188         java.lang.String[] guestPermissions)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         _scProductEntryLocalService.addProductEntryResources(productEntry,
192             communityPermissions, guestPermissions);
193     }
194 
195     public void deleteProductEntries(long groupId)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _scProductEntryLocalService.deleteProductEntries(groupId);
199     }
200 
201     public void deleteProductEntry(long productEntryId)
202         throws com.liferay.portal.PortalException,
203             com.liferay.portal.SystemException {
204         _scProductEntryLocalService.deleteProductEntry(productEntryId);
205     }
206 
207     public void deleteProductEntry(
208         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
209         throws com.liferay.portal.PortalException,
210             com.liferay.portal.SystemException {
211         _scProductEntryLocalService.deleteProductEntry(productEntry);
212     }
213 
214     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
215         long groupId, int start, int end)
216         throws com.liferay.portal.SystemException {
217         return _scProductEntryLocalService.getProductEntries(groupId, start, end);
218     }
219 
220     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
221         long groupId, int start, int end,
222         com.liferay.portal.kernel.util.OrderByComparator obc)
223         throws com.liferay.portal.SystemException {
224         return _scProductEntryLocalService.getProductEntries(groupId, start,
225             end, obc);
226     }
227 
228     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
229         long groupId, long userId, int start, int end)
230         throws com.liferay.portal.SystemException {
231         return _scProductEntryLocalService.getProductEntries(groupId, userId,
232             start, end);
233     }
234 
235     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
236         long groupId, long userId, int start, int end,
237         com.liferay.portal.kernel.util.OrderByComparator obc)
238         throws com.liferay.portal.SystemException {
239         return _scProductEntryLocalService.getProductEntries(groupId, userId,
240             start, end, obc);
241     }
242 
243     public int getProductEntriesCount(long groupId)
244         throws com.liferay.portal.SystemException {
245         return _scProductEntryLocalService.getProductEntriesCount(groupId);
246     }
247 
248     public int getProductEntriesCount(long groupId, long userId)
249         throws com.liferay.portal.SystemException {
250         return _scProductEntryLocalService.getProductEntriesCount(groupId,
251             userId);
252     }
253 
254     public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
255         long productEntryId)
256         throws com.liferay.portal.PortalException,
257             com.liferay.portal.SystemException {
258         return _scProductEntryLocalService.getProductEntry(productEntryId);
259     }
260 
261     public java.lang.String getRepositoryXML(long groupId,
262         java.lang.String baseImageURL, java.util.Date oldestDate,
263         int maxNumOfVersions, java.util.Properties repoSettings)
264         throws com.liferay.portal.SystemException {
265         return _scProductEntryLocalService.getRepositoryXML(groupId,
266             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
267     }
268 
269     public java.lang.String getRepositoryXML(long groupId,
270         java.lang.String version, java.lang.String baseImageURL,
271         java.util.Date oldestDate, int maxNumOfVersions,
272         java.util.Properties repoSettings)
273         throws com.liferay.portal.SystemException {
274         return _scProductEntryLocalService.getRepositoryXML(groupId, version,
275             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
276     }
277 
278     public void reIndex(long productEntryId)
279         throws com.liferay.portal.SystemException {
280         _scProductEntryLocalService.reIndex(productEntryId);
281     }
282 
283     public void reIndex(
284         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
285         throws com.liferay.portal.SystemException {
286         _scProductEntryLocalService.reIndex(productEntry);
287     }
288 
289     public void reIndex(java.lang.String[] ids)
290         throws com.liferay.portal.SystemException {
291         _scProductEntryLocalService.reIndex(ids);
292     }
293 
294     public com.liferay.portal.kernel.search.Hits search(long companyId,
295         long groupId, java.lang.String keywords, java.lang.String type,
296         int start, int end) throws com.liferay.portal.SystemException {
297         return _scProductEntryLocalService.search(companyId, groupId, keywords,
298             type, start, end);
299     }
300 
301     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
302         long productEntryId, java.lang.String name, java.lang.String type,
303         java.lang.String tags, java.lang.String shortDescription,
304         java.lang.String longDescription, java.lang.String pageURL,
305         java.lang.String author, java.lang.String repoGroupId,
306         java.lang.String repoArtifactId, long[] licenseIds,
307         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
308         throws com.liferay.portal.PortalException,
309             com.liferay.portal.SystemException {
310         return _scProductEntryLocalService.updateProductEntry(productEntryId,
311             name, type, tags, shortDescription, longDescription, pageURL,
312             author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
313             fullImages);
314     }
315 
316     public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
317         return _scProductEntryLocalService;
318     }
319 
320     private SCProductEntryLocalService _scProductEntryLocalService;
321 }