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            /**
066            * Returns the Spring bean ID for this bean.
067            *
068            * @return the Spring bean ID for this bean
069            */
070            @Override
071            public java.lang.String getBeanIdentifier() {
072                    return _dlFileEntryTypeService.getBeanIdentifier();
073            }
074    
075            @Override
076            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
077                    long fileEntryTypeId)
078                    throws com.liferay.portal.kernel.exception.PortalException {
079                    return _dlFileEntryTypeService.getFileEntryType(fileEntryTypeId);
080            }
081    
082            @Override
083            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
084                    long[] groupIds) {
085                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds);
086            }
087    
088            @Override
089            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
090                    long[] groupIds, int start, int end) {
091                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds, start, end);
092            }
093    
094            @Override
095            public int getFileEntryTypesCount(long[] groupIds) {
096                    return _dlFileEntryTypeService.getFileEntryTypesCount(groupIds);
097            }
098    
099            @Override
100            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
101                    long[] groupIds, long folderId, boolean inherited)
102                    throws com.liferay.portal.kernel.exception.PortalException {
103                    return _dlFileEntryTypeService.getFolderFileEntryTypes(groupIds,
104                            folderId, inherited);
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            /**
124            * Sets the Spring bean ID for this bean.
125            *
126            * @param beanIdentifier the Spring bean ID for this bean
127            */
128            @Override
129            public void setBeanIdentifier(java.lang.String beanIdentifier) {
130                    _dlFileEntryTypeService.setBeanIdentifier(beanIdentifier);
131            }
132    
133            @Override
134            public void updateFileEntryType(long fileEntryTypeId,
135                    java.lang.String name, java.lang.String description,
136                    long[] ddmStructureIds,
137                    com.liferay.portal.service.ServiceContext serviceContext)
138                    throws com.liferay.portal.kernel.exception.PortalException {
139                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
140                            description, ddmStructureIds, serviceContext);
141            }
142    
143            @Override
144            public void updateFileEntryType(long fileEntryTypeId,
145                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
146                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
147                    long[] ddmStructureIds,
148                    com.liferay.portal.service.ServiceContext serviceContext)
149                    throws com.liferay.portal.kernel.exception.PortalException {
150                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, nameMap,
151                            descriptionMap, ddmStructureIds, serviceContext);
152            }
153    
154            /**
155             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
156             */
157            @Deprecated
158            public DLFileEntryTypeService getWrappedDLFileEntryTypeService() {
159                    return _dlFileEntryTypeService;
160            }
161    
162            /**
163             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
164             */
165            @Deprecated
166            public void setWrappedDLFileEntryTypeService(
167                    DLFileEntryTypeService dlFileEntryTypeService) {
168                    _dlFileEntryTypeService = dlFileEntryTypeService;
169            }
170    
171            @Override
172            public DLFileEntryTypeService getWrappedService() {
173                    return _dlFileEntryTypeService;
174            }
175    
176            @Override
177            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
178                    _dlFileEntryTypeService = dlFileEntryTypeService;
179            }
180    
181            private DLFileEntryTypeService _dlFileEntryTypeService;
182    }