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          long plid, java.lang.String name, java.lang.String type,
42          java.lang.String tags, java.lang.String shortDescription,
43          java.lang.String longDescription, java.lang.String pageURL,
44          java.lang.String author, java.lang.String repoGroupId,
45          java.lang.String repoArtifactId, long[] licenseIds,
46          java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
47          boolean addCommunityPermissions, boolean addGuestPermissions)
48          throws com.liferay.portal.PortalException,
49              com.liferay.portal.SystemException, java.rmi.RemoteException {
50          return _scProductEntryService.addProductEntry(plid, name, type, tags,
51              shortDescription, longDescription, pageURL, author, repoGroupId,
52              repoArtifactId, licenseIds, thumbnails, fullImages,
53              addCommunityPermissions, addGuestPermissions);
54      }
55  
56      public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
57          long plid, java.lang.String name, java.lang.String type,
58          java.lang.String tags, java.lang.String shortDescription,
59          java.lang.String longDescription, java.lang.String pageURL,
60          java.lang.String author, java.lang.String repoGroupId,
61          java.lang.String repoArtifactId, long[] licenseIds,
62          java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
63          java.lang.String[] communityPermissions,
64          java.lang.String[] guestPermissions)
65          throws com.liferay.portal.PortalException,
66              com.liferay.portal.SystemException, java.rmi.RemoteException {
67          return _scProductEntryService.addProductEntry(plid, name, type, tags,
68              shortDescription, longDescription, pageURL, author, repoGroupId,
69              repoArtifactId, licenseIds, thumbnails, fullImages,
70              communityPermissions, guestPermissions);
71      }
72  
73      public void deleteProductEntry(long productEntryId)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException, java.rmi.RemoteException {
76          _scProductEntryService.deleteProductEntry(productEntryId);
77      }
78  
79      public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
80          long productEntryId)
81          throws com.liferay.portal.PortalException,
82              com.liferay.portal.SystemException, java.rmi.RemoteException {
83          return _scProductEntryService.getProductEntry(productEntryId);
84      }
85  
86      public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
87          long productEntryId, java.lang.String name, java.lang.String type,
88          java.lang.String tags, java.lang.String shortDescription,
89          java.lang.String longDescription, java.lang.String pageURL,
90          java.lang.String author, java.lang.String repoGroupId,
91          java.lang.String repoArtifactId, long[] licenseIds,
92          java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException, java.rmi.RemoteException {
95          return _scProductEntryService.updateProductEntry(productEntryId, name,
96              type, tags, shortDescription, longDescription, pageURL, author,
97              repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
98      }
99  
100     public SCProductEntryService getWrappedSCProductEntryService() {
101         return _scProductEntryService;
102     }
103 
104     private SCProductEntryService _scProductEntryService;
105 }