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     * <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            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _dlFileEntryTypeService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _dlFileEntryTypeService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
054                    long groupId, java.lang.String name, java.lang.String description,
055                    long[] ddmStructureIds,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _dlFileEntryTypeService.addFileEntryType(groupId, name,
060                            description, ddmStructureIds, serviceContext);
061            }
062    
063            public void deleteFileEntryType(long fileEntryTypeId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _dlFileEntryTypeService.deleteFileEntryType(fileEntryTypeId);
067            }
068    
069            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
070                    long fileEntryTypeId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _dlFileEntryTypeService.getFileEntryType(fileEntryTypeId);
074            }
075    
076            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
077                    long[] groupIds)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _dlFileEntryTypeService.getFileEntryTypes(groupIds);
080            }
081    
082            public int getFileEntryTypesCount(long[] groupIds)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _dlFileEntryTypeService.getFileEntryTypesCount(groupIds);
085            }
086    
087            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
088                    long companyId, long[] groupIds, java.lang.String keywords,
089                    boolean includeBasicFileEntryType, int start, int end,
090                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _dlFileEntryTypeService.search(companyId, groupIds, keywords,
093                            includeBasicFileEntryType, start, end, orderByComparator);
094            }
095    
096            public int searchCount(long companyId, long[] groupIds,
097                    java.lang.String keywords, boolean includeBasicFileEntryType)
098                    throws com.liferay.portal.kernel.exception.SystemException {
099                    return _dlFileEntryTypeService.searchCount(companyId, groupIds,
100                            keywords, includeBasicFileEntryType);
101            }
102    
103            public void updateFileEntryType(long fileEntryTypeId,
104                    java.lang.String name, java.lang.String description,
105                    long[] ddmStructureIds,
106                    com.liferay.portal.service.ServiceContext serviceContext)
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException {
109                    _dlFileEntryTypeService.updateFileEntryType(fileEntryTypeId, name,
110                            description, ddmStructureIds, serviceContext);
111            }
112    
113            /**
114             * @deprecated Renamed to {@link #getWrappedService}
115             */
116            public DLFileEntryTypeService getWrappedDLFileEntryTypeService() {
117                    return _dlFileEntryTypeService;
118            }
119    
120            /**
121             * @deprecated Renamed to {@link #setWrappedService}
122             */
123            public void setWrappedDLFileEntryTypeService(
124                    DLFileEntryTypeService dlFileEntryTypeService) {
125                    _dlFileEntryTypeService = dlFileEntryTypeService;
126            }
127    
128            public DLFileEntryTypeService getWrappedService() {
129                    return _dlFileEntryTypeService;
130            }
131    
132            public void setWrappedService(DLFileEntryTypeService dlFileEntryTypeService) {
133                    _dlFileEntryTypeService = dlFileEntryTypeService;
134            }
135    
136            private DLFileEntryTypeService _dlFileEntryTypeService;
137    }