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