001    /**
002     * Copyright (c) 2000-2013 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            /**
037            * Returns the Spring bean ID for this bean.
038            *
039            * @return the Spring bean ID for this bean
040            */
041            @Override
042            public java.lang.String getBeanIdentifier() {
043                    return _dlFileEntryTypeService.getBeanIdentifier();
044            }
045    
046            /**
047            * Sets the Spring bean ID for this bean.
048            *
049            * @param beanIdentifier the Spring bean ID for this bean
050            */
051            @Override
052            public void setBeanIdentifier(java.lang.String beanIdentifier) {
053                    _dlFileEntryTypeService.setBeanIdentifier(beanIdentifier);
054            }
055    
056            @Override
057            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
058                    long groupId, java.lang.String fileEntryTypeKey,
059                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
060                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
061                    long[] ddmStructureIds,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _dlFileEntryTypeService.addFileEntryType(groupId,
066                            fileEntryTypeKey, nameMap, descriptionMap, ddmStructureIds,
067                            serviceContext);
068            }
069    
070            @Override
071            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
072                    long groupId, java.lang.String name, java.lang.String description,
073                    long[] ddmStructureIds,
074                    com.liferay.portal.service.ServiceContext serviceContext)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return _dlFileEntryTypeService.addFileEntryType(groupId, name,
078                            description, ddmStructureIds, serviceContext);
079            }
080    
081            @Override
082            public void deleteFileEntryType(long fileEntryTypeId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    _dlFileEntryTypeService.deleteFileEntryType(fileEntryTypeId);
086            }
087    
088            @Override
089            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
090                    long fileEntryTypeId)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _dlFileEntryTypeService.getFileEntryType(fileEntryTypeId);
094            }
095    
096            @Override
097            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
098                    long[] groupIds)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds);
101            }
102    
103            @Override
104            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
105                    long[] groupIds, int start, int end)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds, start, end);
108            }
109    
110            @Override
111            public int getFileEntryTypesCount(long[] groupIds)
112                    throws com.liferay.portal.kernel.exception.SystemException {
113                    return _dlFileEntryTypeService.getFileEntryTypesCount(groupIds);
114            }
115    
116            @Override
117            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
118                    long[] groupIds, long folderId, boolean inherited)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _dlFileEntryTypeService.getFolderFileEntryTypes(groupIds,
122                            folderId, inherited);
123            }
124    
125            @Override
126            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
127                    long companyId, long[] groupIds, java.lang.String keywords,
128                    boolean includeBasicFileEntryType, int start, int end,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException {
131                    return _dlFileEntryTypeService.search(companyId, groupIds, keywords,
132                            includeBasicFileEntryType, start, end, orderByComparator);
133            }
134    
135            @Override
136            public int searchCount(long companyId, long[] groupIds,
137                    java.lang.String keywords, boolean includeBasicFileEntryType)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _dlFileEntryTypeService.searchCount(companyId, groupIds,
140                            keywords, includeBasicFileEntryType);
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                            com.liferay.portal.kernel.exception.SystemException {
151                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, nameMap,
152                            descriptionMap, ddmStructureIds, serviceContext);
153            }
154    
155            @Override
156            public void updateFileEntryType(long fileEntryTypeId,
157                    java.lang.String name, java.lang.String description,
158                    long[] ddmStructureIds,
159                    com.liferay.portal.service.ServiceContext serviceContext)
160                    throws com.liferay.portal.kernel.exception.PortalException,
161                            com.liferay.portal.kernel.exception.SystemException {
162                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
163                            description, ddmStructureIds, serviceContext);
164            }
165    
166            /**
167             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
168             */
169            public DLFileEntryTypeService getWrappedDLFileEntryTypeService() {
170                    return _dlFileEntryTypeService;
171            }
172    
173            /**
174             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
175             */
176            public void setWrappedDLFileEntryTypeService(
177                    DLFileEntryTypeService dlFileEntryTypeService) {
178                    _dlFileEntryTypeService = dlFileEntryTypeService;
179            }
180    
181            @Override
182            public DLFileEntryTypeService getWrappedService() {
183                    return _dlFileEntryTypeService;
184            }
185    
186            @Override
187            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
188                    _dlFileEntryTypeService = dlFileEntryTypeService;
189            }
190    
191            private DLFileEntryTypeService _dlFileEntryTypeService;
192    }