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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link FlagsEntryService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see FlagsEntryService
024     * @generated
025     */
026    public class FlagsEntryServiceWrapper implements FlagsEntryService,
027            ServiceWrapper<FlagsEntryService> {
028            public FlagsEntryServiceWrapper(FlagsEntryService flagsEntryService) {
029                    _flagsEntryService = flagsEntryService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _flagsEntryService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _flagsEntryService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public void addEntry(java.lang.String className, long classPK,
054                    java.lang.String reporterEmailAddress, long reportedUserId,
055                    java.lang.String contentTitle, java.lang.String contentURL,
056                    java.lang.String reason,
057                    com.liferay.portal.service.ServiceContext serviceContext) {
058                    _flagsEntryService.addEntry(className, classPK, reporterEmailAddress,
059                            reportedUserId, contentTitle, contentURL, reason, serviceContext);
060            }
061    
062            /**
063             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
064             */
065            public FlagsEntryService getWrappedFlagsEntryService() {
066                    return _flagsEntryService;
067            }
068    
069            /**
070             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
071             */
072            public void setWrappedFlagsEntryService(FlagsEntryService flagsEntryService) {
073                    _flagsEntryService = flagsEntryService;
074            }
075    
076            @Override
077            public FlagsEntryService getWrappedService() {
078                    return _flagsEntryService;
079            }
080    
081            @Override
082            public void setWrappedService(FlagsEntryService flagsEntryService) {
083                    _flagsEntryService = flagsEntryService;
084            }
085    
086            private FlagsEntryService _flagsEntryService;
087    }