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 Spring bean ID for this bean.
059            *
060            * @return the Spring bean ID for this bean
061            */
062            @Override
063            public java.lang.String getBeanIdentifier() {
064                    return _scProductEntryService.getBeanIdentifier();
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            /**
075            * Sets the Spring bean ID for this bean.
076            *
077            * @param beanIdentifier the Spring bean ID for this bean
078            */
079            @Override
080            public void setBeanIdentifier(java.lang.String beanIdentifier) {
081                    _scProductEntryService.setBeanIdentifier(beanIdentifier);
082            }
083    
084            @Override
085            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
086                    long productEntryId, java.lang.String name, java.lang.String type,
087                    java.lang.String tags, java.lang.String shortDescription,
088                    java.lang.String longDescription, java.lang.String pageURL,
089                    java.lang.String author, java.lang.String repoGroupId,
090                    java.lang.String repoArtifactId, long[] licenseIds,
091                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _scProductEntryService.updateProductEntry(productEntryId, name,
094                            type, tags, shortDescription, longDescription, pageURL, author,
095                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
096            }
097    
098            /**
099             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
100             */
101            @Deprecated
102            public SCProductEntryService getWrappedSCProductEntryService() {
103                    return _scProductEntryService;
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
108             */
109            @Deprecated
110            public void setWrappedSCProductEntryService(
111                    SCProductEntryService scProductEntryService) {
112                    _scProductEntryService = scProductEntryService;
113            }
114    
115            @Override
116            public SCProductEntryService getWrappedService() {
117                    return _scProductEntryService;
118            }
119    
120            @Override
121            public void setWrappedService(SCProductEntryService scProductEntryService) {
122                    _scProductEntryService = scProductEntryService;
123            }
124    
125            private SCProductEntryService _scProductEntryService;
126    }