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 PortletPreferencesService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PortletPreferencesService
024     * @generated
025     */
026    public class PortletPreferencesServiceWrapper
027            implements PortletPreferencesService,
028                    ServiceWrapper<PortletPreferencesService> {
029            public PortletPreferencesServiceWrapper(
030                    PortletPreferencesService portletPreferencesService) {
031                    _portletPreferencesService = portletPreferencesService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _portletPreferencesService.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            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _portletPreferencesService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public void deleteArchivedPreferences(long portletItemId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _portletPreferencesService.deleteArchivedPreferences(portletItemId);
056            }
057    
058            public void restoreArchivedPreferences(long groupId,
059                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
060                    long portletItemId, javax.portlet.PortletPreferences preferences)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _portletPreferencesService.restoreArchivedPreferences(groupId, layout,
064                            portletId, portletItemId, preferences);
065            }
066    
067            public void restoreArchivedPreferences(long groupId,
068                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
069                    com.liferay.portal.model.PortletItem portletItem,
070                    javax.portlet.PortletPreferences preferences)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _portletPreferencesService.restoreArchivedPreferences(groupId, layout,
074                            portletId, portletItem, preferences);
075            }
076    
077            public void restoreArchivedPreferences(long groupId, java.lang.String name,
078                    com.liferay.portal.model.Layout layout, java.lang.String portletId,
079                    javax.portlet.PortletPreferences preferences)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    _portletPreferencesService.restoreArchivedPreferences(groupId, name,
083                            layout, portletId, preferences);
084            }
085    
086            public void updateArchivePreferences(long userId, long groupId,
087                    java.lang.String name, java.lang.String portletId,
088                    javax.portlet.PortletPreferences preferences)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    _portletPreferencesService.updateArchivePreferences(userId, groupId,
092                            name, portletId, preferences);
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #getWrappedService}
097             */
098            public PortletPreferencesService getWrappedPortletPreferencesService() {
099                    return _portletPreferencesService;
100            }
101    
102            /**
103             * @deprecated Renamed to {@link #setWrappedService}
104             */
105            public void setWrappedPortletPreferencesService(
106                    PortletPreferencesService portletPreferencesService) {
107                    _portletPreferencesService = portletPreferencesService;
108            }
109    
110            public PortletPreferencesService getWrappedService() {
111                    return _portletPreferencesService;
112            }
113    
114            public void setWrappedService(
115                    PortletPreferencesService portletPreferencesService) {
116                    _portletPreferencesService = portletPreferencesService;
117            }
118    
119            private PortletPreferencesService _portletPreferencesService;
120    }