001    /**
002     * Copyright (c) 2000-2012 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            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
035                    long groupId, long recordSetId, int displayIndex,
036                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
041                            fields, serviceContext);
042            }
043    
044            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
045                    long groupId, long recordSetId, int displayIndex,
046                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
047                    com.liferay.portal.service.ServiceContext serviceContext)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _ddlRecordService.addRecord(groupId, recordSetId, displayIndex,
051                            fieldsMap, serviceContext);
052            }
053    
054            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
055                    long recordId)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _ddlRecordService.getRecord(recordId);
059            }
060    
061            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
062                    long recordId, boolean majorVersion, int displayIndex,
063                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
064                    boolean mergeFields,
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.updateRecord(recordId, majorVersion,
069                            displayIndex, fields, mergeFields, serviceContext);
070            }
071    
072            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
073                    long recordId, int displayIndex,
074                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
075                    boolean mergeFields,
076                    com.liferay.portal.service.ServiceContext serviceContext)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _ddlRecordService.updateRecord(recordId, displayIndex,
080                            fieldsMap, mergeFields, serviceContext);
081            }
082    
083            /**
084             * @deprecated Renamed to {@link #getWrappedService}
085             */
086            public DDLRecordService getWrappedDDLRecordService() {
087                    return _ddlRecordService;
088            }
089    
090            /**
091             * @deprecated Renamed to {@link #setWrappedService}
092             */
093            public void setWrappedDDLRecordService(DDLRecordService ddlRecordService) {
094                    _ddlRecordService = ddlRecordService;
095            }
096    
097            public DDLRecordService getWrappedService() {
098                    return _ddlRecordService;
099            }
100    
101            public void setWrappedService(DDLRecordService ddlRecordService) {
102                    _ddlRecordService = ddlRecordService;
103            }
104    
105            private DDLRecordService _ddlRecordService;
106    }