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     * <p>
019     * This class is a wrapper for {@link SCProductEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SCProductEntryService
024     * @generated
025     */
026    public class SCProductEntryServiceWrapper implements SCProductEntryService {
027            public SCProductEntryServiceWrapper(
028                    SCProductEntryService scProductEntryService) {
029                    _scProductEntryService = scProductEntryService;
030            }
031    
032            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
033                    java.lang.String name, java.lang.String type, java.lang.String tags,
034                    java.lang.String shortDescription, java.lang.String longDescription,
035                    java.lang.String pageURL, java.lang.String author,
036                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
037                    long[] licenseIds, java.util.List<byte[]> thumbnails,
038                    java.util.List<byte[]> fullImages,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _scProductEntryService.addProductEntry(name, type, tags,
043                            shortDescription, longDescription, pageURL, author, repoGroupId,
044                            repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
045            }
046    
047            public void deleteProductEntry(long productEntryId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    _scProductEntryService.deleteProductEntry(productEntryId);
051            }
052    
053            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
054                    long productEntryId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _scProductEntryService.getProductEntry(productEntryId);
058            }
059    
060            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
061                    long productEntryId, java.lang.String name, java.lang.String type,
062                    java.lang.String tags, java.lang.String shortDescription,
063                    java.lang.String longDescription, java.lang.String pageURL,
064                    java.lang.String author, java.lang.String repoGroupId,
065                    java.lang.String repoArtifactId, long[] licenseIds,
066                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _scProductEntryService.updateProductEntry(productEntryId, name,
070                            type, tags, shortDescription, longDescription, pageURL, author,
071                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
072            }
073    
074            public SCProductEntryService getWrappedSCProductEntryService() {
075                    return _scProductEntryService;
076            }
077    
078            private SCProductEntryService _scProductEntryService;
079    }