001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLFileEntryTypeService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLFileEntryTypeService
026     * @generated
027     */
028    @ProviderType
029    public class DLFileEntryTypeServiceWrapper implements DLFileEntryTypeService,
030            ServiceWrapper<DLFileEntryTypeService> {
031            public DLFileEntryTypeServiceWrapper(
032                    DLFileEntryTypeService dlFileEntryTypeService) {
033                    _dlFileEntryTypeService = dlFileEntryTypeService;
034            }
035    
036            @Override
037            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
038                    long groupId, java.lang.String fileEntryTypeKey,
039                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
040                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041                    long[] ddmStructureIds,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _dlFileEntryTypeService.addFileEntryType(groupId,
045                            fileEntryTypeKey, nameMap, descriptionMap, ddmStructureIds,
046                            serviceContext);
047            }
048    
049            @Override
050            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
051                    long groupId, java.lang.String name, java.lang.String description,
052                    long[] ddmStructureIds,
053                    com.liferay.portal.service.ServiceContext serviceContext)
054                    throws com.liferay.portal.kernel.exception.PortalException {
055                    return _dlFileEntryTypeService.addFileEntryType(groupId, name,
056                            description, ddmStructureIds, serviceContext);
057            }
058    
059            @Override
060            public void deleteFileEntryType(long fileEntryTypeId)
061                    throws com.liferay.portal.kernel.exception.PortalException {
062                    _dlFileEntryTypeService.deleteFileEntryType(fileEntryTypeId);
063            }
064    
065            @Override
066            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
067                    long fileEntryTypeId)
068                    throws com.liferay.portal.kernel.exception.PortalException {
069                    return _dlFileEntryTypeService.getFileEntryType(fileEntryTypeId);
070            }
071    
072            @Override
073            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
074                    long[] groupIds) {
075                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds);
076            }
077    
078            @Override
079            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
080                    long[] groupIds, int start, int end) {
081                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds, start, end);
082            }
083    
084            @Override
085            public int getFileEntryTypesCount(long[] groupIds) {
086                    return _dlFileEntryTypeService.getFileEntryTypesCount(groupIds);
087            }
088    
089            @Override
090            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
091                    long[] groupIds, long folderId, boolean inherited)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _dlFileEntryTypeService.getFolderFileEntryTypes(groupIds,
094                            folderId, inherited);
095            }
096    
097            /**
098            * Returns the OSGi service identifier.
099            *
100            * @return the OSGi service identifier
101            */
102            @Override
103            public java.lang.String getOSGiServiceIdentifier() {
104                    return _dlFileEntryTypeService.getOSGiServiceIdentifier();
105            }
106    
107            @Override
108            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
109                    long companyId, long[] groupIds, java.lang.String keywords,
110                    boolean includeBasicFileEntryType, int start, int end,
111                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) {
112                    return _dlFileEntryTypeService.search(companyId, groupIds, keywords,
113                            includeBasicFileEntryType, start, end, orderByComparator);
114            }
115    
116            @Override
117            public int searchCount(long companyId, long[] groupIds,
118                    java.lang.String keywords, boolean includeBasicFileEntryType) {
119                    return _dlFileEntryTypeService.searchCount(companyId, groupIds,
120                            keywords, includeBasicFileEntryType);
121            }
122    
123            @Override
124            public void updateFileEntryType(long fileEntryTypeId,
125                    java.lang.String name, java.lang.String description,
126                    long[] ddmStructureIds,
127                    com.liferay.portal.service.ServiceContext serviceContext)
128                    throws com.liferay.portal.kernel.exception.PortalException {
129                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
130                            description, ddmStructureIds, serviceContext);
131            }
132    
133            @Override
134            public void updateFileEntryType(long fileEntryTypeId,
135                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
136                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
137                    long[] ddmStructureIds,
138                    com.liferay.portal.service.ServiceContext serviceContext)
139                    throws com.liferay.portal.kernel.exception.PortalException {
140                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, nameMap,
141                            descriptionMap, ddmStructureIds, serviceContext);
142            }
143    
144            @Override
145            public DLFileEntryTypeService getWrappedService() {
146                    return _dlFileEntryTypeService;
147            }
148    
149            @Override
150            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
151                    _dlFileEntryTypeService = dlFileEntryTypeService;
152            }
153    
154            private DLFileEntryTypeService _dlFileEntryTypeService;
155    }