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