001    /**
002     * Copyright (c) 2000-2013 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     * Provides a wrapper for {@link ListTypeService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see ListTypeService
022     * @generated
023     */
024    public class ListTypeServiceWrapper implements ListTypeService,
025            ServiceWrapper<ListTypeService> {
026            public ListTypeServiceWrapper(ListTypeService listTypeService) {
027                    _listTypeService = listTypeService;
028            }
029    
030            /**
031            * Returns the Spring bean ID for this bean.
032            *
033            * @return the Spring bean ID for this bean
034            */
035            @Override
036            public java.lang.String getBeanIdentifier() {
037                    return _listTypeService.getBeanIdentifier();
038            }
039    
040            /**
041            * Sets the Spring bean ID for this bean.
042            *
043            * @param beanIdentifier the Spring bean ID for this bean
044            */
045            @Override
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _listTypeService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public com.liferay.portal.model.ListType getListType(int listTypeId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _listTypeService.getListType(listTypeId);
055            }
056    
057            @Override
058            public java.util.List<com.liferay.portal.model.ListType> getListTypes(
059                    java.lang.String type)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _listTypeService.getListTypes(type);
062            }
063    
064            @Override
065            public void validate(int listTypeId, long classNameId, java.lang.String type)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _listTypeService.validate(listTypeId, classNameId, type);
069            }
070    
071            @Override
072            public void validate(int listTypeId, java.lang.String type)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _listTypeService.validate(listTypeId, type);
076            }
077    
078            /**
079             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
080             */
081            public ListTypeService getWrappedListTypeService() {
082                    return _listTypeService;
083            }
084    
085            /**
086             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
087             */
088            public void setWrappedListTypeService(ListTypeService listTypeService) {
089                    _listTypeService = listTypeService;
090            }
091    
092            @Override
093            public ListTypeService getWrappedService() {
094                    return _listTypeService;
095            }
096    
097            @Override
098            public void setWrappedService(ListTypeService listTypeService) {
099                    _listTypeService = listTypeService;
100            }
101    
102            private ListTypeService _listTypeService;
103    }