001    /**
002     * Copyright (c) 2000-2011 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            public LayoutBranchServiceWrapper(LayoutBranchService layoutBranchService) {
028                    _layoutBranchService = layoutBranchService;
029            }
030    
031            public com.liferay.portal.model.LayoutBranch addLayoutBranch(
032                    long layoutRevisionId, java.lang.String name,
033                    java.lang.String description, boolean master,
034                    com.liferay.portal.service.ServiceContext serviceContext)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _layoutBranchService.addLayoutBranch(layoutRevisionId, name,
038                            description, master, serviceContext);
039            }
040    
041            public void deleteLayoutBranch(long layoutBranchId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _layoutBranchService.deleteLayoutBranch(layoutBranchId);
045            }
046    
047            public com.liferay.portal.model.LayoutBranch updateLayoutBranch(
048                    long layoutBranchId, java.lang.String name,
049                    java.lang.String description,
050                    com.liferay.portal.service.ServiceContext serviceContext)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _layoutBranchService.updateLayoutBranch(layoutBranchId, name,
054                            description, serviceContext);
055            }
056    
057            public LayoutBranchService getWrappedLayoutBranchService() {
058                    return _layoutBranchService;
059            }
060    
061            public void setWrappedLayoutBranchService(
062                    LayoutBranchService layoutBranchService) {
063                    _layoutBranchService = layoutBranchService;
064            }
065    
066            private LayoutBranchService _layoutBranchService;
067    }