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 LayoutSetService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutSetService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutSetServiceWrapper implements LayoutSetService,
028            ServiceWrapper<LayoutSetService> {
029            public LayoutSetServiceWrapper(LayoutSetService layoutSetService) {
030                    _layoutSetService = layoutSetService;
031            }
032    
033            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            @Override
039            public java.lang.String getBeanIdentifier() {
040                    return _layoutSetService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            @Override
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _layoutSetService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            /**
054            * Updates the state of the layout set prototype link.
055            *
056            * <p>
057            * <strong>Important:</strong> Setting
058            * <code>layoutSetPrototypeLinkEnabled</code> to <code>true</code> and
059            * <code>layoutSetPrototypeUuid</code> to <code>null</code> when the layout
060            * set prototype's current uuid is <code>null</code> will result in an
061            * <code>IllegalStateException</code>.
062            * </p>
063            *
064            * @param groupId the primary key of the group
065            * @param privateLayout whether the layout set is private to the group
066            * @param layoutSetPrototypeLinkEnabled whether the layout set prototype is
067            link enabled
068            * @param layoutSetPrototypeUuid the uuid of the layout set prototype to
069            link with
070            * @throws PortalException if a portal exception occurred
071            */
072            @Override
073            public void updateLayoutSetPrototypeLinkEnabled(long groupId,
074                    boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
075                    java.lang.String layoutSetPrototypeUuid)
076                    throws com.liferay.portal.kernel.exception.PortalException {
077                    _layoutSetService.updateLayoutSetPrototypeLinkEnabled(groupId,
078                            privateLayout, layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
079            }
080    
081            @Override
082            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
083                    byte[] bytes)
084                    throws com.liferay.portal.kernel.exception.PortalException {
085                    _layoutSetService.updateLogo(groupId, privateLayout, logo, bytes);
086            }
087    
088            @Override
089            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
090                    java.io.File file)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    _layoutSetService.updateLogo(groupId, privateLayout, logo, file);
093            }
094    
095            @Override
096            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
097                    java.io.InputStream inputStream)
098                    throws com.liferay.portal.kernel.exception.PortalException {
099                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream);
100            }
101    
102            @Override
103            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
104                    java.io.InputStream inputStream, boolean cleanUpStream)
105                    throws com.liferay.portal.kernel.exception.PortalException {
106                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream,
107                            cleanUpStream);
108            }
109    
110            @Override
111            public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
112                    boolean privateLayout, java.lang.String themeId,
113                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
114                    throws com.liferay.portal.kernel.exception.PortalException {
115                    return _layoutSetService.updateLookAndFeel(groupId, privateLayout,
116                            themeId, colorSchemeId, css, wapTheme);
117            }
118    
119            @Override
120            public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
121                    boolean privateLayout, java.lang.String settings)
122                    throws com.liferay.portal.kernel.exception.PortalException {
123                    return _layoutSetService.updateSettings(groupId, privateLayout, settings);
124            }
125    
126            @Override
127            public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
128                    boolean privateLayout, java.lang.String virtualHost)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _layoutSetService.updateVirtualHost(groupId, privateLayout,
131                            virtualHost);
132            }
133    
134            /**
135             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
136             */
137            @Deprecated
138            public LayoutSetService getWrappedLayoutSetService() {
139                    return _layoutSetService;
140            }
141    
142            /**
143             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
144             */
145            @Deprecated
146            public void setWrappedLayoutSetService(LayoutSetService layoutSetService) {
147                    _layoutSetService = layoutSetService;
148            }
149    
150            @Override
151            public LayoutSetService getWrappedService() {
152                    return _layoutSetService;
153            }
154    
155            @Override
156            public void setWrappedService(LayoutSetService layoutSetService) {
157                    _layoutSetService = layoutSetService;
158            }
159    
160            private LayoutSetService _layoutSetService;
161    }