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 java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException {
81          return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.SystemException {
88          return _scProductEntryLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
92          long productEntryId)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _scProductEntryLocalService.getSCProductEntry(productEntryId);
96      }
97  
98      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
99          int start, int end) throws com.liferay.portal.SystemException {
100         return _scProductEntryLocalService.getSCProductEntries(start, end);
101     }
102 
103     public int getSCProductEntriesCount()
104         throws com.liferay.portal.SystemException {
105         return _scProductEntryLocalService.getSCProductEntriesCount();
106     }
107 
108     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
109         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
110         throws com.liferay.portal.SystemException {
111         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
112     }
113 
114     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
115         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry,
118             merge);
119     }
120 
121     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
122         long userId, java.lang.String name, java.lang.String type,
123         java.lang.String tags, java.lang.String shortDescription,
124         java.lang.String longDescription, java.lang.String pageURL,
125         java.lang.String author, java.lang.String repoGroupId,
126         java.lang.String repoArtifactId, long[] licenseIds,
127         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
128         com.liferay.portal.service.ServiceContext serviceContext)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _scProductEntryLocalService.addProductEntry(userId, name, type,
132             tags, shortDescription, longDescription, pageURL, author,
133             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
134             serviceContext);
135     }
136 
137     public void addProductEntryResources(long productEntryId,
138         boolean addCommunityPermissions, boolean addGuestPermissions)
139         throws com.liferay.portal.PortalException,
140             com.liferay.portal.SystemException {
141         _scProductEntryLocalService.addProductEntryResources(productEntryId,
142             addCommunityPermissions, addGuestPermissions);
143     }
144 
145     public void addProductEntryResources(long productEntryId,
146         java.lang.String[] communityPermissions,
147         java.lang.String[] guestPermissions)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         _scProductEntryLocalService.addProductEntryResources(productEntryId,
151             communityPermissions, guestPermissions);
152     }
153 
154     public void addProductEntryResources(
155         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
156         boolean addCommunityPermissions, boolean addGuestPermissions)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _scProductEntryLocalService.addProductEntryResources(productEntry,
160             addCommunityPermissions, addGuestPermissions);
161     }
162 
163     public void addProductEntryResources(
164         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
165         java.lang.String[] communityPermissions,
166         java.lang.String[] guestPermissions)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         _scProductEntryLocalService.addProductEntryResources(productEntry,
170             communityPermissions, guestPermissions);
171     }
172 
173     public void deleteProductEntries(long groupId)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         _scProductEntryLocalService.deleteProductEntries(groupId);
177     }
178 
179     public void deleteProductEntry(long productEntryId)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         _scProductEntryLocalService.deleteProductEntry(productEntryId);
183     }
184 
185     public void deleteProductEntry(
186         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _scProductEntryLocalService.deleteProductEntry(productEntry);
190     }
191 
192     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
193         long groupId, int start, int end)
194         throws com.liferay.portal.SystemException {
195         return _scProductEntryLocalService.getProductEntries(groupId, start, end);
196     }
197 
198     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
199         long groupId, int start, int end,
200         com.liferay.portal.kernel.util.OrderByComparator obc)
201         throws com.liferay.portal.SystemException {
202         return _scProductEntryLocalService.getProductEntries(groupId, start,
203             end, obc);
204     }
205 
206     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
207         long groupId, long userId, int start, int end)
208         throws com.liferay.portal.SystemException {
209         return _scProductEntryLocalService.getProductEntries(groupId, userId,
210             start, end);
211     }
212 
213     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
214         long groupId, long userId, int start, int end,
215         com.liferay.portal.kernel.util.OrderByComparator obc)
216         throws com.liferay.portal.SystemException {
217         return _scProductEntryLocalService.getProductEntries(groupId, userId,
218             start, end, obc);
219     }
220 
221     public int getProductEntriesCount(long groupId)
222         throws com.liferay.portal.SystemException {
223         return _scProductEntryLocalService.getProductEntriesCount(groupId);
224     }
225 
226     public int getProductEntriesCount(long groupId, long userId)
227         throws com.liferay.portal.SystemException {
228         return _scProductEntryLocalService.getProductEntriesCount(groupId,
229             userId);
230     }
231 
232     public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
233         long productEntryId)
234         throws com.liferay.portal.PortalException,
235             com.liferay.portal.SystemException {
236         return _scProductEntryLocalService.getProductEntry(productEntryId);
237     }
238 
239     public java.lang.String getRepositoryXML(long groupId,
240         java.lang.String baseImageURL, java.util.Date oldestDate,
241         int maxNumOfVersions, java.util.Properties repoSettings)
242         throws com.liferay.portal.SystemException {
243         return _scProductEntryLocalService.getRepositoryXML(groupId,
244             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
245     }
246 
247     public java.lang.String getRepositoryXML(long groupId,
248         java.lang.String version, java.lang.String baseImageURL,
249         java.util.Date oldestDate, int maxNumOfVersions,
250         java.util.Properties repoSettings)
251         throws com.liferay.portal.SystemException {
252         return _scProductEntryLocalService.getRepositoryXML(groupId, version,
253             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
254     }
255 
256     public void reIndex(long productEntryId)
257         throws com.liferay.portal.SystemException {
258         _scProductEntryLocalService.reIndex(productEntryId);
259     }
260 
261     public void reIndex(
262         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
263         throws com.liferay.portal.SystemException {
264         _scProductEntryLocalService.reIndex(productEntry);
265     }
266 
267     public void reIndex(java.lang.String[] ids)
268         throws com.liferay.portal.SystemException {
269         _scProductEntryLocalService.reIndex(ids);
270     }
271 
272     public com.liferay.portal.kernel.search.Hits search(long companyId,
273         long groupId, java.lang.String keywords, java.lang.String type,
274         int start, int end) throws com.liferay.portal.SystemException {
275         return _scProductEntryLocalService.search(companyId, groupId, keywords,
276             type, start, end);
277     }
278 
279     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
280         long productEntryId, java.lang.String name, java.lang.String type,
281         java.lang.String tags, java.lang.String shortDescription,
282         java.lang.String longDescription, java.lang.String pageURL,
283         java.lang.String author, java.lang.String repoGroupId,
284         java.lang.String repoArtifactId, long[] licenseIds,
285         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
286         throws com.liferay.portal.PortalException,
287             com.liferay.portal.SystemException {
288         return _scProductEntryLocalService.updateProductEntry(productEntryId,
289             name, type, tags, shortDescription, longDescription, pageURL,
290             author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
291             fullImages);
292     }
293 
294     public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
295         return _scProductEntryLocalService;
296     }
297 
298     private SCProductEntryLocalService _scProductEntryLocalService;
299 }