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.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            ServiceWrapper<CountryService> {
028            public CountryServiceWrapper(CountryService countryService) {
029                    _countryService = countryService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            public java.lang.String getBeanIdentifier() {
038                    return _countryService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _countryService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            public com.liferay.portal.model.Country addCountry(java.lang.String name,
051                    java.lang.String a2, java.lang.String a3, java.lang.String number,
052                    java.lang.String idd, boolean active)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _countryService.addCountry(name, a2, a3, number, idd, active);
056            }
057    
058            public com.liferay.portal.model.Country fetchCountry(long countryId)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _countryService.fetchCountry(countryId);
061            }
062    
063            public com.liferay.portal.model.Country fetchCountryByA2(
064                    java.lang.String a2)
065                    throws com.liferay.portal.kernel.exception.SystemException {
066                    return _countryService.fetchCountryByA2(a2);
067            }
068    
069            public com.liferay.portal.model.Country fetchCountryByA3(
070                    java.lang.String a3)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _countryService.fetchCountryByA3(a3);
073            }
074    
075            public java.util.List<com.liferay.portal.model.Country> getCountries()
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _countryService.getCountries();
078            }
079    
080            public java.util.List<com.liferay.portal.model.Country> getCountries(
081                    boolean active)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _countryService.getCountries(active);
084            }
085    
086            public com.liferay.portal.model.Country getCountry(long countryId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _countryService.getCountry(countryId);
090            }
091    
092            public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _countryService.getCountryByA2(a2);
096            }
097    
098            public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _countryService.getCountryByA3(a3);
102            }
103    
104            public com.liferay.portal.model.Country getCountryByName(
105                    java.lang.String name)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    return _countryService.getCountryByName(name);
109            }
110    
111            /**
112             * @deprecated Renamed to {@link #getWrappedService}
113             */
114            public CountryService getWrappedCountryService() {
115                    return _countryService;
116            }
117    
118            /**
119             * @deprecated Renamed to {@link #setWrappedService}
120             */
121            public void setWrappedCountryService(CountryService countryService) {
122                    _countryService = countryService;
123            }
124    
125            public CountryService getWrappedService() {
126                    return _countryService;
127            }
128    
129            public void setWrappedService(CountryService countryService) {
130                    _countryService = countryService;
131            }
132    
133            private CountryService _countryService;
134    }