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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link SCProductEntryService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see SCProductEntryService
024     * @generated
025     */
026    public class SCProductEntryServiceWrapper implements SCProductEntryService,
027            ServiceWrapper<SCProductEntryService> {
028            public SCProductEntryServiceWrapper(
029                    SCProductEntryService scProductEntryService) {
030                    _scProductEntryService = scProductEntryService;
031            }
032    
033            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            @Override
039            public java.lang.String getBeanIdentifier() {
040                    return _scProductEntryService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            @Override
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _scProductEntryService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            @Override
054            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
055                    java.lang.String name, java.lang.String type, java.lang.String tags,
056                    java.lang.String shortDescription, java.lang.String longDescription,
057                    java.lang.String pageURL, java.lang.String author,
058                    java.lang.String repoGroupId, java.lang.String repoArtifactId,
059                    long[] licenseIds, java.util.List<byte[]> thumbnails,
060                    java.util.List<byte[]> fullImages,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _scProductEntryService.addProductEntry(name, type, tags,
065                            shortDescription, longDescription, pageURL, author, repoGroupId,
066                            repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
067            }
068    
069            @Override
070            public void deleteProductEntry(long productEntryId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _scProductEntryService.deleteProductEntry(productEntryId);
074            }
075    
076            @Override
077            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
078                    long productEntryId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _scProductEntryService.getProductEntry(productEntryId);
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                            com.liferay.portal.kernel.exception.SystemException {
094                    return _scProductEntryService.updateProductEntry(productEntryId, name,
095                            type, tags, shortDescription, longDescription, pageURL, author,
096                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
097            }
098    
099            /**
100             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
101             */
102            public SCProductEntryService getWrappedSCProductEntryService() {
103                    return _scProductEntryService;
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
108             */
109            public void setWrappedSCProductEntryService(
110                    SCProductEntryService scProductEntryService) {
111                    _scProductEntryService = scProductEntryService;
112            }
113    
114            @Override
115            public SCProductEntryService getWrappedService() {
116                    return _scProductEntryService;
117            }
118    
119            @Override
120            public void setWrappedService(SCProductEntryService scProductEntryService) {
121                    _scProductEntryService = scProductEntryService;
122            }
123    
124            private SCProductEntryService _scProductEntryService;
125    }