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.polls.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link PollsChoiceService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see PollsChoiceService
026     * @generated
027     */
028    @ProviderType
029    public class PollsChoiceServiceWrapper implements PollsChoiceService,
030            ServiceWrapper<PollsChoiceService> {
031            public PollsChoiceServiceWrapper(PollsChoiceService pollsChoiceService) {
032                    _pollsChoiceService = pollsChoiceService;
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 _pollsChoiceService.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                    _pollsChoiceService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            /**
056             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
057             */
058            public PollsChoiceService getWrappedPollsChoiceService() {
059                    return _pollsChoiceService;
060            }
061    
062            /**
063             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
064             */
065            public void setWrappedPollsChoiceService(
066                    PollsChoiceService pollsChoiceService) {
067                    _pollsChoiceService = pollsChoiceService;
068            }
069    
070            @Override
071            public PollsChoiceService getWrappedService() {
072                    return _pollsChoiceService;
073            }
074    
075            @Override
076            public void setWrappedService(PollsChoiceService pollsChoiceService) {
077                    _pollsChoiceService = pollsChoiceService;
078            }
079    
080            private PollsChoiceService _pollsChoiceService;
081    }