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     * <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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _ddlRecordSetService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _ddlRecordSetService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addRecordSet(
053                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
054                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
055                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056                    int minDisplayRows, int scope,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _ddlRecordSetService.addRecordSet(groupId, ddmStructureId,
061                            recordSetKey, nameMap, descriptionMap, minDisplayRows, scope,
062                            serviceContext);
063            }
064    
065            public void deleteRecordSet(long recordSetId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _ddlRecordSetService.deleteRecordSet(recordSetId);
069            }
070    
071            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(
072                    long recordSetId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _ddlRecordSetService.getRecordSet(recordSetId);
076            }
077    
078            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateMinDisplayRows(
079                    long recordSetId, int minDisplayRows,
080                    com.liferay.portal.service.ServiceContext serviceContext)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    return _ddlRecordSetService.updateMinDisplayRows(recordSetId,
084                            minDisplayRows, serviceContext);
085            }
086    
087            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
088                    long recordSetId, long ddmStructureId,
089                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
090                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
091                    int minDisplayRows,
092                    com.liferay.portal.service.ServiceContext serviceContext)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _ddlRecordSetService.updateRecordSet(recordSetId,
096                            ddmStructureId, nameMap, descriptionMap, minDisplayRows,
097                            serviceContext);
098            }
099    
100            public com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(
101                    long groupId, long ddmStructureId, java.lang.String recordSetKey,
102                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
103                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
104                    int minDisplayRows,
105                    com.liferay.portal.service.ServiceContext serviceContext)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    return _ddlRecordSetService.updateRecordSet(groupId, ddmStructureId,
109                            recordSetKey, nameMap, descriptionMap, minDisplayRows,
110                            serviceContext);
111            }
112    
113            /**
114             * @deprecated Renamed to {@link #getWrappedService}
115             */
116            public DDLRecordSetService getWrappedDDLRecordSetService() {
117                    return _ddlRecordSetService;
118            }
119    
120            /**
121             * @deprecated Renamed to {@link #setWrappedService}
122             */
123            public void setWrappedDDLRecordSetService(
124                    DDLRecordSetService ddlRecordSetService) {
125                    _ddlRecordSetService = ddlRecordSetService;
126            }
127    
128            public DDLRecordSetService getWrappedService() {
129                    return _ddlRecordSetService;
130            }
131    
132            public void setWrappedService(DDLRecordSetService ddlRecordSetService) {
133                    _ddlRecordSetService = ddlRecordSetService;
134            }
135    
136            private DDLRecordSetService _ddlRecordSetService;
137    }