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