001    /**
002     * Copyright (c) 2000-2011 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 PortletPreferencesService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PortletPreferencesService
024     * @generated
025     */
026    public class PortletPreferencesServiceWrapper
027            implements PortletPreferencesService {
028            public PortletPreferencesServiceWrapper(
029                    PortletPreferencesService portletPreferencesService) {
030                    _portletPreferencesService = portletPreferencesService;
031            }
032    
033            public void deleteArchivedPreferences(long portletItemId)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    _portletPreferencesService.deleteArchivedPreferences(portletItemId);
037            }
038    
039            public void restoreArchivedPreferences(long groupId,
040                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
041                    long portletItemId, javax.portlet.PortletPreferences preferences)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _portletPreferencesService.restoreArchivedPreferences(groupId, layout,
045                            portletId, portletItemId, preferences);
046            }
047    
048            public void restoreArchivedPreferences(long groupId,
049                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
050                    com.liferay.portal.model.PortletItem portletItem,
051                    javax.portlet.PortletPreferences preferences)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _portletPreferencesService.restoreArchivedPreferences(groupId, layout,
055                            portletId, portletItem, preferences);
056            }
057    
058            public void restoreArchivedPreferences(long groupId, java.lang.String name,
059                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
060                    javax.portlet.PortletPreferences preferences)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _portletPreferencesService.restoreArchivedPreferences(groupId, name,
064                            layout, portletId, preferences);
065            }
066    
067            public void updateArchivePreferences(long userId, long groupId,
068                    java.lang.String name, java.lang.String portletId,
069                    javax.portlet.PortletPreferences preferences)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _portletPreferencesService.updateArchivePreferences(userId, groupId,
073                            name, portletId, preferences);
074            }
075    
076            public PortletPreferencesService getWrappedPortletPreferencesService() {
077                    return _portletPreferencesService;
078            }
079    
080            public void setWrappedPortletPreferencesService(
081                    PortletPreferencesService portletPreferencesService) {
082                    _portletPreferencesService = portletPreferencesService;
083            }
084    
085            private PortletPreferencesService _portletPreferencesService;
086    }