001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 updateRecord(
055                    long recordId, boolean majorVersion, int displayIndex,
056                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
057                    boolean mergeFields,
058                    com.liferay.portal.service.ServiceContext serviceContext)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _ddlRecordService.updateRecord(recordId, majorVersion,
062                            displayIndex, fields, mergeFields, serviceContext);
063            }
064    
065            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
066                    long recordId, int displayIndex,
067                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
068                    boolean mergeFields,
069                    com.liferay.portal.service.ServiceContext serviceContext)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _ddlRecordService.updateRecord(recordId, displayIndex,
073                            fieldsMap, mergeFields, serviceContext);
074            }
075    
076            /**
077             * @deprecated Renamed to {@link #getWrappedService}
078             */
079            public DDLRecordService getWrappedDDLRecordService() {
080                    return _ddlRecordService;
081            }
082    
083            /**
084             * @deprecated Renamed to {@link #setWrappedService}
085             */
086            public void setWrappedDDLRecordService(DDLRecordService ddlRecordService) {
087                    _ddlRecordService = ddlRecordService;
088            }
089    
090            public DDLRecordService getWrappedService() {
091                    return _ddlRecordService;
092            }
093    
094            public void setWrappedService(DDLRecordService ddlRecordService) {
095                    _ddlRecordService = ddlRecordService;
096            }
097    
098            private DDLRecordService _ddlRecordService;
099    }