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 BackgroundTaskService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see BackgroundTaskService
022     * @generated
023     */
024    public class BackgroundTaskServiceWrapper implements BackgroundTaskService,
025            ServiceWrapper<BackgroundTaskService> {
026            public BackgroundTaskServiceWrapper(
027                    BackgroundTaskService backgroundTaskService) {
028                    _backgroundTaskService = backgroundTaskService;
029            }
030    
031            /**
032            * Returns the Spring bean ID for this bean.
033            *
034            * @return the Spring bean ID for this bean
035            */
036            @Override
037            public java.lang.String getBeanIdentifier() {
038                    return _backgroundTaskService.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            @Override
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _backgroundTaskService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            @Override
052            public java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId) {
053                    return _backgroundTaskService.getBackgroundTaskStatusJSON(backgroundTaskId);
054            }
055    
056            /**
057             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
058             */
059            public BackgroundTaskService getWrappedBackgroundTaskService() {
060                    return _backgroundTaskService;
061            }
062    
063            /**
064             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
065             */
066            public void setWrappedBackgroundTaskService(
067                    BackgroundTaskService backgroundTaskService) {
068                    _backgroundTaskService = backgroundTaskService;
069            }
070    
071            @Override
072            public BackgroundTaskService getWrappedService() {
073                    return _backgroundTaskService;
074            }
075    
076            @Override
077            public void setWrappedService(BackgroundTaskService backgroundTaskService) {
078                    _backgroundTaskService = backgroundTaskService;
079            }
080    
081            private BackgroundTaskService _backgroundTaskService;
082    }