001    /**
002     * Copyright (c) 2000-present 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            @Override
036            public void addEntry(java.lang.String className, long classPK,
037                    java.lang.String reporterEmailAddress, long reportedUserId,
038                    java.lang.String contentTitle, java.lang.String contentURL,
039                    java.lang.String reason,
040                    com.liferay.portal.service.ServiceContext serviceContext) {
041                    _flagsEntryService.addEntry(className, classPK, reporterEmailAddress,
042                            reportedUserId, contentTitle, contentURL, reason, serviceContext);
043            }
044    
045            /**
046            * Returns the OSGi service identifier.
047            *
048            * @return the OSGi service identifier
049            */
050            @Override
051            public java.lang.String getOSGiServiceIdentifier() {
052                    return _flagsEntryService.getOSGiServiceIdentifier();
053            }
054    
055            /**
056             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
057             */
058            @Deprecated
059            public FlagsEntryService getWrappedFlagsEntryService() {
060                    return _flagsEntryService;
061            }
062    
063            /**
064             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
065             */
066            @Deprecated
067            public void setWrappedFlagsEntryService(FlagsEntryService flagsEntryService) {
068                    _flagsEntryService = flagsEntryService;
069            }
070    
071            @Override
072            public FlagsEntryService getWrappedService() {
073                    return _flagsEntryService;
074            }
075    
076            @Override
077            public void setWrappedService(FlagsEntryService flagsEntryService) {
078                    _flagsEntryService = flagsEntryService;
079            }
080    
081            private FlagsEntryService _flagsEntryService;
082    }