001    /**
002     * Copyright (c) 2000-present 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.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link CountryService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see CountryService
024     * @generated
025     */
026    @ProviderType
027    public class CountryServiceWrapper implements CountryService,
028            ServiceWrapper<CountryService> {
029            public CountryServiceWrapper(CountryService countryService) {
030                    _countryService = countryService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.Country addCountry(java.lang.String name,
035                    java.lang.String a2, java.lang.String a3, java.lang.String number,
036                    java.lang.String idd, boolean active)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    return _countryService.addCountry(name, a2, a3, number, idd, active);
039            }
040    
041            @Override
042            public com.liferay.portal.model.Country fetchCountry(long countryId) {
043                    return _countryService.fetchCountry(countryId);
044            }
045    
046            @Override
047            public com.liferay.portal.model.Country fetchCountryByA2(
048                    java.lang.String a2) {
049                    return _countryService.fetchCountryByA2(a2);
050            }
051    
052            @Override
053            public com.liferay.portal.model.Country fetchCountryByA3(
054                    java.lang.String a3) {
055                    return _countryService.fetchCountryByA3(a3);
056            }
057    
058            /**
059            * Returns the Spring bean ID for this bean.
060            *
061            * @return the Spring bean ID for this bean
062            */
063            @Override
064            public java.lang.String getBeanIdentifier() {
065                    return _countryService.getBeanIdentifier();
066            }
067    
068            @Override
069            public java.util.List<com.liferay.portal.model.Country> getCountries() {
070                    return _countryService.getCountries();
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portal.model.Country> getCountries(
075                    boolean active) {
076                    return _countryService.getCountries(active);
077            }
078    
079            @Override
080            public com.liferay.portal.model.Country getCountry(long countryId)
081                    throws com.liferay.portal.kernel.exception.PortalException {
082                    return _countryService.getCountry(countryId);
083            }
084    
085            @Override
086            public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    return _countryService.getCountryByA2(a2);
089            }
090    
091            @Override
092            public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _countryService.getCountryByA3(a3);
095            }
096    
097            @Override
098            public com.liferay.portal.model.Country getCountryByName(
099                    java.lang.String name)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    return _countryService.getCountryByName(name);
102            }
103    
104            /**
105            * Sets the Spring bean ID for this bean.
106            *
107            * @param beanIdentifier the Spring bean ID for this bean
108            */
109            @Override
110            public void setBeanIdentifier(java.lang.String beanIdentifier) {
111                    _countryService.setBeanIdentifier(beanIdentifier);
112            }
113    
114            /**
115             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
116             */
117            @Deprecated
118            public CountryService getWrappedCountryService() {
119                    return _countryService;
120            }
121    
122            /**
123             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
124             */
125            @Deprecated
126            public void setWrappedCountryService(CountryService countryService) {
127                    _countryService = countryService;
128            }
129    
130            @Override
131            public CountryService getWrappedService() {
132                    return _countryService;
133            }
134    
135            @Override
136            public void setWrappedService(CountryService countryService) {
137                    _countryService = countryService;
138            }
139    
140            private CountryService _countryService;
141    }