001    /**
002     * Copyright (c) 2000-2012 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            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 com.liferay.portal.model.Region getRegion(long regionId)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _regionService.getRegion(regionId);
043            }
044    
045            public java.util.List<com.liferay.portal.model.Region> getRegions()
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _regionService.getRegions();
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)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _regionService.getRegions(countryId);
060            }
061    
062            public java.util.List<com.liferay.portal.model.Region> getRegions(
063                    long countryId, boolean active)
064                    throws com.liferay.portal.kernel.exception.SystemException {
065                    return _regionService.getRegions(countryId, active);
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    }