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