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