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