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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DDLRecordService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DDLRecordService
026     * @generated
027     */
028    public class DDLRecordServiceWrapper implements DDLRecordService,
029            ServiceWrapper<DDLRecordService> {
030            public DDLRecordServiceWrapper(DDLRecordService ddlRecordService) {
031                    _ddlRecordService = ddlRecordService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _ddlRecordService.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            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _ddlRecordService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
053                    long groupId, long recordSetId, int displayIndex,
054                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
055                    com.liferay.portal.service.ServiceContext serviceContext)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
059                            fields, serviceContext);
060            }
061    
062            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
063                    long groupId, long recordSetId, int displayIndex,
064                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
065                    com.liferay.portal.service.ServiceContext serviceContext)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
069                            fieldsMap, serviceContext);
070            }
071    
072            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
073                    long recordId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _ddlRecordService.getRecord(recordId);
077            }
078    
079            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
080                    long recordId, boolean majorVersion, int displayIndex,
081                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
082                    boolean mergeFields,
083                    com.liferay.portal.service.ServiceContext serviceContext)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _ddlRecordService.updateRecord(recordId, majorVersion,
087                            displayIndex, fields, mergeFields, serviceContext);
088            }
089    
090            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
091                    long recordId, int displayIndex,
092                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
093                    boolean mergeFields,
094                    com.liferay.portal.service.ServiceContext serviceContext)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _ddlRecordService.updateRecord(recordId, displayIndex,
098                            fieldsMap, mergeFields, serviceContext);
099            }
100    
101            /**
102             * @deprecated Renamed to {@link #getWrappedService}
103             */
104            public DDLRecordService getWrappedDDLRecordService() {
105                    return _ddlRecordService;
106            }
107    
108            /**
109             * @deprecated Renamed to {@link #setWrappedService}
110             */
111            public void setWrappedDDLRecordService(DDLRecordService ddlRecordService) {
112                    _ddlRecordService = ddlRecordService;
113            }
114    
115            public DDLRecordService getWrappedService() {
116                    return _ddlRecordService;
117            }
118    
119            public void setWrappedService(DDLRecordService ddlRecordService) {
120                    _ddlRecordService = ddlRecordService;
121            }
122    
123            private DDLRecordService _ddlRecordService;
124    }