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 LayoutSetBranchService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetBranchService
024     * @generated
025     */
026    public class LayoutSetBranchServiceWrapper implements LayoutSetBranchService {
027            public LayoutSetBranchServiceWrapper(
028                    LayoutSetBranchService layoutSetBranchService) {
029                    _layoutSetBranchService = layoutSetBranchService;
030            }
031    
032            public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
033                    long groupId, boolean privateLayout, java.lang.String name,
034                    java.lang.String description, boolean master,
035                    long copyLayoutSetBranchId,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _layoutSetBranchService.addLayoutSetBranch(groupId,
040                            privateLayout, name, description, master, copyLayoutSetBranchId,
041                            serviceContext);
042            }
043    
044            public void deleteLayoutSetBranch(long layoutSetBranchId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _layoutSetBranchService.deleteLayoutSetBranch(layoutSetBranchId);
048            }
049    
050            public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
051                    long groupId, boolean privateLayout)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
054                            privateLayout);
055            }
056    
057            public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
058                    long layoutSetBranchId, long mergeLayoutSetBranchId,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _layoutSetBranchService.mergeLayoutSetBranch(layoutSetBranchId,
063                            mergeLayoutSetBranchId, serviceContext);
064            }
065    
066            public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
067                    long groupId, long layoutSetBranchId, java.lang.String name,
068                    java.lang.String description,
069                    com.liferay.portal.service.ServiceContext serviceContext)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
073                            layoutSetBranchId, name, description, serviceContext);
074            }
075    
076            public LayoutSetBranchService getWrappedLayoutSetBranchService() {
077                    return _layoutSetBranchService;
078            }
079    
080            public void setWrappedLayoutSetBranchService(
081                    LayoutSetBranchService layoutSetBranchService) {
082                    _layoutSetBranchService = layoutSetBranchService;
083            }
084    
085            private LayoutSetBranchService _layoutSetBranchService;
086    }