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.ratings.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link RatingsEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see RatingsEntryService
026     * @generated
027     */
028    @ProviderType
029    public class RatingsEntryServiceWrapper implements RatingsEntryService,
030            ServiceWrapper<RatingsEntryService> {
031            public RatingsEntryServiceWrapper(RatingsEntryService ratingsEntryService) {
032                    _ratingsEntryService = ratingsEntryService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            @Override
041            public java.lang.String getBeanIdentifier() {
042                    return _ratingsEntryService.getBeanIdentifier();
043            }
044    
045            /**
046            * Sets the Spring bean ID for this bean.
047            *
048            * @param beanIdentifier the Spring bean ID for this bean
049            */
050            @Override
051            public void setBeanIdentifier(java.lang.String beanIdentifier) {
052                    _ratingsEntryService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public void deleteEntry(java.lang.String className, long classPK)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    _ratingsEntryService.deleteEntry(className, classPK);
060            }
061    
062            @Override
063            public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
064                    java.lang.String className, long classPK, double score)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _ratingsEntryService.updateEntry(className, classPK, score);
068            }
069    
070            /**
071             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
072             */
073            public RatingsEntryService getWrappedRatingsEntryService() {
074                    return _ratingsEntryService;
075            }
076    
077            /**
078             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
079             */
080            public void setWrappedRatingsEntryService(
081                    RatingsEntryService ratingsEntryService) {
082                    _ratingsEntryService = ratingsEntryService;
083            }
084    
085            @Override
086            public RatingsEntryService getWrappedService() {
087                    return _ratingsEntryService;
088            }
089    
090            @Override
091            public void setWrappedService(RatingsEntryService ratingsEntryService) {
092                    _ratingsEntryService = ratingsEntryService;
093            }
094    
095            private RatingsEntryService _ratingsEntryService;
096    }