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 LayoutBranchService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutBranchService
022     * @generated
023     */
024    public class LayoutBranchServiceWrapper implements LayoutBranchService,
025            ServiceWrapper<LayoutBranchService> {
026            public LayoutBranchServiceWrapper(LayoutBranchService layoutBranchService) {
027                    _layoutBranchService = layoutBranchService;
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 _layoutBranchService.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                    _layoutBranchService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public com.liferay.portal.model.LayoutBranch addLayoutBranch(
052                    long layoutRevisionId, java.lang.String name,
053                    java.lang.String description, boolean master,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _layoutBranchService.addLayoutBranch(layoutRevisionId, name,
058                            description, master, serviceContext);
059            }
060    
061            @Override
062            public void deleteLayoutBranch(long layoutBranchId)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    _layoutBranchService.deleteLayoutBranch(layoutBranchId);
066            }
067    
068            @Override
069            public com.liferay.portal.model.LayoutBranch updateLayoutBranch(
070                    long layoutBranchId, java.lang.String name,
071                    java.lang.String description,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
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            public LayoutBranchService getWrappedLayoutBranchService() {
083                    return _layoutBranchService;
084            }
085    
086            /**
087             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
088             */
089            public void setWrappedLayoutBranchService(
090                    LayoutBranchService layoutBranchService) {
091                    _layoutBranchService = layoutBranchService;
092            }
093    
094            @Override
095            public LayoutBranchService getWrappedService() {
096                    return _layoutBranchService;
097            }
098    
099            @Override
100            public void setWrappedService(LayoutBranchService layoutBranchService) {
101                    _layoutBranchService = layoutBranchService;
102            }
103    
104            private LayoutBranchService _layoutBranchService;
105    }