001    /**
002     * Copyright (c) 2000-2010 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            public RegionServiceWrapper(RegionService regionService) {
028                    _regionService = regionService;
029            }
030    
031            public com.liferay.portal.model.Region addRegion(long countryId,
032                    java.lang.String regionCode, java.lang.String name, boolean active)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    return _regionService.addRegion(countryId, regionCode, name, active);
036            }
037    
038            public java.util.List<com.liferay.portal.model.Region> getRegions()
039                    throws com.liferay.portal.kernel.exception.SystemException {
040                    return _regionService.getRegions();
041            }
042    
043            public java.util.List<com.liferay.portal.model.Region> getRegions(
044                    long countryId)
045                    throws com.liferay.portal.kernel.exception.SystemException {
046                    return _regionService.getRegions(countryId);
047            }
048    
049            public java.util.List<com.liferay.portal.model.Region> getRegions(
050                    boolean active)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    return _regionService.getRegions(active);
053            }
054    
055            public java.util.List<com.liferay.portal.model.Region> getRegions(
056                    long countryId, boolean active)
057                    throws com.liferay.portal.kernel.exception.SystemException {
058                    return _regionService.getRegions(countryId, active);
059            }
060    
061            public com.liferay.portal.model.Region getRegion(long regionId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _regionService.getRegion(regionId);
065            }
066    
067            public RegionService getWrappedRegionService() {
068                    return _regionService;
069            }
070    
071            private RegionService _regionService;
072    }