001    /**
002     * Copyright (c) 2000-2013 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            /**
037            * Returns the Spring bean ID for this bean.
038            *
039            * @return the Spring bean ID for this bean
040            */
041            @Override
042            public java.lang.String getBeanIdentifier() {
043                    return _scProductEntryService.getBeanIdentifier();
044            }
045    
046            /**
047            * Sets the Spring bean ID for this bean.
048            *
049            * @param beanIdentifier the Spring bean ID for this bean
050            */
051            @Override
052            public void setBeanIdentifier(java.lang.String beanIdentifier) {
053                    _scProductEntryService.setBeanIdentifier(beanIdentifier);
054            }
055    
056            @Override
057            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
058                    java.lang.String name, java.lang.String type, java.lang.String tags,
059                    java.lang.String shortDescription, java.lang.String longDescription,
060                    java.lang.String pageURL, java.lang.String author,
061                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
062                    long[] licenseIds, java.util.List<byte[]> thumbnails,
063                    java.util.List<byte[]> fullImages,
064                    com.liferay.portal.service.ServiceContext serviceContext)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _scProductEntryService.addProductEntry(name, type, tags,
068                            shortDescription, longDescription, pageURL, author, repoGroupId,
069                            repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
070            }
071    
072            @Override
073            public void deleteProductEntry(long productEntryId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    _scProductEntryService.deleteProductEntry(productEntryId);
077            }
078    
079            @Override
080            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
081                    long productEntryId)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _scProductEntryService.getProductEntry(productEntryId);
085            }
086    
087            @Override
088            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
089                    long productEntryId, java.lang.String name, java.lang.String type,
090                    java.lang.String tags, java.lang.String shortDescription,
091                    java.lang.String longDescription, java.lang.String pageURL,
092                    java.lang.String author, java.lang.String repoGroupId,
093                    java.lang.String repoArtifactId, long[] licenseIds,
094                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _scProductEntryService.updateProductEntry(productEntryId, name,
098                            type, tags, shortDescription, longDescription, pageURL, author,
099                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
100            }
101    
102            /**
103             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
104             */
105            public SCProductEntryService getWrappedSCProductEntryService() {
106                    return _scProductEntryService;
107            }
108    
109            /**
110             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
111             */
112            public void setWrappedSCProductEntryService(
113                    SCProductEntryService scProductEntryService) {
114                    _scProductEntryService = scProductEntryService;
115            }
116    
117            @Override
118            public SCProductEntryService getWrappedService() {
119                    return _scProductEntryService;
120            }
121    
122            @Override
123            public void setWrappedService(SCProductEntryService scProductEntryService) {
124                    _scProductEntryService = scProductEntryService;
125            }
126    
127            private SCProductEntryService _scProductEntryService;
128    }