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.kernel.exception.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.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _scProductEntryLocalService.deleteSCProductEntry(productEntryId);
56      }
57  
58      public void deleteSCProductEntry(
59          com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
60          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
94              com.liferay.portal.kernel.exception.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)
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _scProductEntryLocalService.getSCProductEntries(start, end);
102     }
103 
104     public int getSCProductEntriesCount()
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _scProductEntryLocalService.getSCProductEntriesCount();
107     }
108 
109     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
110         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
113     }
114 
115     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
116         com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
117         boolean merge)
118         throws com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
132             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
142             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
151             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
160             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
170             com.liferay.portal.kernel.exception.SystemException {
171         _scProductEntryLocalService.addProductEntryResources(productEntry,
172             communityPermissions, guestPermissions);
173     }
174 
175     public void deleteProductEntries(long groupId)
176         throws com.liferay.portal.kernel.exception.PortalException,
177             com.liferay.portal.kernel.exception.SystemException {
178         _scProductEntryLocalService.deleteProductEntries(groupId);
179     }
180 
181     public void deleteProductEntry(long productEntryId)
182         throws com.liferay.portal.kernel.exception.PortalException,
183             com.liferay.portal.kernel.exception.SystemException {
184         _scProductEntryLocalService.deleteProductEntry(productEntryId);
185     }
186 
187     public void deleteProductEntry(
188         com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         _scProductEntryLocalService.deleteProductEntry(productEntry);
192     }
193 
194     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getCompanyProductEntries(
195         long companyId, int start, int end)
196         throws com.liferay.portal.kernel.exception.SystemException {
197         return _scProductEntryLocalService.getCompanyProductEntries(companyId,
198             start, end);
199     }
200 
201     public int getCompanyProductEntriesCount(long companyId)
202         throws com.liferay.portal.kernel.exception.SystemException {
203         return _scProductEntryLocalService.getCompanyProductEntriesCount(companyId);
204     }
205 
206     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
207         long groupId, int start, int end)
208         throws com.liferay.portal.kernel.exception.SystemException {
209         return _scProductEntryLocalService.getProductEntries(groupId, start, end);
210     }
211 
212     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
213         long groupId, int start, int end,
214         com.liferay.portal.kernel.util.OrderByComparator obc)
215         throws com.liferay.portal.kernel.exception.SystemException {
216         return _scProductEntryLocalService.getProductEntries(groupId, start,
217             end, obc);
218     }
219 
220     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
221         long groupId, long userId, int start, int end)
222         throws com.liferay.portal.kernel.exception.SystemException {
223         return _scProductEntryLocalService.getProductEntries(groupId, userId,
224             start, end);
225     }
226 
227     public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
228         long groupId, long userId, int start, int end,
229         com.liferay.portal.kernel.util.OrderByComparator obc)
230         throws com.liferay.portal.kernel.exception.SystemException {
231         return _scProductEntryLocalService.getProductEntries(groupId, userId,
232             start, end, obc);
233     }
234 
235     public int getProductEntriesCount(long groupId)
236         throws com.liferay.portal.kernel.exception.SystemException {
237         return _scProductEntryLocalService.getProductEntriesCount(groupId);
238     }
239 
240     public int getProductEntriesCount(long groupId, long userId)
241         throws com.liferay.portal.kernel.exception.SystemException {
242         return _scProductEntryLocalService.getProductEntriesCount(groupId,
243             userId);
244     }
245 
246     public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
247         long productEntryId)
248         throws com.liferay.portal.kernel.exception.PortalException,
249             com.liferay.portal.kernel.exception.SystemException {
250         return _scProductEntryLocalService.getProductEntry(productEntryId);
251     }
252 
253     public java.lang.String getRepositoryXML(long groupId,
254         java.lang.String baseImageURL, java.util.Date oldestDate,
255         int maxNumOfVersions, java.util.Properties repoSettings)
256         throws com.liferay.portal.kernel.exception.SystemException {
257         return _scProductEntryLocalService.getRepositoryXML(groupId,
258             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
259     }
260 
261     public java.lang.String getRepositoryXML(long groupId,
262         java.lang.String version, java.lang.String baseImageURL,
263         java.util.Date oldestDate, int maxNumOfVersions,
264         java.util.Properties repoSettings)
265         throws com.liferay.portal.kernel.exception.SystemException {
266         return _scProductEntryLocalService.getRepositoryXML(groupId, version,
267             baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
268     }
269 
270     public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
271         long productEntryId, java.lang.String name, java.lang.String type,
272         java.lang.String tags, java.lang.String shortDescription,
273         java.lang.String longDescription, java.lang.String pageURL,
274         java.lang.String author, java.lang.String repoGroupId,
275         java.lang.String repoArtifactId, long[] licenseIds,
276         java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
277         throws com.liferay.portal.kernel.exception.PortalException,
278             com.liferay.portal.kernel.exception.SystemException {
279         return _scProductEntryLocalService.updateProductEntry(productEntryId,
280             name, type, tags, shortDescription, longDescription, pageURL,
281             author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
282             fullImages);
283     }
284 
285     public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
286         return _scProductEntryLocalService;
287     }
288 
289     private SCProductEntryLocalService _scProductEntryLocalService;
290 }