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     * Provides a wrapper for {@link LayoutSetService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutSetService
022     * @generated
023     */
024    public class LayoutSetServiceWrapper implements LayoutSetService,
025            ServiceWrapper<LayoutSetService> {
026            public LayoutSetServiceWrapper(LayoutSetService layoutSetService) {
027                    _layoutSetService = layoutSetService;
028            }
029    
030            /**
031            * Returns the Spring bean ID for this bean.
032            *
033            * @return the Spring bean ID for this bean
034            */
035            @Override
036            public java.lang.String getBeanIdentifier() {
037                    return _layoutSetService.getBeanIdentifier();
038            }
039    
040            /**
041            * Sets the Spring bean ID for this bean.
042            *
043            * @param beanIdentifier the Spring bean ID for this bean
044            */
045            @Override
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            @Override
071            public void updateLayoutSetPrototypeLinkEnabled(long groupId,
072                    boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
073                    java.lang.String layoutSetPrototypeUuid)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    _layoutSetService.updateLayoutSetPrototypeLinkEnabled(groupId,
077                            privateLayout, layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
078            }
079    
080            @Override
081            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
082                    byte[] bytes)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    _layoutSetService.updateLogo(groupId, privateLayout, logo, bytes);
086            }
087    
088            @Override
089            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
090                    java.io.File file)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    _layoutSetService.updateLogo(groupId, privateLayout, logo, file);
094            }
095    
096            @Override
097            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
098                    java.io.InputStream inputStream)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream);
102            }
103    
104            @Override
105            public void updateLogo(long groupId, boolean privateLayout, boolean logo,
106                    java.io.InputStream inputStream, boolean cleanUpStream)
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException {
109                    _layoutSetService.updateLogo(groupId, privateLayout, logo, inputStream,
110                            cleanUpStream);
111            }
112    
113            @Override
114            public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
115                    boolean privateLayout, java.lang.String themeId,
116                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException {
119                    return _layoutSetService.updateLookAndFeel(groupId, privateLayout,
120                            themeId, colorSchemeId, css, wapTheme);
121            }
122    
123            @Override
124            public com.liferay.portal.model.LayoutSet updateSettings(long groupId,
125                    boolean privateLayout, java.lang.String settings)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _layoutSetService.updateSettings(groupId, privateLayout, settings);
129            }
130    
131            @Override
132            public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
133                    boolean privateLayout, java.lang.String virtualHost)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    return _layoutSetService.updateVirtualHost(groupId, privateLayout,
137                            virtualHost);
138            }
139    
140            /**
141             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
142             */
143            public LayoutSetService getWrappedLayoutSetService() {
144                    return _layoutSetService;
145            }
146    
147            /**
148             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
149             */
150            public void setWrappedLayoutSetService(LayoutSetService layoutSetService) {
151                    _layoutSetService = layoutSetService;
152            }
153    
154            @Override
155            public LayoutSetService getWrappedService() {
156                    return _layoutSetService;
157            }
158    
159            @Override
160            public void setWrappedService(LayoutSetService layoutSetService) {
161                    _layoutSetService = layoutSetService;
162            }
163    
164            private LayoutSetService _layoutSetService;
165    }