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