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