001    /**
002     * Copyright (c) 2000-2012 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    /**
018     * <p>
019     * This class is a wrapper for {@link LayoutSetService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetService
024     * @generated
025     */
026    public class LayoutSetServiceWrapper implements LayoutSetService,
027            ServiceWrapper<LayoutSetService> {
028            public LayoutSetServiceWrapper(LayoutSetService layoutSetService) {
029                    _layoutSetService = layoutSetService;
030            }
031    
032            /**
033            * @deprecated {@link #updateLayoutSetPrototypeLinkEnabled(long, boolean,
034            boolean, String)}
035            */
036            public void updateLayoutSetPrototypeLinkEnabled(long groupId,
037                    boolean privateLayout, boolean layoutSetPrototypeLinkEnabled)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    _layoutSetService.updateLayoutSetPrototypeLinkEnabled(groupId,
041                            privateLayout, layoutSetPrototypeLinkEnabled);
042            }
043    
044            /**
045            * Updates the state of the layout set prototype link.
046            *
047            * <p>
048            * <strong>Important:</strong> Setting
049            * <code>layoutSetPrototypeLinkEnabled</code> to <code>true</code> and
050            * <code>layoutSetPrototypeUuid</code> to <code>null</code> when the layout
051            * set prototype's current uuid is <code>null</code> will result in an
052            * <code>IllegalStateException</code>.
053            * </p>
054            *
055            * @param groupId the primary key of the group
056            * @param privateLayout whether the layout set is private to the group
057            * @param layoutSetPrototypeLinkEnabled whether the layout set prototype is
058            link enabled
059            * @param layoutSetPrototypeUuid the uuid of the layout set prototype to
060            link with
061            * @throws PortalException if a portal exception occurred
062            * @throws SystemException if a system exception occurred
063            */
064            public void updateLayoutSetPrototypeLinkEnabled(long groupId,
065                    boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
066                    java.lang.String layoutSetPrototypeUuid)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _layoutSetService.updateLayoutSetPrototypeLinkEnabled(groupId,
070                            privateLayout, layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
071            }
072    
073            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
074                    java.io.InputStream inputStream)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream);
078            }
079    
080            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
081                    java.io.InputStream inputStream, boolean cleanUpStream)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream,
085                            cleanUpStream);
086            }
087    
088            public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
089                    boolean privateLayout, java.lang.String themeId,
090                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _layoutSetService.updateLookAndFeel(groupId, privateLayout,
094                            themeId, colorSchemeId, css, wapTheme);
095            }
096    
097            public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
098                    boolean privateLayout, java.lang.String settings)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _layoutSetService.updateSettings(groupId, privateLayout, settings);
102            }
103    
104            public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
105                    boolean privateLayout, java.lang.String virtualHost)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    return _layoutSetService.updateVirtualHost(groupId, privateLayout,
109                            virtualHost);
110            }
111    
112            /**
113             * @deprecated Renamed to {@link #getWrappedService}
114             */
115            public LayoutSetService getWrappedLayoutSetService() {
116                    return _layoutSetService;
117            }
118    
119            /**
120             * @deprecated Renamed to {@link #setWrappedService}
121             */
122            public void setWrappedLayoutSetService(LayoutSetService layoutSetService) {
123                    _layoutSetService = layoutSetService;
124            }
125    
126            public LayoutSetService getWrappedService() {
127                    return _layoutSetService;
128            }
129    
130            public void setWrappedService(LayoutSetService layoutSetService) {
131                    _layoutSetService = layoutSetService;
132            }
133    
134            private LayoutSetService _layoutSetService;
135    }