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     * Provides a wrapper for {@link DDLRecordSetService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DDLRecordSetService
024     * @generated
025     */
026    public class DDLRecordSetServiceWrapper implements DDLRecordSetService,
027            ServiceWrapper<DDLRecordSetService> {
028            public DDLRecordSetServiceWrapper(DDLRecordSetService ddlRecordSetService) {
029                    _ddlRecordSetService = ddlRecordSetService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _ddlRecordSetService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _ddlRecordSetService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addRecordSet(
054                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
055                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
056                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
057                    int minDisplayRows, int scope,
058                    com.liferay.portal.service.ServiceContext serviceContext)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _ddlRecordSetService.addRecordSet(groupId, ddmStructureId,
062                            recordSetKey, nameMap, descriptionMap, minDisplayRows, scope,
063                            serviceContext);
064            }
065    
066            @Override
067            public void deleteRecordSet(long recordSetId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    _ddlRecordSetService.deleteRecordSet(recordSetId);
071            }
072    
073            @Override
074            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(
075                    long recordSetId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _ddlRecordSetService.getRecordSet(recordSetId);
079            }
080    
081            @Override
082            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateMinDisplayRows(
083                    long recordSetId, 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.updateMinDisplayRows(recordSetId,
088                            minDisplayRows, serviceContext);
089            }
090    
091            @Override
092            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
093                    long recordSetId, long ddmStructureId,
094                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
095                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
096                    int minDisplayRows,
097                    com.liferay.portal.service.ServiceContext serviceContext)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _ddlRecordSetService.updateRecordSet(recordSetId,
101                            ddmStructureId, nameMap, descriptionMap, minDisplayRows,
102                            serviceContext);
103            }
104    
105            @Override
106            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
107                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
108                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
109                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
110                    int minDisplayRows,
111                    com.liferay.portal.service.ServiceContext serviceContext)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _ddlRecordSetService.updateRecordSet(groupId, ddmStructureId,
115                            recordSetKey, nameMap, descriptionMap, minDisplayRows,
116                            serviceContext);
117            }
118    
119            /**
120             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
121             */
122            public DDLRecordSetService getWrappedDDLRecordSetService() {
123                    return _ddlRecordSetService;
124            }
125    
126            /**
127             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
128             */
129            public void setWrappedDDLRecordSetService(
130                    DDLRecordSetService ddlRecordSetService) {
131                    _ddlRecordSetService = ddlRecordSetService;
132            }
133    
134            @Override
135            public DDLRecordSetService getWrappedService() {
136                    return _ddlRecordSetService;
137            }
138    
139            @Override
140            public void setWrappedService(DDLRecordSetService ddlRecordSetService) {
141                    _ddlRecordSetService = ddlRecordSetService;
142            }
143    
144            private DDLRecordSetService _ddlRecordSetService;
145    }