001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link SCProductEntryService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       SCProductEntryService
025     * @generated
026     */
027    public class SCProductEntryServiceWrapper implements SCProductEntryService {
028            public SCProductEntryServiceWrapper(
029                    SCProductEntryService scProductEntryService) {
030                    _scProductEntryService = scProductEntryService;
031            }
032    
033            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
034                    java.lang.String name, java.lang.String type, java.lang.String tags,
035                    java.lang.String shortDescription, java.lang.String longDescription,
036                    java.lang.String pageURL, java.lang.String author,
037                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
038                    long[] licenseIds, java.util.List<byte[]> thumbnails,
039                    java.util.List<byte[]> fullImages,
040                    com.liferay.portal.service.ServiceContext serviceContext)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    return _scProductEntryService.addProductEntry(name, type, tags,
044                            shortDescription, longDescription, pageURL, author, repoGroupId,
045                            repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
046            }
047    
048            public void deleteProductEntry(long productEntryId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    _scProductEntryService.deleteProductEntry(productEntryId);
052            }
053    
054            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
055                    long productEntryId)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _scProductEntryService.getProductEntry(productEntryId);
059            }
060    
061            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
062                    long productEntryId, java.lang.String name, java.lang.String type,
063                    java.lang.String tags, java.lang.String shortDescription,
064                    java.lang.String longDescription, java.lang.String pageURL,
065                    java.lang.String author, java.lang.String repoGroupId,
066                    java.lang.String repoArtifactId, long[] licenseIds,
067                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _scProductEntryService.updateProductEntry(productEntryId, name,
071                            type, tags, shortDescription, longDescription, pageURL, author,
072                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
073            }
074    
075            public SCProductEntryService getWrappedSCProductEntryService() {
076                    return _scProductEntryService;
077            }
078    
079            private SCProductEntryService _scProductEntryService;
080    }