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            @Override
087            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
088                    long layoutPrototypeId)
089                    throws com.liferay.portal.kernel.exception.PortalException {
090                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
091            }
092    
093            /**
094            * Returns the OSGi service identifier.
095            *
096            * @return the OSGi service identifier
097            */
098            @Override
099            public java.lang.String getOSGiServiceIdentifier() {
100                    return _layoutPrototypeService.getOSGiServiceIdentifier();
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            * @deprecated As of 6.2.0, replaced by {@link #updateLayoutPrototype(long,
113            Map, String, boolean, ServiceContext)}
114            */
115            @Deprecated
116            @Override
117            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
118                    long layoutPrototypeId,
119                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
120                    java.lang.String description, boolean active)
121                    throws com.liferay.portal.kernel.exception.PortalException {
122                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
123                            nameMap, description, active);
124            }
125    
126            /**
127            * @deprecated As of 7.0.0, replaced by {@link #updateLayoutPrototype(long,
128            Map, Map, boolean, ServiceContext)}
129            */
130            @Deprecated
131            @Override
132            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
133                    long layoutPrototypeId,
134                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
135                    java.lang.String description, boolean active,
136                    com.liferay.portal.service.ServiceContext serviceContext)
137                    throws com.liferay.portal.kernel.exception.PortalException {
138                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
139                            nameMap, description, active, serviceContext);
140            }
141    
142            @Override
143            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
144                    long layoutPrototypeId,
145                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
146                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
147                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
148                    throws com.liferay.portal.kernel.exception.PortalException {
149                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
150                            nameMap, descriptionMap, active, serviceContext);
151            }
152    
153            @Override
154            public LayoutPrototypeService getWrappedService() {
155                    return _layoutPrototypeService;
156            }
157    
158            @Override
159            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
160                    _layoutPrototypeService = layoutPrototypeService;
161            }
162    
163            private LayoutPrototypeService _layoutPrototypeService;
164    }