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 OSGi service identifier.
035            *
036            * @return the OSGi service identifier
037            */
038            @Override
039            public java.lang.String getOSGiServiceIdentifier() {
040                    return _layoutSetService.getOSGiServiceIdentifier();
041            }
042    
043            /**
044            * Updates the state of the layout set prototype link.
045            *
046            * <p>
047            * <strong>Important:</strong> Setting
048            * <code>layoutSetPrototypeLinkEnabled</code> to <code>true</code> and
049            * <code>layoutSetPrototypeUuid</code> to <code>null</code> when the layout
050            * set prototype's current uuid is <code>null</code> will result in an
051            * <code>IllegalStateException</code>.
052            * </p>
053            *
054            * @param groupId the primary key of the group
055            * @param privateLayout whether the layout set is private to the group
056            * @param layoutSetPrototypeLinkEnabled whether the layout set prototype is
057            link enabled
058            * @param layoutSetPrototypeUuid the uuid of the layout set prototype to
059            link with
060            */
061            @Override
062            public void updateLayoutSetPrototypeLinkEnabled(long groupId,
063                    boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
064                    java.lang.String layoutSetPrototypeUuid)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    _layoutSetService.updateLayoutSetPrototypeLinkEnabled(groupId,
067                            privateLayout, layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
068            }
069    
070            @Override
071            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
072                    byte[] bytes)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    _layoutSetService.updateLogo(groupId, privateLayout, logo, bytes);
075            }
076    
077            @Override
078            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
079                    java.io.File file)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    _layoutSetService.updateLogo(groupId, privateLayout, logo, file);
082            }
083    
084            @Override
085            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
086                    java.io.InputStream inputStream)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream);
089            }
090    
091            @Override
092            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
093                    java.io.InputStream inputStream, boolean cleanUpStream)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream,
096                            cleanUpStream);
097            }
098    
099            @Override
100            public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
101                    boolean privateLayout, java.lang.String themeId,
102                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
103                    throws com.liferay.portal.kernel.exception.PortalException {
104                    return _layoutSetService.updateLookAndFeel(groupId, privateLayout,
105                            themeId, colorSchemeId, css, wapTheme);
106            }
107    
108            @Override
109            public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
110                    boolean privateLayout, java.lang.String settings)
111                    throws com.liferay.portal.kernel.exception.PortalException {
112                    return _layoutSetService.updateSettings(groupId, privateLayout, settings);
113            }
114    
115            @Override
116            public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
117                    boolean privateLayout, java.lang.String virtualHost)
118                    throws com.liferay.portal.kernel.exception.PortalException {
119                    return _layoutSetService.updateVirtualHost(groupId, privateLayout,
120                            virtualHost);
121            }
122    
123            @Override
124            public LayoutSetService getWrappedService() {
125                    return _layoutSetService;
126            }
127    
128            @Override
129            public void setWrappedService(LayoutSetService layoutSetService) {
130                    _layoutSetService = layoutSetService;
131            }
132    
133            private LayoutSetService _layoutSetService;
134    }