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.kernel.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.kernel.model.Country addCountry(
035                    java.lang.String name, java.lang.String a2, java.lang.String a3,
036                    java.lang.String number, 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.kernel.model.Country fetchCountry(long countryId) {
043                    return _countryService.fetchCountry(countryId);
044            }
045    
046            @Override
047            public com.liferay.portal.kernel.model.Country fetchCountryByA2(
048                    java.lang.String a2) {
049                    return _countryService.fetchCountryByA2(a2);
050            }
051    
052            @Override
053            public com.liferay.portal.kernel.model.Country fetchCountryByA3(
054                    java.lang.String a3) {
055                    return _countryService.fetchCountryByA3(a3);
056            }
057    
058            @Override
059            public com.liferay.portal.kernel.model.Country getCountry(long countryId)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _countryService.getCountry(countryId);
062            }
063    
064            @Override
065            public com.liferay.portal.kernel.model.Country getCountryByA2(
066                    java.lang.String a2)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _countryService.getCountryByA2(a2);
069            }
070    
071            @Override
072            public com.liferay.portal.kernel.model.Country getCountryByA3(
073                    java.lang.String a3)
074                    throws com.liferay.portal.kernel.exception.PortalException {
075                    return _countryService.getCountryByA3(a3);
076            }
077    
078            @Override
079            public com.liferay.portal.kernel.model.Country getCountryByName(
080                    java.lang.String name)
081                    throws com.liferay.portal.kernel.exception.PortalException {
082                    return _countryService.getCountryByName(name);
083            }
084    
085            /**
086            * Returns the OSGi service identifier.
087            *
088            * @return the OSGi service identifier
089            */
090            @Override
091            public java.lang.String getOSGiServiceIdentifier() {
092                    return _countryService.getOSGiServiceIdentifier();
093            }
094    
095            @Override
096            public java.util.List<com.liferay.portal.kernel.model.Country> getCountries() {
097                    return _countryService.getCountries();
098            }
099    
100            @Override
101            public java.util.List<com.liferay.portal.kernel.model.Country> getCountries(
102                    boolean active) {
103                    return _countryService.getCountries(active);
104            }
105    
106            @Override
107            public CountryService getWrappedService() {
108                    return _countryService;
109            }
110    
111            @Override
112            public void setWrappedService(CountryService countryService) {
113                    _countryService = countryService;
114            }
115    
116            private CountryService _countryService;
117    }