001    /**
002     * Copyright (c) 2000-2012 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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
070                    long companyId, long[] groupIds, java.lang.String keywords,
071                    boolean includeBasicFileEntryType, int start, int end,
072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _dlFileEntryTypeService.search(companyId, groupIds, keywords,
075                            includeBasicFileEntryType, start, end, orderByComparator);
076            }
077    
078            public int searchCount(long companyId, long[] groupIds,
079                    java.lang.String keywords, boolean includeBasicFileEntryType)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _dlFileEntryTypeService.searchCount(companyId, groupIds,
082                            keywords, includeBasicFileEntryType);
083            }
084    
085            public void updateFileEntryType(long fileEntryTypeId,
086                    java.lang.String name, java.lang.String description,
087                    long[] ddmStructureIds,
088                    com.liferay.portal.service.ServiceContext serviceContext)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
092                            description, ddmStructureIds, serviceContext);
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #getWrappedService}
097             */
098            public DLFileEntryTypeService getWrappedDLFileEntryTypeService() {
099                    return _dlFileEntryTypeService;
100            }
101    
102            /**
103             * @deprecated Renamed to {@link #setWrappedService}
104             */
105            public void setWrappedDLFileEntryTypeService(
106                    DLFileEntryTypeService dlFileEntryTypeService) {
107                    _dlFileEntryTypeService = dlFileEntryTypeService;
108            }
109    
110            public DLFileEntryTypeService getWrappedService() {
111                    return _dlFileEntryTypeService;
112            }
113    
114            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
115                    _dlFileEntryTypeService = dlFileEntryTypeService;
116            }
117    
118            private DLFileEntryTypeService _dlFileEntryTypeService;
119    }