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 7.0.0, replaced by {@link #addLayoutPrototype(Map, Map,
036            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                    com.liferay.portal.service.ServiceContext serviceContext)
044                    throws com.liferay.portal.kernel.exception.PortalException {
045                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
046                            active, serviceContext);
047            }
048    
049            @Override
050            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
051                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
052                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
053                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
054                    throws com.liferay.portal.kernel.exception.PortalException {
055                    return _layoutPrototypeService.addLayoutPrototype(nameMap,
056                            descriptionMap, active, serviceContext);
057            }
058    
059            @Override
060            public void deleteLayoutPrototype(long layoutPrototypeId)
061                    throws com.liferay.portal.kernel.exception.PortalException {
062                    _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
063            }
064    
065            @Override
066            public com.liferay.portal.model.LayoutPrototype fetchLayoutPrototype(
067                    long layoutPrototypeId)
068                    throws com.liferay.portal.kernel.exception.PortalException {
069                    return _layoutPrototypeService.fetchLayoutPrototype(layoutPrototypeId);
070            }
071    
072            @Override
073            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
074                    long layoutPrototypeId)
075                    throws com.liferay.portal.kernel.exception.PortalException {
076                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
077            }
078    
079            /**
080            * Returns the OSGi service identifier.
081            *
082            * @return the OSGi service identifier
083            */
084            @Override
085            public java.lang.String getOSGiServiceIdentifier() {
086                    return _layoutPrototypeService.getOSGiServiceIdentifier();
087            }
088    
089            @Override
090            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
091                    long companyId, java.lang.Boolean active,
092                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.LayoutPrototype> obc)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _layoutPrototypeService.search(companyId, active, obc);
095            }
096    
097            /**
098            * @deprecated As of 7.0.0, replaced by {@link #updateLayoutPrototype(long,
099            Map, Map, boolean, ServiceContext)}
100            */
101            @Deprecated
102            @Override
103            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
104                    long layoutPrototypeId,
105                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
106                    java.lang.String description, boolean active,
107                    com.liferay.portal.service.ServiceContext serviceContext)
108                    throws com.liferay.portal.kernel.exception.PortalException {
109                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
110                            nameMap, description, active, serviceContext);
111            }
112    
113            @Override
114            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
115                    long layoutPrototypeId,
116                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
117                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
118                    boolean active, com.liferay.portal.service.ServiceContext serviceContext)
119                    throws com.liferay.portal.kernel.exception.PortalException {
120                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
121                            nameMap, descriptionMap, active, serviceContext);
122            }
123    
124            @Override
125            public LayoutPrototypeService getWrappedService() {
126                    return _layoutPrototypeService;
127            }
128    
129            @Override
130            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
131                    _layoutPrototypeService = layoutPrototypeService;
132            }
133    
134            private LayoutPrototypeService _layoutPrototypeService;
135    }