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