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