001    /**
002     * Copyright (c) 2000-2011 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 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            public com.liferay.portal.model.Region addRegion(long countryId,
033                    java.lang.String regionCode, java.lang.String name, boolean active)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _regionService.addRegion(countryId, regionCode, name, active);
037            }
038    
039            public java.util.List<com.liferay.portal.model.Region> getRegions()
040                    throws com.liferay.portal.kernel.exception.SystemException {
041                    return _regionService.getRegions();
042            }
043    
044            public java.util.List<com.liferay.portal.model.Region> getRegions(
045                    long countryId)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _regionService.getRegions(countryId);
048            }
049    
050            public java.util.List<com.liferay.portal.model.Region> getRegions(
051                    boolean active)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    return _regionService.getRegions(active);
054            }
055    
056            public java.util.List<com.liferay.portal.model.Region> getRegions(
057                    long countryId, boolean active)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _regionService.getRegions(countryId, active);
060            }
061    
062            public com.liferay.portal.model.Region getRegion(long regionId)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _regionService.getRegion(regionId);
066            }
067    
068            /**
069             * @deprecated Renamed to {@link #getWrappedService}
070             */
071            public RegionService getWrappedRegionService() {
072                    return _regionService;
073            }
074    
075            /**
076             * @deprecated Renamed to {@link #setWrappedService}
077             */
078            public void setWrappedRegionService(RegionService regionService) {
079                    _regionService = regionService;
080            }
081    
082            public RegionService getWrappedService() {
083                    return _regionService;
084            }
085    
086            public void setWrappedService(RegionService regionService) {
087                    _regionService = regionService;
088            }
089    
090            private RegionService _regionService;
091    }