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