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