001    /**
002     * Copyright (c) 2000-2010 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.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CountryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CountryService
024     * @generated
025     */
026    public class CountryServiceWrapper implements CountryService {
027            public CountryServiceWrapper(CountryService countryService) {
028                    _countryService = countryService;
029            }
030    
031            public com.liferay.portal.model.Country addCountry(java.lang.String name,
032                    java.lang.String a2, java.lang.String a3, java.lang.String number,
033                    java.lang.String idd, boolean active)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _countryService.addCountry(name, a2, a3, number, idd, active);
037            }
038    
039            public java.util.List<com.liferay.portal.model.Country> getCountries()
040                    throws com.liferay.portal.kernel.exception.SystemException {
041                    return _countryService.getCountries();
042            }
043    
044            public java.util.List<com.liferay.portal.model.Country> getCountries(
045                    boolean active)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _countryService.getCountries(active);
048            }
049    
050            public com.liferay.portal.model.Country getCountry(long countryId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _countryService.getCountry(countryId);
054            }
055    
056            public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _countryService.getCountryByA2(a2);
060            }
061    
062            public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _countryService.getCountryByA3(a3);
066            }
067    
068            public com.liferay.portal.model.Country getCountryByName(
069                    java.lang.String name)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _countryService.getCountryByName(name);
073            }
074    
075            public CountryService getWrappedCountryService() {
076                    return _countryService;
077            }
078    
079            private CountryService _countryService;
080    }