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