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