001    /**
002     * Copyright (c) 2000-2012 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 LayoutBranchService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutBranchService
024     * @generated
025     */
026    public class LayoutBranchServiceWrapper implements LayoutBranchService,
027            ServiceWrapper<LayoutBranchService> {
028            public LayoutBranchServiceWrapper(LayoutBranchService layoutBranchService) {
029                    _layoutBranchService = layoutBranchService;
030            }
031    
032            public com.liferay.portal.model.LayoutBranch addLayoutBranch(
033                    long layoutRevisionId, java.lang.String name,
034                    java.lang.String description, boolean master,
035                    com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _layoutBranchService.addLayoutBranch(layoutRevisionId, name,
039                            description, master, serviceContext);
040            }
041    
042            public void deleteLayoutBranch(long layoutBranchId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _layoutBranchService.deleteLayoutBranch(layoutBranchId);
046            }
047    
048            public com.liferay.portal.model.LayoutBranch updateLayoutBranch(
049                    long layoutBranchId, java.lang.String name,
050                    java.lang.String description,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _layoutBranchService.updateLayoutBranch(layoutBranchId, name,
055                            description, serviceContext);
056            }
057    
058            /**
059             * @deprecated Renamed to {@link #getWrappedService}
060             */
061            public LayoutBranchService getWrappedLayoutBranchService() {
062                    return _layoutBranchService;
063            }
064    
065            /**
066             * @deprecated Renamed to {@link #setWrappedService}
067             */
068            public void setWrappedLayoutBranchService(
069                    LayoutBranchService layoutBranchService) {
070                    _layoutBranchService = layoutBranchService;
071            }
072    
073            public LayoutBranchService getWrappedService() {
074                    return _layoutBranchService;
075            }
076    
077            public void setWrappedService(LayoutBranchService layoutBranchService) {
078                    _layoutBranchService = layoutBranchService;
079            }
080    
081            private LayoutBranchService _layoutBranchService;
082    }