001    /**
002     * Copyright (c) 2000-2011 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.portlet.documentlibrary.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileEntryTypeService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileEntryTypeService
026     * @generated
027     */
028    public class DLFileEntryTypeServiceWrapper implements DLFileEntryTypeService,
029            ServiceWrapper<DLFileEntryTypeService> {
030            public DLFileEntryTypeServiceWrapper(
031                    DLFileEntryTypeService dlFileEntryTypeService) {
032                    _dlFileEntryTypeService = dlFileEntryTypeService;
033            }
034    
035            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
036                    long groupId, java.lang.String name, java.lang.String description,
037                    long[] ddmStructureIds,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _dlFileEntryTypeService.addFileEntryType(groupId, name,
042                            description, ddmStructureIds, serviceContext);
043            }
044    
045            public void deleteFileEntryType(long fileEntryTypeId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _dlFileEntryTypeService.deleteFileEntryType(fileEntryTypeId);
049            }
050    
051            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
052                    long fileEntryTypeId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _dlFileEntryTypeService.getFileEntryType(fileEntryTypeId);
056            }
057    
058            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
059                    long[] groupIds)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds);
062            }
063    
064            public int getFileEntryTypesCount(long[] groupIds)
065                    throws com.liferay.portal.kernel.exception.SystemException {
066                    return _dlFileEntryTypeService.getFileEntryTypesCount(groupIds);
067            }
068    
069            public void updateFileEntryType(long fileEntryTypeId,
070                    java.lang.String name, java.lang.String description,
071                    long[] ddmStructureIds,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
076                            description, ddmStructureIds, serviceContext);
077            }
078    
079            /**
080             * @deprecated Renamed to {@link #getWrappedService}
081             */
082            public DLFileEntryTypeService getWrappedDLFileEntryTypeService() {
083                    return _dlFileEntryTypeService;
084            }
085    
086            /**
087             * @deprecated Renamed to {@link #setWrappedService}
088             */
089            public void setWrappedDLFileEntryTypeService(
090                    DLFileEntryTypeService dlFileEntryTypeService) {
091                    _dlFileEntryTypeService = dlFileEntryTypeService;
092            }
093    
094            public DLFileEntryTypeService getWrappedService() {
095                    return _dlFileEntryTypeService;
096            }
097    
098            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
099                    _dlFileEntryTypeService = dlFileEntryTypeService;
100            }
101    
102            private DLFileEntryTypeService _dlFileEntryTypeService;
103    }