001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.flags.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link FlagsEntryService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       FlagsEntryService
026     * @generated
027     */
028    public class FlagsEntryServiceWrapper implements FlagsEntryService,
029            ServiceWrapper<FlagsEntryService> {
030            public FlagsEntryServiceWrapper(FlagsEntryService flagsEntryService) {
031                    _flagsEntryService = flagsEntryService;
032            }
033    
034            public void addEntry(java.lang.String className, long classPK,
035                    java.lang.String reporterEmailAddress, long reportedUserId,
036                    java.lang.String contentTitle, java.lang.String contentURL,
037                    java.lang.String reason,
038                    com.liferay.portal.service.ServiceContext serviceContext) {
039                    _flagsEntryService.addEntry(className, classPK, reporterEmailAddress,
040                            reportedUserId, contentTitle, contentURL, reason, serviceContext);
041            }
042    
043            /**
044             * @deprecated Renamed to {@link #getWrappedService}
045             */
046            public FlagsEntryService getWrappedFlagsEntryService() {
047                    return _flagsEntryService;
048            }
049    
050            /**
051             * @deprecated Renamed to {@link #setWrappedService}
052             */
053            public void setWrappedFlagsEntryService(FlagsEntryService flagsEntryService) {
054                    _flagsEntryService = flagsEntryService;
055            }
056    
057            public FlagsEntryService getWrappedService() {
058                    return _flagsEntryService;
059            }
060    
061            public void setWrappedService(FlagsEntryService flagsEntryService) {
062                    _flagsEntryService = flagsEntryService;
063            }
064    
065            private FlagsEntryService _flagsEntryService;
066    }