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