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 ListTypeService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ListTypeService
024     * @generated
025     */
026    public class ListTypeServiceWrapper implements ListTypeService {
027            public ListTypeServiceWrapper(ListTypeService listTypeService) {
028                    _listTypeService = listTypeService;
029            }
030    
031            public com.liferay.portal.model.ListType getListType(int listTypeId)
032                    throws com.liferay.portal.kernel.exception.PortalException,
033                            com.liferay.portal.kernel.exception.SystemException {
034                    return _listTypeService.getListType(listTypeId);
035            }
036    
037            public java.util.List<com.liferay.portal.model.ListType> getListTypes(
038                    java.lang.String type)
039                    throws com.liferay.portal.kernel.exception.SystemException {
040                    return _listTypeService.getListTypes(type);
041            }
042    
043            public void validate(int listTypeId, java.lang.String type)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _listTypeService.validate(listTypeId, type);
047            }
048    
049            public void validate(int listTypeId, long classNameId, java.lang.String type)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    _listTypeService.validate(listTypeId, classNameId, type);
053            }
054    
055            public ListTypeService getWrappedListTypeService() {
056                    return _listTypeService;
057            }
058    
059            private ListTypeService _listTypeService;
060    }