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 DDLRecordSetService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DDLRecordSetService
026     * @generated
027     */
028    public class DDLRecordSetServiceWrapper implements DDLRecordSetService,
029            ServiceWrapper<DDLRecordSetService> {
030            public DDLRecordSetServiceWrapper(DDLRecordSetService ddlRecordSetService) {
031                    _ddlRecordSetService = ddlRecordSetService;
032            }
033    
034            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addRecordSet(
035                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
036                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
037                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038                    int minDisplayRows, int scope,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _ddlRecordSetService.addRecordSet(groupId, ddmStructureId,
043                            recordSetKey, nameMap, descriptionMap, minDisplayRows, scope,
044                            serviceContext);
045            }
046    
047            public void deleteRecordSet(long recordSetId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    _ddlRecordSetService.deleteRecordSet(recordSetId);
051            }
052    
053            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(
054                    long recordSetId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _ddlRecordSetService.getRecordSet(recordSetId);
058            }
059    
060            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateMinDisplayRows(
061                    long recordSetId, int minDisplayRows,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _ddlRecordSetService.updateMinDisplayRows(recordSetId,
066                            minDisplayRows, serviceContext);
067            }
068    
069            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
070                    long recordSetId, long ddmStructureId,
071                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
072                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
073                    int minDisplayRows,
074                    com.liferay.portal.service.ServiceContext serviceContext)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return _ddlRecordSetService.updateRecordSet(recordSetId,
078                            ddmStructureId, nameMap, descriptionMap, minDisplayRows,
079                            serviceContext);
080            }
081    
082            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
083                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
084                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
085                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
086                    int minDisplayRows,
087                    com.liferay.portal.service.ServiceContext serviceContext)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _ddlRecordSetService.updateRecordSet(groupId, ddmStructureId,
091                            recordSetKey, nameMap, descriptionMap, minDisplayRows,
092                            serviceContext);
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #getWrappedService}
097             */
098            public DDLRecordSetService getWrappedDDLRecordSetService() {
099                    return _ddlRecordSetService;
100            }
101    
102            /**
103             * @deprecated Renamed to {@link #setWrappedService}
104             */
105            public void setWrappedDDLRecordSetService(
106                    DDLRecordSetService ddlRecordSetService) {
107                    _ddlRecordSetService = ddlRecordSetService;
108            }
109    
110            public DDLRecordSetService getWrappedService() {
111                    return _ddlRecordSetService;
112            }
113    
114            public void setWrappedService(DDLRecordSetService ddlRecordSetService) {
115                    _ddlRecordSetService = ddlRecordSetService;
116            }
117    
118            private DDLRecordSetService _ddlRecordSetService;
119    }