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            @Override
080            public com.liferay.portal.model.LayoutPrototype fetchLayoutPrototype(
081                    long layoutPrototypeId)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _layoutPrototypeService.fetchLayoutPrototype(layoutPrototypeId);
084            }
085    
086            /**
087            * Returns the Spring bean ID for this bean.
088            *
089            * @return the Spring bean ID for this bean
090            */
091            @Override
092            public java.lang.String getBeanIdentifier() {
093                    return _layoutPrototypeService.getBeanIdentifier();
094            }
095    
096            @Override
097            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
098                    long layoutPrototypeId)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
101            }
102    
103            @Override
104            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
105                    long companyId, java.lang.Boolean active,
106                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutPrototype> obc)
107                    throws com.liferay.portal.kernel.exception.PortalException {
108                    return _layoutPrototypeService.search(companyId, active, obc);
109            }
110    
111            /**
112            * Sets the Spring bean ID for this bean.
113            *
114            * @param beanIdentifier the Spring bean ID for this bean
115            */
116            @Override
117            public void setBeanIdentifier(java.lang.String beanIdentifier) {
118                    _layoutPrototypeService.setBeanIdentifier(beanIdentifier);
119            }
120    
121            /**
122            * @deprecated As of 6.2.0, replaced by {@link #updateLayoutPrototype(long,
123            Map, String, boolean, ServiceContext)}
124            */
125            @Deprecated
126            @Override
127            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
128                    long layoutPrototypeId,
129                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
130                    java.lang.String description, boolean active)
131                    throws com.liferay.portal.kernel.exception.PortalException {
132                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
133                            nameMap, description, active);
134            }
135    
136            /**
137            * @deprecated As of 7.0.0, replaced by {@link #updateLayoutPrototype(long,
138            Map, Map, boolean, ServiceContext)}
139            */
140            @Deprecated
141            @Override
142            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
143                    long layoutPrototypeId,
144                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
145                    java.lang.String description, boolean active,
146                    com.liferay.portal.service.ServiceContext serviceContext)
147                    throws com.liferay.portal.kernel.exception.PortalException {
148                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
149                            nameMap, description, active, serviceContext);
150            }
151    
152            @Override
153            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
154                    long layoutPrototypeId,
155                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
156                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
157                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
158                    throws com.liferay.portal.kernel.exception.PortalException {
159                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
160                            nameMap, descriptionMap, active, serviceContext);
161            }
162    
163            /**
164             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
165             */
166            @Deprecated
167            public LayoutPrototypeService getWrappedLayoutPrototypeService() {
168                    return _layoutPrototypeService;
169            }
170    
171            /**
172             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
173             */
174            @Deprecated
175            public void setWrappedLayoutPrototypeService(
176                    LayoutPrototypeService layoutPrototypeService) {
177                    _layoutPrototypeService = layoutPrototypeService;
178            }
179    
180            @Override
181            public LayoutPrototypeService getWrappedService() {
182                    return _layoutPrototypeService;
183            }
184    
185            @Override
186            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
187                    _layoutPrototypeService = layoutPrototypeService;
188            }
189    
190            private LayoutPrototypeService _layoutPrototypeService;
191    }