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