1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  /**
18   * <a href="SCProductEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link SCProductEntryLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SCProductEntryLocalService
31   * @generated
32   */
33  public class SCProductEntryLocalServiceWrapper
34      implements SCProductEntryLocalService {
35      public SCProductEntryLocalServiceWrapper(
36          SCProductEntryLocalService scProductEntryLocalService) {
37          _scProductEntryLocalService = scProductEntryLocalService;
38      }
39  
40      public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
41          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
42          throws com.liferay.portal.SystemException {
43          return _scProductEntryLocalService.addSCProductEntry(scProductEntry);
44      }
45  
46      public com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
47          long productEntryId) {
48          return _scProductEntryLocalService.createSCProductEntry(productEntryId);
49      }
50  
51      public void deleteSCProductEntry(long productEntryId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _scProductEntryLocalService.deleteSCProductEntry(productEntryId);
55      }
56  
57      public void deleteSCProductEntry(
58          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
59          throws com.liferay.portal.SystemException {
60          _scProductEntryLocalService.deleteSCProductEntry(scProductEntry);
61      }
62  
63      @SuppressWarnings("rawtypes")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _scProductEntryLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException {
74          return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start, end);
75      }
76  
77      @SuppressWarnings("rawtypes")
78      public java.util.List dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.SystemException {
83          return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start,
84              end, orderByComparator);
85      }
86  
87      public int dynamicQueryCount(
88          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89          throws com.liferay.portal.SystemException {
90          return _scProductEntryLocalService.dynamicQueryCount(dynamicQuery);
91      }
92  
93      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
94          long productEntryId)
95          throws com.liferay.portal.PortalException,
96              com.liferay.portal.SystemException {
97          return _scProductEntryLocalService.getSCProductEntry(productEntryId);
98      }
99  
100     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
101         int start, int end) throws com.liferay.portal.SystemException {
102         return _scProductEntryLocalService.getSCProductEntries(start, end);
103     }
104 
105     public int getSCProductEntriesCount()
106         throws com.liferay.portal.SystemException {
107         return _scProductEntryLocalService.getSCProductEntriesCount();
108     }
109 
110     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
111         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
112         throws com.liferay.portal.SystemException {
113         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
114     }
115 
116     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
117         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
118         boolean merge) throws com.liferay.portal.SystemException {
119         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry,
120             merge);
121     }
122 
123     public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
124         long userId, java.lang.String name, java.lang.String type,
125         java.lang.String tags, java.lang.String shortDescription,
126         java.lang.String longDescription, java.lang.String pageURL,
127         java.lang.String author, java.lang.String repoGroupId,
128         java.lang.String repoArtifactId, long[] licenseIds,
129         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
130         com.liferay.portal.service.ServiceContext serviceContext)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         return _scProductEntryLocalService.addProductEntry(userId, name, type,
134             tags, shortDescription, longDescription, pageURL, author,
135             repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
136             serviceContext);
137     }
138 
139     public void addProductEntryResources(long productEntryId,
140         boolean addCommunityPermissions, boolean addGuestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _scProductEntryLocalService.addProductEntryResources(productEntryId,
144             addCommunityPermissions, addGuestPermissions);
145     }
146 
147     public void addProductEntryResources(long productEntryId,
148         java.lang.String[] communityPermissions,
149         java.lang.String[] guestPermissions)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _scProductEntryLocalService.addProductEntryResources(productEntryId,
153             communityPermissions, guestPermissions);
154     }
155 
156     public void addProductEntryResources(
157         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
158         boolean addCommunityPermissions, boolean addGuestPermissions)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         _scProductEntryLocalService.addProductEntryResources(productEntry,
162             addCommunityPermissions, addGuestPermissions);
163     }
164 
165     public void addProductEntryResources(
166         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
167         java.lang.String[] communityPermissions,
168         java.lang.String[] guestPermissions)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _scProductEntryLocalService.addProductEntryResources(productEntry,
172             communityPermissions, guestPermissions);
173     }
174 
175     public void deleteProductEntries(long groupId)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _scProductEntryLocalService.deleteProductEntries(groupId);
179     }
180 
181     public void deleteProductEntry(long productEntryId)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         _scProductEntryLocalService.deleteProductEntry(productEntryId);
185     }
186 
187     public void deleteProductEntry(
188         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         _scProductEntryLocalService.deleteProductEntry(productEntry);
192     }
193 
194     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
195         long groupId, int start, int end)
196         throws com.liferay.portal.SystemException {
197         return _scProductEntryLocalService.getProductEntries(groupId, start, end);
198     }
199 
200     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
201         long groupId, int start, int end,
202         com.liferay.portal.kernel.util.OrderByComparator obc)
203         throws com.liferay.portal.SystemException {
204         return _scProductEntryLocalService.getProductEntries(groupId, start,
205             end, obc);
206     }
207 
208     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
209         long groupId, long userId, int start, int end)
210         throws com.liferay.portal.SystemException {
211         return _scProductEntryLocalService.getProductEntries(groupId, userId,
212             start, end);
213     }
214 
215     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
216         long groupId, long userId, int start, int end,
217         com.liferay.portal.kernel.util.OrderByComparator obc)
218         throws com.liferay.portal.SystemException {
219         return _scProductEntryLocalService.getProductEntries(groupId, userId,
220             start, end, obc);
221     }
222 
223     public int getProductEntriesCount(long groupId)
224         throws com.liferay.portal.SystemException {
225         return _scProductEntryLocalService.getProductEntriesCount(groupId);
226     }
227 
228     public int getProductEntriesCount(long groupId, long userId)
229         throws com.liferay.portal.SystemException {
230         return _scProductEntryLocalService.getProductEntriesCount(groupId,
231             userId);
232     }
233 
234     public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
235         long productEntryId)
236         throws com.liferay.portal.PortalException,
237             com.liferay.portal.SystemException {
238         return _scProductEntryLocalService.getProductEntry(productEntryId);
239     }
240 
241     public java.lang.String getRepositoryXML(long groupId,
242         java.lang.String baseImageURL, java.util.Date oldestDate,
243         int maxNumOfVersions, java.util.Properties repoSettings)
244         throws com.liferay.portal.SystemException {
245         return _scProductEntryLocalService.getRepositoryXML(groupId,
246             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
247     }
248 
249     public java.lang.String getRepositoryXML(long groupId,
250         java.lang.String version, java.lang.String baseImageURL,
251         java.util.Date oldestDate, int maxNumOfVersions,
252         java.util.Properties repoSettings)
253         throws com.liferay.portal.SystemException {
254         return _scProductEntryLocalService.getRepositoryXML(groupId, version,
255             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
256     }
257 
258     public void reIndex(long productEntryId)
259         throws com.liferay.portal.SystemException {
260         _scProductEntryLocalService.reIndex(productEntryId);
261     }
262 
263     public void reIndex(
264         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
265         throws com.liferay.portal.SystemException {
266         _scProductEntryLocalService.reIndex(productEntry);
267     }
268 
269     public void reIndex(java.lang.String[] ids)
270         throws com.liferay.portal.SystemException {
271         _scProductEntryLocalService.reIndex(ids);
272     }
273 
274     public com.liferay.portal.kernel.search.Hits search(long companyId,
275         long groupId, java.lang.String keywords, java.lang.String type,
276         int start, int end) throws com.liferay.portal.SystemException {
277         return _scProductEntryLocalService.search(companyId, groupId, keywords,
278             type, start, end);
279     }
280 
281     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
282         long productEntryId, java.lang.String name, java.lang.String type,
283         java.lang.String tags, java.lang.String shortDescription,
284         java.lang.String longDescription, java.lang.String pageURL,
285         java.lang.String author, java.lang.String repoGroupId,
286         java.lang.String repoArtifactId, long[] licenseIds,
287         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
288         throws com.liferay.portal.PortalException,
289             com.liferay.portal.SystemException {
290         return _scProductEntryLocalService.updateProductEntry(productEntryId,
291             name, type, tags, shortDescription, longDescription, pageURL,
292             author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
293             fullImages);
294     }
295 
296     public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
297         return _scProductEntryLocalService;
298     }
299 
300     private SCProductEntryLocalService _scProductEntryLocalService;
301 }