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.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 DDLRecordService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DDLRecordService
026     * @generated
027     */
028    @ProviderType
029    public class DDLRecordServiceWrapper implements DDLRecordService,
030            ServiceWrapper<DDLRecordService> {
031            public DDLRecordServiceWrapper(DDLRecordService ddlRecordService) {
032                    _ddlRecordService = ddlRecordService;
033            }
034    
035            @Override
036            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
037                    long groupId, long recordSetId, int displayIndex,
038                    com.liferay.portlet.dynamicdatamapping.storage.DDMFormValues ddmFormValues,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
042                            ddmFormValues, serviceContext);
043            }
044    
045            @Override
046            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
047                    long groupId, long recordSetId, int displayIndex,
048                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
052                            fields, serviceContext);
053            }
054    
055            @Override
056            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
057                    long groupId, long recordSetId, int displayIndex,
058                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
062                            fieldsMap, serviceContext);
063            }
064    
065            @Override
066            public void deleteRecord(long recordId)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    _ddlRecordService.deleteRecord(recordId);
069            }
070    
071            @Override
072            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecordLocale(
073                    long recordId, java.util.Locale locale,
074                    com.liferay.portal.service.ServiceContext serviceContext)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return _ddlRecordService.deleteRecordLocale(recordId, locale,
077                            serviceContext);
078            }
079    
080            /**
081            * Returns the Spring bean ID for this bean.
082            *
083            * @return the Spring bean ID for this bean
084            */
085            @Override
086            public java.lang.String getBeanIdentifier() {
087                    return _ddlRecordService.getBeanIdentifier();
088            }
089    
090            @Override
091            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
092                    long recordId)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _ddlRecordService.getRecord(recordId);
095            }
096    
097            @Override
098            public void revertRecord(long recordId, java.lang.String version,
099                    com.liferay.portal.service.ServiceContext serviceContext)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    _ddlRecordService.revertRecord(recordId, version, serviceContext);
102            }
103    
104            /**
105            * @deprecated As of 7.0.0, replaced by {@link #revertRecord(long, long,
106            String, ServiceContext)}
107            */
108            @Deprecated
109            @Override
110            public void revertRecordVersion(long recordId, java.lang.String version,
111                    com.liferay.portal.service.ServiceContext serviceContext)
112                    throws com.liferay.portal.kernel.exception.PortalException {
113                    _ddlRecordService.revertRecordVersion(recordId, version, serviceContext);
114            }
115    
116            /**
117            * Sets the Spring bean ID for this bean.
118            *
119            * @param beanIdentifier the Spring bean ID for this bean
120            */
121            @Override
122            public void setBeanIdentifier(java.lang.String beanIdentifier) {
123                    _ddlRecordService.setBeanIdentifier(beanIdentifier);
124            }
125    
126            @Override
127            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
128                    long recordId, int displayIndex,
129                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
130                    boolean mergeFields,
131                    com.liferay.portal.service.ServiceContext serviceContext)
132                    throws com.liferay.portal.kernel.exception.PortalException {
133                    return _ddlRecordService.updateRecord(recordId, displayIndex,
134                            fieldsMap, mergeFields, serviceContext);
135            }
136    
137            @Override
138            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
139                    long recordId, boolean majorVersion, int displayIndex,
140                    com.liferay.portlet.dynamicdatamapping.storage.DDMFormValues ddmFormValues,
141                    com.liferay.portal.service.ServiceContext serviceContext)
142                    throws com.liferay.portal.kernel.exception.PortalException {
143                    return _ddlRecordService.updateRecord(recordId, majorVersion,
144                            displayIndex, ddmFormValues, serviceContext);
145            }
146    
147            @Override
148            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
149                    long recordId, boolean majorVersion, int displayIndex,
150                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
151                    boolean mergeFields,
152                    com.liferay.portal.service.ServiceContext serviceContext)
153                    throws com.liferay.portal.kernel.exception.PortalException {
154                    return _ddlRecordService.updateRecord(recordId, majorVersion,
155                            displayIndex, fields, mergeFields, serviceContext);
156            }
157    
158            /**
159             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
160             */
161            @Deprecated
162            public DDLRecordService getWrappedDDLRecordService() {
163                    return _ddlRecordService;
164            }
165    
166            /**
167             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
168             */
169            @Deprecated
170            public void setWrappedDDLRecordService(DDLRecordService ddlRecordService) {
171                    _ddlRecordService = ddlRecordService;
172            }
173    
174            @Override
175            public DDLRecordService getWrappedService() {
176                    return _ddlRecordService;
177            }
178    
179            @Override
180            public void setWrappedService(DDLRecordService ddlRecordService) {
181                    _ddlRecordService = ddlRecordService;
182            }
183    
184            private DDLRecordService _ddlRecordService;
185    }