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