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