001    /**
002     * Copyright (c) 2000-present 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.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link LayoutPrototypeService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutPrototypeService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutPrototypeServiceWrapper implements LayoutPrototypeService,
028            ServiceWrapper<LayoutPrototypeService> {
029            public LayoutPrototypeServiceWrapper(
030                    LayoutPrototypeService layoutPrototypeService) {
031                    _layoutPrototypeService = layoutPrototypeService;
032            }
033    
034            /**
035            * @deprecated As of 6.2.0, replaced by {@link #addLayoutPrototype(Map,
036            String, boolean, ServiceContext)}
037            */
038            @Deprecated
039            @Override
040            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
041                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
042                    java.lang.String description, boolean active)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
045                            active);
046            }
047    
048            /**
049            * @deprecated As of 7.0.0, replaced by {@link #addLayoutPrototype(Map, Map,
050            boolean, ServiceContext)}
051            */
052            @Deprecated
053            @Override
054            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
055                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
056                    java.lang.String description, boolean active,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
060                            active, serviceContext);
061            }
062    
063            @Override
064            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
065                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
066                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
067                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
068                    throws com.liferay.portal.kernel.exception.PortalException {
069                    return _layoutPrototypeService.addLayoutPrototype(nameMap,
070                            descriptionMap, active, serviceContext);
071            }
072    
073            @Override
074            public void deleteLayoutPrototype(long layoutPrototypeId)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
077            }
078    
079            /**
080            * Returns the Spring bean ID for this bean.
081            *
082            * @return the Spring bean ID for this bean
083            */
084            @Override
085            public java.lang.String getBeanIdentifier() {
086                    return _layoutPrototypeService.getBeanIdentifier();
087            }
088    
089            @Override
090            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
091                    long layoutPrototypeId)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
094            }
095    
096            @Override
097            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
098                    long companyId, java.lang.Boolean active,
099                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutPrototype> obc)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    return _layoutPrototypeService.search(companyId, active, obc);
102            }
103    
104            /**
105            * Sets the Spring bean ID for this bean.
106            *
107            * @param beanIdentifier the Spring bean ID for this bean
108            */
109            @Override
110            public void setBeanIdentifier(java.lang.String beanIdentifier) {
111                    _layoutPrototypeService.setBeanIdentifier(beanIdentifier);
112            }
113    
114            /**
115            * @deprecated As of 6.2.0, replaced by {@link #updateLayoutPrototype(long,
116            Map, String, boolean, ServiceContext)}
117            */
118            @Deprecated
119            @Override
120            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
121                    long layoutPrototypeId,
122                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
123                    java.lang.String description, boolean active)
124                    throws com.liferay.portal.kernel.exception.PortalException {
125                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
126                            nameMap, description, active);
127            }
128    
129            /**
130            * @deprecated As of 7.0.0, replaced by {@link #updateLayoutPrototype(long,
131            Map, Map, boolean, ServiceContext)}
132            */
133            @Deprecated
134            @Override
135            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
136                    long layoutPrototypeId,
137                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
138                    java.lang.String description, boolean active,
139                    com.liferay.portal.service.ServiceContext serviceContext)
140                    throws com.liferay.portal.kernel.exception.PortalException {
141                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
142                            nameMap, description, active, serviceContext);
143            }
144    
145            @Override
146            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
147                    long layoutPrototypeId,
148                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
149                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
150                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
151                    throws com.liferay.portal.kernel.exception.PortalException {
152                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
153                            nameMap, descriptionMap, active, serviceContext);
154            }
155    
156            /**
157             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
158             */
159            @Deprecated
160            public LayoutPrototypeService getWrappedLayoutPrototypeService() {
161                    return _layoutPrototypeService;
162            }
163    
164            /**
165             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
166             */
167            @Deprecated
168            public void setWrappedLayoutPrototypeService(
169                    LayoutPrototypeService layoutPrototypeService) {
170                    _layoutPrototypeService = layoutPrototypeService;
171            }
172    
173            @Override
174            public LayoutPrototypeService getWrappedService() {
175                    return _layoutPrototypeService;
176            }
177    
178            @Override
179            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
180                    _layoutPrototypeService = layoutPrototypeService;
181            }
182    
183            private LayoutPrototypeService _layoutPrototypeService;
184    }