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 ListTypeService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ListTypeService
024     * @generated
025     */
026    public class ListTypeServiceWrapper implements ListTypeService,
027            ServiceWrapper<ListTypeService> {
028            public ListTypeServiceWrapper(ListTypeService listTypeService) {
029                    _listTypeService = listTypeService;
030            }
031    
032            public com.liferay.portal.model.ListType getListType(int listTypeId)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    return _listTypeService.getListType(listTypeId);
036            }
037    
038            public java.util.List<com.liferay.portal.model.ListType> getListTypes(
039                    java.lang.String type)
040                    throws com.liferay.portal.kernel.exception.SystemException {
041                    return _listTypeService.getListTypes(type);
042            }
043    
044            public void validate(int listTypeId, java.lang.String type)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _listTypeService.validate(listTypeId, type);
048            }
049    
050            public void validate(int listTypeId, long classNameId, java.lang.String type)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _listTypeService.validate(listTypeId, classNameId, type);
054            }
055    
056            /**
057             * @deprecated Renamed to {@link #getWrappedService}
058             */
059            public ListTypeService getWrappedListTypeService() {
060                    return _listTypeService;
061            }
062    
063            /**
064             * @deprecated Renamed to {@link #setWrappedService}
065             */
066            public void setWrappedListTypeService(ListTypeService listTypeService) {
067                    _listTypeService = listTypeService;
068            }
069    
070            public ListTypeService getWrappedService() {
071                    return _listTypeService;
072            }
073    
074            public void setWrappedService(ListTypeService listTypeService) {
075                    _listTypeService = listTypeService;
076            }
077    
078            private ListTypeService _listTypeService;
079    }