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