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 RegionService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       RegionService
024     * @generated
025     */
026    public class RegionServiceWrapper implements RegionService,
027            ServiceWrapper<RegionService> {
028            public RegionServiceWrapper(RegionService regionService) {
029                    _regionService = regionService;
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 _regionService.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                    _regionService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            public com.liferay.portal.model.Region addRegion(long countryId,
051                    java.lang.String regionCode, java.lang.String name, boolean active)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _regionService.addRegion(countryId, regionCode, name, active);
055            }
056    
057            public com.liferay.portal.model.Region fetchRegion(long countryId,
058                    java.lang.String regionCode)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _regionService.fetchRegion(countryId, regionCode);
061            }
062    
063            public com.liferay.portal.model.Region getRegion(long regionId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _regionService.getRegion(regionId);
067            }
068    
069            public com.liferay.portal.model.Region getRegion(long countryId,
070                    java.lang.String regionCode)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _regionService.getRegion(countryId, regionCode);
074            }
075    
076            public java.util.List<com.liferay.portal.model.Region> getRegions()
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return _regionService.getRegions();
079            }
080    
081            public java.util.List<com.liferay.portal.model.Region> getRegions(
082                    boolean active)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _regionService.getRegions(active);
085            }
086    
087            public java.util.List<com.liferay.portal.model.Region> getRegions(
088                    long countryId)
089                    throws com.liferay.portal.kernel.exception.SystemException {
090                    return _regionService.getRegions(countryId);
091            }
092    
093            public java.util.List<com.liferay.portal.model.Region> getRegions(
094                    long countryId, boolean active)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _regionService.getRegions(countryId, active);
097            }
098    
099            /**
100             * @deprecated Renamed to {@link #getWrappedService}
101             */
102            public RegionService getWrappedRegionService() {
103                    return _regionService;
104            }
105    
106            /**
107             * @deprecated Renamed to {@link #setWrappedService}
108             */
109            public void setWrappedRegionService(RegionService regionService) {
110                    _regionService = regionService;
111            }
112    
113            public RegionService getWrappedService() {
114                    return _regionService;
115            }
116    
117            public void setWrappedService(RegionService regionService) {
118                    _regionService = regionService;
119            }
120    
121            private RegionService _regionService;
122    }