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="SCProductEntryServiceUtil.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 SCProductEntryService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SCProductEntryService
31   * @generated
32   */
33  public class SCProductEntryServiceWrapper implements SCProductEntryService {
34      public SCProductEntryServiceWrapper(
35          SCProductEntryService scProductEntryService) {
36          _scProductEntryService = scProductEntryService;
37      }
38  
39      public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
40          java.lang.String name, java.lang.String type, java.lang.String tags,
41          java.lang.String shortDescription, java.lang.String longDescription,
42          java.lang.String pageURL, java.lang.String author,
43          java.lang.String repoGroupId, java.lang.String repoArtifactId,
44          long[] licenseIds, java.util.List<byte[]> thumbnails,
45          java.util.List<byte[]> fullImages,
46          com.liferay.portal.service.ServiceContext serviceContext)
47          throws com.liferay.portal.PortalException,
48              com.liferay.portal.SystemException {
49          return _scProductEntryService.addProductEntry(name, type, tags,
50              shortDescription, longDescription, pageURL, author, repoGroupId,
51              repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
52      }
53  
54      public void deleteProductEntry(long productEntryId)
55          throws com.liferay.portal.PortalException,
56              com.liferay.portal.SystemException {
57          _scProductEntryService.deleteProductEntry(productEntryId);
58      }
59  
60      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
61          long productEntryId)
62          throws com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException {
64          return _scProductEntryService.getProductEntry(productEntryId);
65      }
66  
67      public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
68          long productEntryId, java.lang.String name, java.lang.String type,
69          java.lang.String tags, java.lang.String shortDescription,
70          java.lang.String longDescription, java.lang.String pageURL,
71          java.lang.String author, java.lang.String repoGroupId,
72          java.lang.String repoArtifactId, long[] licenseIds,
73          java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException {
76          return _scProductEntryService.updateProductEntry(productEntryId, name,
77              type, tags, shortDescription, longDescription, pageURL, author,
78              repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
79      }
80  
81      public SCProductEntryService getWrappedSCProductEntryService() {
82          return _scProductEntryService;
83      }
84  
85      private SCProductEntryService _scProductEntryService;
86  }