001    /**
002     * Copyright (c) 2000-2012 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     * <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    }