001    /**
002     * Copyright (c) 2000-present 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 LayoutBranchService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutBranchService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutBranchServiceWrapper implements LayoutBranchService,
028            ServiceWrapper<LayoutBranchService> {
029            public LayoutBranchServiceWrapper(LayoutBranchService layoutBranchService) {
030                    _layoutBranchService = layoutBranchService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.LayoutBranch addLayoutBranch(
035                    long layoutRevisionId, java.lang.String name,
036                    java.lang.String description, boolean master,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _layoutBranchService.addLayoutBranch(layoutRevisionId, name,
040                            description, master, serviceContext);
041            }
042    
043            @Override
044            public void deleteLayoutBranch(long layoutBranchId)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    _layoutBranchService.deleteLayoutBranch(layoutBranchId);
047            }
048    
049            /**
050            * Returns the Spring bean ID for this bean.
051            *
052            * @return the Spring bean ID for this bean
053            */
054            @Override
055            public java.lang.String getBeanIdentifier() {
056                    return _layoutBranchService.getBeanIdentifier();
057            }
058    
059            /**
060            * Sets the Spring bean ID for this bean.
061            *
062            * @param beanIdentifier the Spring bean ID for this bean
063            */
064            @Override
065            public void setBeanIdentifier(java.lang.String beanIdentifier) {
066                    _layoutBranchService.setBeanIdentifier(beanIdentifier);
067            }
068    
069            @Override
070            public com.liferay.portal.model.LayoutBranch updateLayoutBranch(
071                    long layoutBranchId, java.lang.String name,
072                    java.lang.String description,
073                    com.liferay.portal.service.ServiceContext serviceContext)
074                    throws com.liferay.portal.kernel.exception.PortalException {
075                    return _layoutBranchService.updateLayoutBranch(layoutBranchId, name,
076                            description, serviceContext);
077            }
078    
079            /**
080             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
081             */
082            @Deprecated
083            public LayoutBranchService getWrappedLayoutBranchService() {
084                    return _layoutBranchService;
085            }
086    
087            /**
088             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
089             */
090            @Deprecated
091            public void setWrappedLayoutBranchService(
092                    LayoutBranchService layoutBranchService) {
093                    _layoutBranchService = layoutBranchService;
094            }
095    
096            @Override
097            public LayoutBranchService getWrappedService() {
098                    return _layoutBranchService;
099            }
100    
101            @Override
102            public void setWrappedService(LayoutBranchService layoutBranchService) {
103                    _layoutBranchService = layoutBranchService;
104            }
105    
106            private LayoutBranchService _layoutBranchService;
107    }