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