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