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