001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link SCProductEntryService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       SCProductEntryService
026     * @generated
027     */
028    public class SCProductEntryServiceWrapper implements SCProductEntryService,
029            ServiceWrapper<SCProductEntryService> {
030            public SCProductEntryServiceWrapper(
031                    SCProductEntryService scProductEntryService) {
032                    _scProductEntryService = scProductEntryService;
033            }
034    
035            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
036                    java.lang.String name, java.lang.String type, java.lang.String tags,
037                    java.lang.String shortDescription, java.lang.String longDescription,
038                    java.lang.String pageURL, java.lang.String author,
039                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
040                    long[] licenseIds, java.util.List<byte[]> thumbnails,
041                    java.util.List<byte[]> fullImages,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    return _scProductEntryService.addProductEntry(name, type, tags,
046                            shortDescription, longDescription, pageURL, author, repoGroupId,
047                            repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
048            }
049    
050            public void deleteProductEntry(long productEntryId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _scProductEntryService.deleteProductEntry(productEntryId);
054            }
055    
056            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
057                    long productEntryId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _scProductEntryService.getProductEntry(productEntryId);
061            }
062    
063            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
064                    long productEntryId, java.lang.String name, java.lang.String type,
065                    java.lang.String tags, java.lang.String shortDescription,
066                    java.lang.String longDescription, java.lang.String pageURL,
067                    java.lang.String author, java.lang.String repoGroupId,
068                    java.lang.String repoArtifactId, long[] licenseIds,
069                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _scProductEntryService.updateProductEntry(productEntryId, name,
073                            type, tags, shortDescription, longDescription, pageURL, author,
074                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
075            }
076    
077            /**
078             * @deprecated Renamed to {@link #getWrappedService}
079             */
080            public SCProductEntryService getWrappedSCProductEntryService() {
081                    return _scProductEntryService;
082            }
083    
084            /**
085             * @deprecated Renamed to {@link #setWrappedService}
086             */
087            public void setWrappedSCProductEntryService(
088                    SCProductEntryService scProductEntryService) {
089                    _scProductEntryService = scProductEntryService;
090            }
091    
092            public SCProductEntryService getWrappedService() {
093                    return _scProductEntryService;
094            }
095    
096            public void setWrappedService(SCProductEntryService scProductEntryService) {
097                    _scProductEntryService = scProductEntryService;
098            }
099    
100            private SCProductEntryService _scProductEntryService;
101    }