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.flags.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link FlagsEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see FlagsEntryService
026     * @generated
027     */
028    @ProviderType
029    public class FlagsEntryServiceWrapper implements FlagsEntryService,
030            ServiceWrapper<FlagsEntryService> {
031            public FlagsEntryServiceWrapper(FlagsEntryService flagsEntryService) {
032                    _flagsEntryService = flagsEntryService;
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 _flagsEntryService.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                    _flagsEntryService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public void addEntry(java.lang.String className, long classPK,
057                    java.lang.String reporterEmailAddress, long reportedUserId,
058                    java.lang.String contentTitle, java.lang.String contentURL,
059                    java.lang.String reason,
060                    com.liferay.portal.service.ServiceContext serviceContext) {
061                    _flagsEntryService.addEntry(className, classPK, reporterEmailAddress,
062                            reportedUserId, contentTitle, contentURL, reason, serviceContext);
063            }
064    
065            /**
066             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
067             */
068            public FlagsEntryService getWrappedFlagsEntryService() {
069                    return _flagsEntryService;
070            }
071    
072            /**
073             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
074             */
075            public void setWrappedFlagsEntryService(FlagsEntryService flagsEntryService) {
076                    _flagsEntryService = flagsEntryService;
077            }
078    
079            @Override
080            public FlagsEntryService getWrappedService() {
081                    return _flagsEntryService;
082            }
083    
084            @Override
085            public void setWrappedService(FlagsEntryService flagsEntryService) {
086                    _flagsEntryService = flagsEntryService;
087            }
088    
089            private FlagsEntryService _flagsEntryService;
090    }